POST v1/ProfilePersons/{id}/TopicCodes

Activates a topic code on a record.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

addTopicCodeInput
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'addTopicCodeInput'.

Response Information

Resource Description

addTopicCodeOutput
NameDescriptionTypeAdditional 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>