A Category is a simple description, which can be appended to any unit.
When appended, the category can be used to identify a set of units which share similar characteristics, ie. make, model/year etc.

URL Structure is:
https://api.trackunit.com/public/Category

GetCategory

Will list parameters on a specified category.

Parameters

NameData typeUnit of measurementNote
id *StringN/AThe id of the category.

Errors

Error CodeDescription
categoryNotFoundCategory with supplied “Id” was not found

Columns

NameData typeUnit of measurementNullabilityNote
idStringN/AFALSEUnique identifier.
nameStringN/ATRUEName of category.

Request (example)

{
  "id": "30559"
}

Response

{
   "list":[
   {
   		"id": "30559",
      "name": "CADDY"
		}
   ]
}
 

CreateCategory

Will create a new category.

Parameters

NameData typeUnit of measurementNote
name*StringN/AName of the category.

Request (example)

{
  "name": "CATEPILLAR"
}

Response

{
  "id": "30819"
}
 

UpdateCategory

Will update parameters on any of the existing categories.

Parameters

NaameData typeUnit of measurementDescription
id *StringUnique identifier.
nameStringName of the category.

Request (example)

{
  "id": "30818",
  "name": "BENFORD"
}

Response

{}
 

DeleteCategory

Will delete an existing category.

Parameters

ParameterData typeNote
id *StringId of the category.

Request (example)

{
  "id": "30818"
}

Response

{}