Delete one charge
delete
/fscmRestApi/resources/11.13.18.05/customerAssets/{AssetId}/child/AssetCharge/{AssetChargeId}
Request
Path Parameters
-
AssetChargeId(required): integer(int64)
Value that uniquely identifies the asset charge. The application creates this value when it creates the asset charge. This attribute is read-only.
-
AssetId(required): integer(int64)
Value that uniquely identifies the asset. The application creates this value from the asset number when it creates the asset. This attribute is read-only.
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 one asset charge in one customer asset.
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/workOrders/WorkOrderId/child/customerAssets/AssetId/child/AssetCharge/AssetChargeId"
For example, the following command deletes asset charge 300100169480529 in customer asset 300100111139547:
curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/customerAssets/300100111139547/child/AssetCharge/300100169480529"