Agent offices

The agent offices API allows you to retrieve a list of your offices that partner with EC, the code for each office will be required when calling other API services. You need to authenticate using an API Key in order to call this service; see the Authentication section for further details

URL
/v1/agent/offices
HTTP Method
GET
Client Library Message Name
Agent.GetOfficesRequest

Sample request

Error

Failed to run contract transformer command: bin\Api.ContractTransformer.exe

{ }

Sample response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-cache
Content-Length: 254

{
  "Results": [
    {
      "Code": "324",
      "Name": "Sample Agent - Austria"
    },
    {
      "Code": "1832",
      "Name": "Sample Agent - Belgium"
    },
    {
      "Code": "433",
      "Name": "Sample Agent - Spain"
    }
  ]
}