| 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /addresses HTTP/1.1 Host: team.evovoice.io Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
addresses:
[
{
id: String,
friendlyName: String,
emergencyEnabled: False,
customerName: String,
street: String,
city: String,
region: String,
postalCode: String,
isoCountry: String
}
]
}