Skala
Units

Create a new unit

Adds a new unit record to the database.

POST
/api/units

Adds a new unit record to the database.

AuthorizationBearer <token>

In: header

Request Body

application/json

The new Unit resource

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://api.skalasuite.com/api/units" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "id": 0,
  "name": "string",
  "isActive": true,
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}
Empty
Empty