GET api/Corporation/GetCorporationhierarchy?q={q}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| q | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AsapResponseOfListOfCorporationhierarchyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | Collection of CorporationhierarchyDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": [
{
"CorporationCode": "sample string 1",
"Level1": "sample string 2",
"Level2": "sample string 3",
"Level3": "sample string 4",
"Level4": "sample string 5",
"Level5": "sample string 6",
"IsLevel1": true,
"IsLevel2": true,
"IsLevel3": true,
"IsLevel4": true,
"IsLevel5": true,
"ValidFlag": true
},
{
"CorporationCode": "sample string 1",
"Level1": "sample string 2",
"Level2": "sample string 3",
"Level3": "sample string 4",
"Level4": "sample string 5",
"Level5": "sample string 6",
"IsLevel1": true,
"IsLevel2": true,
"IsLevel3": true,
"IsLevel4": true,
"IsLevel5": true,
"ValidFlag": true
}
],
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfArrayOfCorporationhierarchyDTO9DQd0Pqc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
<isSuccess>true</isSuccess>
<jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO">
<d2p1:CorporationhierarchyDTO>
<d2p1:CorporationCode>sample string 1</d2p1:CorporationCode>
<d2p1:IsLevel1>true</d2p1:IsLevel1>
<d2p1:IsLevel2>true</d2p1:IsLevel2>
<d2p1:IsLevel3>true</d2p1:IsLevel3>
<d2p1:IsLevel4>true</d2p1:IsLevel4>
<d2p1:IsLevel5>true</d2p1:IsLevel5>
<d2p1:Level1>sample string 2</d2p1:Level1>
<d2p1:Level2>sample string 3</d2p1:Level2>
<d2p1:Level3>sample string 4</d2p1:Level3>
<d2p1:Level4>sample string 5</d2p1:Level4>
<d2p1:Level5>sample string 6</d2p1:Level5>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
</d2p1:CorporationhierarchyDTO>
<d2p1:CorporationhierarchyDTO>
<d2p1:CorporationCode>sample string 1</d2p1:CorporationCode>
<d2p1:IsLevel1>true</d2p1:IsLevel1>
<d2p1:IsLevel2>true</d2p1:IsLevel2>
<d2p1:IsLevel3>true</d2p1:IsLevel3>
<d2p1:IsLevel4>true</d2p1:IsLevel4>
<d2p1:IsLevel5>true</d2p1:IsLevel5>
<d2p1:Level1>sample string 2</d2p1:Level1>
<d2p1:Level2>sample string 3</d2p1:Level2>
<d2p1:Level3>sample string 4</d2p1:Level3>
<d2p1:Level4>sample string 5</d2p1:Level4>
<d2p1:Level5>sample string 6</d2p1:Level5>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
</d2p1:CorporationhierarchyDTO>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfArrayOfCorporationhierarchyDTO9DQd0Pqc>