/codes
Changed onUse this endpoint to find Codes available in the current context using a number of filter options.
By default, this endpoint returns 50 records per request. A maximum of 200 records per request is allowed via the $top parameter.
The only valid expansion property is: supportedEntities.
The only valid orderby property is: dateModified.
Request
- Base URLhttps://api.securevan.com/v4
- URLhttps://api.securevan.com/v4/codes
- AuthHTTP basic
Query parameters
Filters to Codes that are searchable or applicable to this comma separated list of Entities
Filters to Codes with names that contain the given input
Filters to Codes that are direct children of the given Code ID
Filters to Codes which match the specified Code Type; must be a Code Type available to the API key, as determined by GET /codeTypes
Optional; comma-delimited list of expansion properties: supportedEntities
Optional; sorts results in ascending (asc) or descending (desc) order by a comma-delimited list of properties: dateModified. Note that a space is required between the property and asc or desc.
Response
200
Example response
{
"items": [
{
"codeId": 20515,
"parentCodeId": 20513,
"name": "Labor",
"codeType": "Tag",
"dateCreated": "2015-04-05T12:59:00Z",
"dateModified": "2015-05-01T09:59:00Z",
"supportedEntities": [
{
"name": "Organizations",
"isSearchable": true
}
]
}
],
"nextPageLink": "https://api.securevan.com:443/v4/codes?parentCodeId=20513&$expand=supportedEntities&$top=1&$skip=1",
"count": 1
}Changes
- info
endpoint added
- info