POST api/CheckWorkDaily/GetDepartDataList
Request Information
URI Parameters
None.
Body Parameters
GetDepartDataListInput| Name | Description | Type | Additional information |
|---|---|---|---|
| d_name |
部门名称 |
string |
None. |
| userID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"d_name": "sample string 1",
"userID": "sample string 2"
}
application/xml, text/xml
Sample:
<GetDepartDataListInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels"> <userID>sample string 2</userID> <d_name>sample string 1</d_name> </GetDepartDataListInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of DepartmentData| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
部门id |
integer |
None. |
| d_name |
部门名称 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"d_name": "sample string 2"
},
{
"id": 1,
"d_name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfDepartmentData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models">
<DepartmentData>
<d_name>sample string 2</d_name>
<id>1</id>
</DepartmentData>
<DepartmentData>
<d_name>sample string 2</d_name>
<id>1</id>
</DepartmentData>
</ArrayOfDepartmentData>