How to create or delete 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: This method allows to create a tool according to the parameters filled in: When this method is executed successfully, it returns HttpStatusCode.201 CreatedCreate Tool
{
"equipmentKey": "PCR",
"description": "Porta-paletes",
"onServiceDate": "2020-10-01T00:00:00",
"externalReferenceID": null,
"serial": null,
"picture": "https://valuekeepdev.blob.core.windows.net/sampledb-images/EquipmentItems_0c66f042-98dd-4715-8bbf-6c5ac657cf9b_Picture_image.jpeg",
"pictureThumbnail": "https://valuekeepdev.blob.core.windows.net/sampledb-images/EquipmentItems_0c66f042-98dd-4715-8bbf-6c5ac657cf9b_Picture_Thumbnail_image.jpeg",
"purchaseDate": null,
"purchasePrice": {
"amount": 25000.000000,
"baseAmount": 25000.000000,
"reportingAmount": 25000.000000,
"fractionDigits": 2,
"symbol": "€"
},
"remarks": null,
"keyword": "Porta-paletes",
"barcode": null,
"isTool": true,
"workingTime": "23:59:59",
"manufacturer": null,
"location": "AM",
"criticality": "0000000002",
"currency": "EUR",
"owner": null,
"brand": null,
"brandModel": null,
"parentEquipment": null,
"family": null,
"company": "DEMO",
"responsible": null,
"provider": null,
"customer": null,
"warrantyStartDate": "2022-02-16",
"warrantyEndDate": "2/17/2022",
"warrantyExtensionEndDate": "2022-02-18"
}
Delete Tool
login para deixar a sua opinião.