| Requires any of the roles: | SystemAdministrator, Manager, Customer |
| GET | /addresses |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AccountId | query | string | No | The account ID whose addresses you want |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Addresses | form | List<AddressInfo> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| FriendlyName | form | string | No | |
| EmergencyEnabled | form | bool | No | |
| CustomerName | form | string | No | |
| Street | form | string | No | |
| City | form | string | No | |
| Region | form | string | No | |
| PostalCode | form | string | No | |
| ISOCountry | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /addresses HTTP/1.1 Host: evovoice.io Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"addresses":[{"id":"String","friendlyName":"String","emergencyEnabled":false,"customerName":"String","street":"String","city":"String","region":"String","postalCode":"String","isoCountry":"String"}]}