GET api/v1/{tokenClient}/agency
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tokenClient | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AgencyViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ZOIId | globally unique identifier |
None. |
|
| ZOIName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ZOIId": "d712ea8d-c6af-4091-801b-8475285dc58c",
"ZOIName": "sample string 2"
},
{
"ZOIId": "d712ea8d-c6af-4091-801b-8475285dc58c",
"ZOIName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfAgencyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto">
<AgencyViewModel>
<ZOIId>d712ea8d-c6af-4091-801b-8475285dc58c</ZOIId>
<ZOIName>sample string 2</ZOIName>
</AgencyViewModel>
<AgencyViewModel>
<ZOIId>d712ea8d-c6af-4091-801b-8475285dc58c</ZOIId>
<ZOIName>sample string 2</ZOIName>
</AgencyViewModel>
</ArrayOfAgencyViewModel>