Skip to content

Get office

Request

This endpoint gets an office by ID.

Security
Bearer
Path
companyIdstring, (uuid)required

Identifier for company.

Example:4974a66b-7493-4f41-908c-58ba81093947
legalEntityIdstring, (uuid)required

Identifier for legal-entity.

Example:4974a66b-7493-4f41-908c-58ba81093947
officeIdstring, (uuid)required

Identifier for office.

Example:4974a66b-7493-4f41-908c-58ba81093947
curl -i -X GET \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/companies/4974a66b-7493-4f41-908c-58ba81093947/legal-entities/4974a66b-7493-4f41-908c-58ba81093947/offices/4974a66b-7493-4f41-908c-58ba81093947 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
addressobject(PostalAddress)

Postal Address Details

idstring, (uuid)
namestring
Example:"Office"
latlngobject(Latlng)

Latitude and Longitude for a Location

externalIdstring
Example:"external-id"
taxIdstring
Example:"123232"
Response
{ "address": { "addressLines": [ … ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ … ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { … } }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Office", "latlng": { "latitude": 77.1025, "longitude": 28.7041 }, "externalId": "external-id", "taxId": "123232" }