GET api/v1/{tokenClient}/agency

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tokenClient

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AgencyViewModel
NameDescriptionTypeAdditional information
ZOIId

Identifiant

globally unique identifier

None.

ZOIName

Agence Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ZOIId": "cab1bbed-2920-4b24-a9f0-805ad0742f24",
    "ZOIName": "sample string 2"
  },
  {
    "ZOIId": "cab1bbed-2920-4b24-a9f0-805ad0742f24",
    "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>cab1bbed-2920-4b24-a9f0-805ad0742f24</ZOIId>
    <ZOIName>sample string 2</ZOIName>
  </AgencyViewModel>
  <AgencyViewModel>
    <ZOIId>cab1bbed-2920-4b24-a9f0-805ad0742f24</ZOIId>
    <ZOIName>sample string 2</ZOIName>
  </AgencyViewModel>
</ArrayOfAgencyViewModel>