GET api/OAWebApi/FatherTree
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of MailTreeDeptModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
ParentID | integer |
None. |
|
Caption | string |
None. |
|
open | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "ParentID": 2, "Caption": "sample string 3", "open": true }, { "ID": 1, "ParentID": 2, "Caption": "sample string 3", "open": true } ]
application/xml, text/xml
Sample:
<ArrayOfMailTreeDeptModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Strong.WebAPI.Model.OA"> <MailTreeDeptModel> <Caption>sample string 3</Caption> <ID>1</ID> <ParentID>2</ParentID> <open>true</open> </MailTreeDeptModel> <MailTreeDeptModel> <Caption>sample string 3</Caption> <ID>1</ID> <ParentID>2</ParentID> <open>true</open> </MailTreeDeptModel> </ArrayOfMailTreeDeptModel>