SmartGare
API referenceEndpoints

Declare a service classification entry

Adds one code to the stated catalog (SERIES, CATEGORY or GRADE) with the regulator's own display label. Codes only accumulate — nothing retires one yet. **Required permission:** `referential.service-classification:write`

POST/referential/v1/service-classifications

Adds one code to the stated catalog (SERIES, CATEGORY or GRADE) with the regulator's own display label. Codes only accumulate — nothing retires one yet.

Required permission: referential.service-classification:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*DeclareServiceClassificationInput

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/service-classifications" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "dimension": "SERIES",    "label": "string"  }'
{  "code": "string",  "dimension": "string",  "label": "string"}