Delete an asset failure event
delete
/fscmRestApi/resources/11.13.18.05/assetFailureEvents/{FailureEventId}
Request
Path Parameters
-
FailureEventId(required): integer(int64)
Number that identifies the work order. This number is unique in the organization. The user can manually assign the number when creating the work order, or allow the application to create a unique number from the numbering scheme that the following Plant parameters define: Work Order Prefix or Work Order Starting Number.
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Default Response
No Content. This task does not return elements in the response body.
Examples
This example describes how to delete an asset failure event.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/assetFailureEvents/FailureEventId"
For example, the following command deletes an asset failure event:
curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version//assetFailureEvents/300100555216217"