Material Categories
This api is used to sync material categories with WorkorderApp. Each material_categories record can contain the following data:
mct_mat_code
Material code
Y
Varchar (255)
mct_cat_code
Category code
Y
Varchar (255)
{{client_token}}{{software_token}}Response_200
No content
GET /material_categories/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Response_200
No content
This api is used to sync material categories with WorkorderApp. Each material_categories record can contain the following data:
mct_mat_code
Material code
Y
Varchar (255)
mct_cat_code
Category code
Y
Varchar (255)hmxg
{{client_token}}{{software_token}}Response_200
No content
POST /material_categories/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Response_200
No content
This api is used to delete the connection between materials and categories from OutSmart.
Deleting material_categories can also be done by providing the material code and category code.
Records can be deleted by providing a list of ids which can be retrieved through "GET material_categories".
ids
A list of ids to be deleted
Y
array
Supported from OutSmart Backoffice v8.2.0
{{client_token}}{{software_token}}Response_200
DELETE /material_categories/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Response_200
{
"code": 200,
"messages": [
"Rows deleted: 3"
],
"response": null
}Last updated
Was this helpful?
