Instructions
...
GET {url}/localtrac/location/<location_uuid> | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
This route returns all location “Information” fields, with the exception of schedule related information. | ||||||||||
Request | ||||||||||
Headers | ||||||||||
Authorization | <token> obtained during the Authentication | |||||||||
Accept | application/json | |||||||||
Response (200) - Success | ||||||||||
Headers | ||||||||||
Content-type | application/json | |||||||||
Cache-Control | no-cache,private | |||||||||
Body (Example) This example is a fake location generated by our test system. | ||||||||||
| uuid | LOCALTRAC unique identifier (uuid) of the location. This is the uuid you should use for any further request
| ||||||||
uuid | LOCALTRAC unique identifier (uuid) of the location. This is the uuid you should use for any further request that requires a <location_uuid> within the url. | |||||||||
storecode | External id given by the client when the location was created or when imported in LOCALTRAC from a directory. | |||||||||
name | Array of all the location name translations. Each row of the sub array is an associative value of <locale> : <name>. We currently only support <locale> fr_CA and en_CA. | |||||||||
address | Array containing the full address. | |||||||||
description | Array of all the location descriptions. Each row of the sub array is an associative value of <locale> : <description>. We currently only support <locale> fr_CA and en_CA. | |||||||||
communication | An associative array for the location contact information. Supported keys:
| |||||||||
urls | An associative array for websites and social media URLs. Supported keys:
| |||||||||
payments | An associative array of payment methods. The value is a Boolean, true when payment method is accepted or false when it’s not. Supported keys:
| |||||||||
active | Boolean value representing the status of the location, true for active and false for inactive. When a location is set as inactive, it is not monitored within any directories. | |||||||||
businessKeywords | An array of keywords, associated to business | |||||||||
keywords | An array of keywords, associated to loaction | |||||||||
Response (403) - Forbidden access | ||||||||||
Headers | ||||||||||
Content-type | application/json | |||||||||
Cache-Control | no-cache,private | |||||||||
Body | ||||||||||
|
...