SmartGare
API referenceEndpoints

Declare a line

POST/referential/v1/lines
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/lines" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
{  "id": "string"}