POST api/UserDepartments
API interface handling generic JSON requests for UserDepartments
Request Information
URI Parameters
None.
Body Parameters
UserDepartmentRequest
UserDepartmentRequestName | 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:
<UserDepartmentRequest 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> </UserDepartmentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserDepartmentReportDetails()
UserDepartmentReportDetailsName | Description | Type | Additional information |
---|---|---|---|
userDepartmentID | integer |
None. |
|
userDepartmentName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "userDepartmentID": 291, "userDepartmentName": "sample string 2" }
application/xml, text/xml
Sample:
<UserDepartmentReportDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Turnpoint.Controllers"> <userDepartmentID>291</userDepartmentID> <userDepartmentName>sample string 2</userDepartmentName> </UserDepartmentReportDetails>