Types

Create a new equipment type

Creates a new equipment type in the system. This operation requires write permissions on properties.

post/types/equipment

Request

  • Base URL: https://api.faireplace.com/api
  • URL: https://api.faireplace.com/api/types/equipment
  • Auth: HTTP bearer

Request body

namestring required

Name of the equipment type to create

Example request

{
  "name": "Reversible air conditioning"
}

Response

Equipment type created successfully

idstring uuid nullable required

Unique identifier of the equipment type

namestring nullable required

Equipment type name

created_atstring date-time nullable required

Creation date and time

updated_atstring date-time nullable required

Last modification date and time

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440003",
  "name": "Central heating",
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:30:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.