POST v1/ProfilePersons/{id}/TopicCodes
Activates a topic code on a record.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
addTopicCodeInput| Name | Description | Type | Additional information |
|---|---|---|---|
| topicCodeId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"topicCodeId": 1
}
text/html
Sample:
{"topicCodeId":1}
application/xml, text/xml
Sample:
<v1_ProfilePersons_ProfilePersonEndpointController.addTopicCodeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint"> <topicCodeId>1</topicCodeId> </v1_ProfilePersons_ProfilePersonEndpointController.addTopicCodeInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
addTopicCodeOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| topicCodeId | integer |
None. |
|
| Value | string |
None. |
|
| description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"topicCodeId": 1,
"Value": "sample string 2",
"description": "sample string 3"
}
text/html
Sample:
{"topicCodeId":1,"Value":"sample string 2","description":"sample string 3"}
application/xml, text/xml
Sample:
<v1_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"> <Value>sample string 2</Value> <description>sample string 3</description> <topicCodeId>1</topicCodeId> </v1_ProfilePersons_ProfilePersonEndpointController.addTopicCodeOutput>