Delete one instance
delete
/fscmRestApi/resources/11.13.18.05/productionResources/{ResourceId}/child/LaborInstance/{LaborInstanceId}
Request
Path Parameters
-
LaborInstanceId(required): integer(int64)
Value that uniquely identifies the labor resource instance. It is a primary key that the application generates when it creates a labor instance.
-
ResourceId(required): integer(int64)
Value that uniquely identifies the production resource. It's a primary key that the application generates when it creates a production resource.
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 instance.
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/productionResources/ResourceId/child/LaborInstance/LaborInstanceId"
For example, the following command deletes one instance detail where labor instance identifier 300100159342614:
curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/productionResources/300100083871582/child/LaborInstance/300100159342614"