PUT v1/ProfilePersons/{id}/TopicCodes
Updates the set of active topic codes for a record. The supplied list of topic codes are activated and the other topic codes are deactivated.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
updateTopicCodeInput| Name | Description | Type | Additional information |
|---|---|---|---|
| topicCodeIds | Collection of integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"topicCodeIds": [
1,
2
]
}
text/html
Sample:
{"topicCodeIds":[1,2]}
application/xml, text/xml
Sample:
<v1_ProfilePersons_ProfilePersonEndpointController.updateTopicCodeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint">
<topicCodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</topicCodeIds>
</v1_ProfilePersons_ProfilePersonEndpointController.updateTopicCodeInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of addTopicCodeOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| topicCodeId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"topicCodeId": 1
},
{
"topicCodeId": 1
}
]
text/html
Sample:
[{"topicCodeId":1},{"topicCodeId":1}]
application/xml, text/xml
Sample:
<ArrayOfv1_ProfilePersons_ProfilePersonEndpointController.addTopicCodeOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint">
<v1_ProfilePersons_ProfilePersonEndpointController.addTopicCodeOutput>
<topicCodeId>1</topicCodeId>
</v1_ProfilePersons_ProfilePersonEndpointController.addTopicCodeOutput>
<v1_ProfilePersons_ProfilePersonEndpointController.addTopicCodeOutput>
<topicCodeId>1</topicCodeId>
</v1_ProfilePersons_ProfilePersonEndpointController.addTopicCodeOutput>
</ArrayOfv1_ProfilePersons_ProfilePersonEndpointController.addTopicCodeOutput>