POST api/DingDingProgram/GetAllDepartData
部门数据
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DepartmentDataName | 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>