GET v1/ProfilePersons/{id}/TopicCodes?sort={sort}

Gets set of active topic codes for a record.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

sort

A comma delimited list of columns to sort by. Field are sorted in ascending order by default. To have a field sort in descending order, preface it with the minus (-) sign.

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of activeTopicCodesOutput
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"
  },
  {
    "topicCodeId": 1,
    "Value": "sample string 2",
    "description": "sample string 3"
  }
]

text/html

Sample:
[{"topicCodeId":1,"Value":"sample string 2","description":"sample string 3"},{"topicCodeId":1,"Value":"sample string 2","description":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfv1_ProfilePersons_ProfilePersonEndpointController.activeTopicCodesOutput 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.activeTopicCodesOutput>
    <Value>sample string 2</Value>
    <description>sample string 3</description>
    <topicCodeId>1</topicCodeId>
  </v1_ProfilePersons_ProfilePersonEndpointController.activeTopicCodesOutput>
  <v1_ProfilePersons_ProfilePersonEndpointController.activeTopicCodesOutput>
    <Value>sample string 2</Value>
    <description>sample string 3</description>
    <topicCodeId>1</topicCodeId>
  </v1_ProfilePersons_ProfilePersonEndpointController.activeTopicCodesOutput>
</ArrayOfv1_ProfilePersons_ProfilePersonEndpointController.activeTopicCodesOutput>