SmartGare
API referenceEndpoints

Get a station by code

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

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

Required permission: referential.station:read

AuthorizationBearer <token>

In: header

Path Parameters

code*string

Response Body

*/*

curl -X GET "https://example.com/referential/v1/stations/by-code/string"
{  "code": "string",  "created_at": "2019-08-24T14:15:22Z",  "id": "string",  "kind": "STATION",  "latitude": 0.1,  "locality_id": "string",  "longitude": 0.1,  "managed": true,  "name": "string",  "opening_changed_at": "2019-08-24T14:15:22Z",  "opening_changed_by": "string",  "opening_state": "OPEN",  "status": "string",  "updated_at": "2019-08-24T14:15:22Z"}