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

Gets the allowed set of topic codes for a Lookup.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
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 AllowedTopicCodes
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

description

string

None.

parent

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "description": "sample string 3",
    "parent": 4
  },
  {
    "id": 1,
    "name": "sample string 2",
    "description": "sample string 3",
    "parent": 4
  }
]

text/html

Sample:
[{"id":1,"name":"sample string 2","description":"sample string 3","parent":4},{"id":1,"name":"sample string 2","description":"sample string 3","parent":4}]

application/xml, text/xml

Sample:
<ArrayOfv1_TopicCodes_TopicCodesEndpointController.AllowedTopicCodes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_TopicCodes_TopicCodesEndpoint">
  <v1_TopicCodes_TopicCodesEndpointController.AllowedTopicCodes>
    <description>sample string 3</description>
    <id>1</id>
    <name>sample string 2</name>
    <parent>4</parent>
  </v1_TopicCodes_TopicCodesEndpointController.AllowedTopicCodes>
  <v1_TopicCodes_TopicCodesEndpointController.AllowedTopicCodes>
    <description>sample string 3</description>
    <id>1</id>
    <name>sample string 2</name>
    <parent>4</parent>
  </v1_TopicCodes_TopicCodesEndpointController.AllowedTopicCodes>
</ArrayOfv1_TopicCodes_TopicCodesEndpointController.AllowedTopicCodes>