WebAPI - Creating an operating state
This
method allows to create an operating state in a simplified manner.The
method to be used when creating an operating state:
POST
url/api/mytenant/myorganization/maintenancecore/operatingstates
Json
example for creating an operating state
"operatingStateKey": "DW",
"description": "Down time",
"isDownState": true,
"remarks": "criação de um estado de funcionamento de
paragem"
}
This
method allows to create an operating state according to the parameters filled
in:
- operatingStateKey: The
key of the operating state. Mandatory field.
- description:
Short description of the operating state. This field is mandatory.
- isDownState:
Place true if you wish to create a down state. Otherwise, fill in as false.
- remarks:
Remarks.
When
this method is executed successfully, it returns HttpStatusCode.OK.
Related Articles
WebAPI - Creating a request
This method allows to create a request in a simplified manner. The method to be used when creating a request: POST url/api/mytenant/myorganization/Requests/requests Json example for creating a request: { "requestKey": "00001", "description": "Vidro ...
WebAPI - Creating a warehouse
This method allows to create a warehouse in a simplified manner. The method to be used when creating a warehouse: POST url/api/mytenant/myorganization/inventorycore/warehouses Json example for creating a warehouse: 1. { "warehouseKey": "W2", ...
WebAPI - Creating a requisition type
This method allows creating a type of requisition in a simplified manner. The method to be used to create a requisition type is: POST url/api/mytenant/myorganization/requisitionscore/requisitiontypes Json example for creating a type of requisition: ...
WebAPI – How can I change the work order state?
This method allows you to change a work order state. The method to be used for changing the work order change is: Post {{url}/api/{{tenant}}/{{organization}}/maintenance/workorders/changeSchemaEntityState/{{companyKey}} The parameters in the method ...
WebAPI - Creating a tool
This method allows to create a tool in a simplified manner. The method to be used when creating a tool is: POST url/api/mytenant/myorganization/assetmanagementcore/equipmentItems Json example for creating a tool: 1. { "equipmentKey": "PCR", ...