GET api/TaskTypes/GetTaskType/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TaskType| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskTypeId | integer |
None. |
|
| TaskTypeDescription | string |
Required String length: inclusive between 0 and 100 |
|
| TaskTypeIsInUse | boolean |
None. |
|
| CompanyId | integer |
None. |
|
| ObjectState | ObjectState |
None. |
Response Formats
application/json, text/json
Sample:
{
"taskTypeId": 1,
"taskTypeDescription": "sample string 2",
"taskTypeIsInUse": true,
"companyId": 4,
"objectState": 0
}
application/xml, text/xml
Sample:
<TaskType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models"> <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState> <CompanyId>4</CompanyId> <TaskTypeDescription>sample string 2</TaskTypeDescription> <TaskTypeId>1</TaskTypeId> <TaskTypeIsInUse>true</TaskTypeIsInUse> </TaskType>