The following is an example of a Location called Campaign HQ.
{
"locationId": 272,
"name": "Campaign HQ",
"displayName": "Campaign HQ, 48 Grove St Somerville, MA 02144-2500",
"address": {
"addressLine1": "48 Grove St",
"addressLine2": null,
"addressLine3": null,
"city": "Somerville",
"stateOrProvince": "MA",
"zipOrPostalCode": "02144",
"geoLocation": {
"lon": -71.120121,
"lat": 42.396363
},
"countryCode": "US",
"preview": "48 Grove St \r\nSomerville, MA 02144-2500"
}
}
Location
Property | Type | Description |
---|---|---|
| int | Read-only; Unique identifier for a Location in this context |
| string | A name for this Location, no longer than 50 characters |
| string | Read-only; A display name for this Location that is the combination of the |
| object | Optional; an Address object for this Location |
Address
Property | Type | Description |
---|---|---|
| string | Optional; First line of a Street Address |
| string | Optional; Second line of a Street Address |
| string | Optional; Third line of a Street Address |
| string | Optional; City or Town |
| string | Optional; Two or three character State or Province code (e.g., MN, ON, NSW, etc.) |
| string | Optional; ZIP, ZIP+4, Postal Code, Post code, etc. |
| object | Optional and Read-only; a Geographic Coordinate object for this Address (VAN will attempt to populate this for you) |
| string | Optional; A two character ISO country code that is supported by your VAN context (e.g., US) |
| string | Read-only; A multiple line preview of this Address which may contain Windows line breaks ( |
Geographic Coordinate
Property | Type | Description |
---|---|---|
| float | Required; the longitude of this Coordinate that is between |
| float | Required; the latitude of this Coordinate that is between |