GET api/contacttags/{id}
Get a ContactTag by id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ContactTagDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
The primary key of the record in the Hobsons database. Ignored for POST requests sent to the API. |
integer |
None. |
CrmNumber |
A reference to the primary key of the Contact record that is associated with this record. |
integer |
Required Range: inclusive between 1 and 2147483647 |
TagId |
A reference to the primary key of the Tag record that is associated with this record. |
integer |
Required Range: inclusive between 1 and 99999999 |
TagName |
The name of the Tag record that is associated with this record. Ignored for POST requests sent to the API. |
string |
None. |
TagTypeId |
A reference to the primary key of the TagType record that is associated with the Tag record. Ignored for POST requests sent to the API. |
integer |
None. |
TagTypeName |
The name of the TagType record that is associated with the Tag record. Ignored for POST requests sent to the API. |
string |
None. |
DateCreated |
The date that the ContactTag record was created, i.e. the date that a Tag record was associated with a Contact record. Ignored for POST requests sent to the API. |
date |
None. |
TagDate |
If not provided for POST requests, defaults to current date time. |
date |
Range: inclusive between 1 Jan 1900 and 31 Dec 2099 |
Response Formats
application/json, text/json
{ "Id": 1, "CrmNumber": 2, "TagId": 3, "TagName": "sample string 4", "TagTypeId": 5, "TagTypeName": "sample string 6", "DateCreated": "2025-01-22T21:57:24.7602279+11:00", "TagDate": "2025-01-22T21:57:24.7602279+11:00" }