SmartGare
API referenceEndpoints

Declare a destination

POST/referential/v1/destinations
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/destinations" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "name": "string",    "latitude": -90,    "longitude": -180  }'
{  "id": "string"}