latestOpenAPI 3.0.12026-08-103995881.2 MB

053edab62415

equipment

Create an Equipment

post/app/v1/equipment

Request body

custom_attributesCustomAttributes
effective_datestring
facility_idstring

ID of the facility that the equipment belongs to

latitudenumber nullable

latitude on the Earth

longitudenumber nullable

longitude on the Earth

namestring
status'active' | 'inactive' | 'deprecated'
type_id'acid_gas_removal' | 'desiccant_dehydrator' | 'ng_pneumatic_devices'

Example request

{
  "custom_attributes": {
    "attribute1": 12345,
    "attribute2": "value1"
  },
  "effective_date": "2022-01-01",
  "latitude": 51,
  "longitude": -114
}

Response

successful operation

created_atstring date-time
updated_atstring date-time
created_bystring uuid
updated_bystring uuid
custom_attributesCustomAttributes
effective_datestring
idstring
latitudenumber nullable

latitude on the Earth

longitudenumber nullable

longitude on the Earth

namestring
status'active' | 'inactive' | 'deprecated'

Example response

{
  "custom_attributes": {
    "attribute1": 12345,
    "attribute2": "value1"
  },
  "effective_date": "2022-01-01",
  "facility": {
    "id": "1ca1117d-f2d6-47f5-ae3a-aa1025073717",
    "name": "Facility 1"
  },
  "latitude": 51,
  "longitude": -114
}