SmartGare
API referenceEndpoints

Get a locality by code

**Required permission:** `referential.locality:read`

GET/referential/v1/localities/by-code/{code}

Required permission: referential.locality:read

AuthorizationBearer <token>

In: header

Path Parameters

code*string

Response Body

*/*

*/*

curl -X GET "https://example.com/referential/v1/localities/by-code/string"
{  "code": "string",  "created_at": "2019-08-24T14:15:22Z",  "id": "string",  "latitude": 0.1,  "longitude": 0.1,  "name": "string",  "names_by_locale": {    "property1": "string",    "property2": "string"  },  "status": "string",  "updated_at": "2019-08-24T14:15:22Z"}