SmartGare
API referenceEndpoints

Get a line by code

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

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

Required permission: referential.line:read

AuthorizationBearer <token>

In: header

Path Parameters

code*string

Response Body

*/*

*/*

curl -X GET "https://example.com/referential/v1/lines/by-code/string"
{  "code": "string",  "created_at": "2019-08-24T14:15:22Z",  "id": "string",  "name": "string",  "retired_at": "2019-08-24T14:15:22Z",  "status": "string",  "suspension_reason": "string",  "updated_at": "2019-08-24T14:15:22Z"}