POST https://api.kpaehs.com/v1/equipmenttypes.list
{
"token": "MY_TOKEN",
"pretty": true
}
RESPONSE
{
"ok": true,
"equipmenttypes": [
{
"id": "5804f0f80ef50473af587886",
"title": "Fire Extinguisher",
"created": 1476718840634,
"metafields": [
{
"id": "58078f96564894593b987110",
"name": "Color",
"type": "text"
},
{
"id": "58078f96564894593b98710f",
"name": "Capacity",
"type": "number"
},
{
"id": "58078f96564894593b987364",
"name": "Shift",
"type": "list",
"list_id": 3763
}
],
"schedules": [
{
"id": "5804f0f80ef50473af587888",
"name": "Monthly Inspection",
"form_id": 1027,
"instructions": "",
"doRequireAttachments": false,
"trigger": {
"type": "time",
"timing": "rolling",
"expiringPeriodInDays": 7,
"frequencyInDays": 30
}
},
{
"id": "5804f0f80ef50473af587887",
"name": "Annual Inspection",
"instructions": "Please attach a photo of the updated tag.",
"doRequireAttachments": true,
"trigger": {
"type": "time",
"timing": "dom",
"timingDateNumber": 20190101,
"expiringPeriodInDays": 7,
"frequencyInDays": 365
}
}
]
},
{
"id": "5804f0f80ef50473af58788d",
"title": "Body Harness",
"created": 1476718840637,
"metafields": [],
"schedules": [
{
"id": "5804f0f80ef50473af58788e",
"name": "Monthly Inspection",
"instructions": "Please attach a photo of the updated inspection.",
"doRequireAttachments": true,
"trigger": {
"type": "time",
"timing": "dow",
"timingDateNumber": 20190105,
"expiringPeriodInDays": 7,
"frequencyInDays": 30
}
}
]
}
]
}