GET api/Agents/GetAgentTree?token={token}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AgentsTreeResponseName | Description | Type | Additional information |
---|---|---|---|
IdAgent | integer |
None. |
|
Agent | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IdAgent": 1, "Agent": "sample string 1" }, { "IdAgent": 1, "Agent": "sample string 1" } ]
text/html
Sample:
[{"IdAgent":1,"Agent":"sample string 1"},{"IdAgent":1,"Agent":"sample string 1"}]
application/xml, text/xml
Sample:
<ArrayOfAgentsDTO.AgentsTreeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvoiceAPI.DataTransferObjects"> <AgentsDTO.AgentsTreeResponse> <Agent>sample string 1</Agent> <IdAgent>1</IdAgent> </AgentsDTO.AgentsTreeResponse> <AgentsDTO.AgentsTreeResponse> <Agent>sample string 1</Agent> <IdAgent>1</IdAgent> </AgentsDTO.AgentsTreeResponse> </ArrayOfAgentsDTO.AgentsTreeResponse>