GET api/activities/{id}
Get an Activity by id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ActivityDtoName | 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 |
ContactStatusId |
A reference to the primary key of the ContactStatus record that is associated with this record. For POST requests sent to the API if this value is not provided it will be set to the Default ContactStatus record. |
integer |
Range: inclusive between 1 and 99999999 |
ContactStatusName |
The name of the ContactStatus record that is associated with this record. Ignored for POST requests sent to the API. |
string |
None. |
IntakeId |
A reference to the primary key of the Intake record that is associated with this record. For POST requests sent to the API if this value is not provided it will be set to the Default Intake record. |
integer |
Range: inclusive between 1 and 99999999 |
IntakeName |
The name of the Intake record that is associated with this record. Ignored for POST requests sent to the API. |
string |
None. |
DateCreated |
The date that the Activity record was created (in the Hobsons database). Ignored for POST requests sent to the API. |
date |
None. |
Task |
The details of the Task record created that it's associated with this record. Used ONLY for POST requests sent to the API. For GET requests always returned as NULL. |
InnerTaskDto |
None. |
Response Formats
application/json, text/json
{ "Id": 1, "CrmNumber": 2, "ContactStatusId": 1, "ContactStatusName": "sample string 3", "IntakeId": 1, "IntakeName": "sample string 4", "DateCreated": "2025-01-22T21:59:08.4910368+11:00", "Task": { "TaskTypeId": 1, "Description": "sample string 2" } }