POST
/
v1
/
equipments
curl --request POST \
  --url https://api.siit.io/v1/equipments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "serial_number": "<string>",
  "model": "<string>",
  "vendor_name": "<string>",
  "lifecycle": "in_service",
  "os_name": "<string>",
  "processor_type": "<string>",
  "purchase_number": "<string>",
  "keyboard_layout": "<string>",
  "storage_capacity_mb": 123,
  "total_ram_mb": 123,
  "category_uid": "<string>",
  "office_location_uid": "<string>",
  "holder_uid": "<string>",
  "collection_date": "2023-12-25",
  "equipment_issue_date": "2023-12-25",
  "purchase_date": "2023-12-25",
  "guarantee_date": "2023-12-25",
  "last_contact_date": "2023-12-25",
  "last_report_date": "2023-12-25",
  "last_enrollment_date": "2023-12-25"
}'
{
  "result": {
    "uid": "<string>",
    "name": "<string>",
    "serial_number": "<string>",
    "model": "<string>",
    "vendor_name": "<string>",
    "source": "siit",
    "lifecycle": "in_service",
    "os_name": "<string>",
    "processor_type": "<string>",
    "purchase_number": "<string>",
    "keyboard_layout": "<string>",
    "external_url": "<string>",
    "storage_capacity_mb": 123,
    "total_ram_mb": 123,
    "category_uid": "<string>",
    "office_location_uid": "<string>",
    "holder_uid": "<string>",
    "collection_date": "2023-12-25",
    "equipment_issue_date": "2023-12-25",
    "purchase_date": "2023-12-25",
    "guarantee_date": "2023-12-25",
    "last_contact_date": "2023-12-25",
    "last_report_date": "2023-12-25",
    "last_enrollment_date": "2023-12-25",
    "updated_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

Equipment created

The response is of type object.