Valuekeep DevelopmentAssets
DevelopmentAssets
Assets
Back | List of Articles

How to get the list of asset attachments regarding a work order?

Last changed in 26/12/2024

This method allows, in a simplified way, to obtain the list of attachments of the assets referring to a work order.

The method to be used when getting the list is:

GET  url/api/mytenant/myorganization/maintenance/workorders/getWorkordersAttachementsAssets

When this method is executed successfully, it returns HttpStatusCode.200OK.

[

    {

        "name": "AUD-SUB_0000007368_20221121_092616245.pdf",

        "size": 381428.000000,

        "sizeDecimalPlaces": null,

        "mediaType": "application/pdf",

        "workOrderId": "b4fa6c64-9670-ed11-a81b-000d3ac29e92",

        "path": "801769/801769-0001/maintenance/workOrders/b4fa6c64-9670-ed11-a81b-000d3ac29e92/attachment?fileName=0000007368_20221121_092616245.pdf&index=0"

    }

]

This method allows you to list asset attachments according to the filled parameters:

  • assignedTo: Person to whom the work order is assigned.
  • company: The company's key.
  • modifiedOn: Gets the attachments after the inserted date.
Bookmark or share this article
Esta página foi útil?
Obrigado pelo seu voto.
Related Articles
How to create or delete a location? How to create or delete an equipment? How to create or delete a tool? How to create or delete a meter? How to delete a monitoring?