GET api/UserDepartments/{id}
Show details for given department id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Unique department id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserDepartmentReportDetails()
UserDepartmentReportDetailsName | Description | Type | Additional information |
---|---|---|---|
userDepartmentID | integer |
None. |
|
userDepartmentName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "userDepartmentID": 707, "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>707</userDepartmentID> <userDepartmentName>sample string 2</userDepartmentName> </UserDepartmentReportDetails>