POST api/TaskTypes
API interface handling generic JSON requests for TaskTypes
Request Information
URI Parameters
None.
Body Parameters
TaskTypeRequest
TaskTypeRequestName | Description | Type | Additional information |
---|---|---|---|
Id |
Request specified appointment by Id |
integer |
None. |
Limit |
Limit to number of rows returned by request (default is 100) |
integer |
None. |
Skip |
Number of rows to skip (so we can skip 10 get next 10 etc) |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 707, "Limit": 534, "Skip": 581 }
application/xml, text/xml
Sample:
<TaskTypeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Turnpoint.Controllers"> <Id>707</Id> <Limit>534</Limit> <Skip>581</Skip> </TaskTypeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TaskTypeReportDetails()
TaskTypeReportDetailsName | Description | Type | Additional information |
---|---|---|---|
taskTypeID | integer |
None. |
|
taskTypeName | string |
None. |
|
taskTypeClassification | integer |
None. |
|
taskTypeCostDefinitions | string |
None. |
|
taskTypeCost | decimal number |
None. |
|
taskTypeDuration | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "taskTypeID": 291, "taskTypeName": "sample string 2", "taskTypeClassification": 303, "taskTypeCostDefinitions": "sample string 3", "taskTypeCost": 1.1, "taskTypeDuration": 776 }
application/xml, text/xml
Sample:
<TaskTypeReportDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Turnpoint.Controllers"> <taskTypeClassification>303</taskTypeClassification> <taskTypeCost>1.1</taskTypeCost> <taskTypeCostDefinitions>sample string 3</taskTypeCostDefinitions> <taskTypeDuration>776</taskTypeDuration> <taskTypeID>291</taskTypeID> <taskTypeName>sample string 2</taskTypeName> </TaskTypeReportDetails>