Delete one criterion
delete
/fscmRestApi/resources/11.13.18.05/inspectionPlans/{InspectionPlanId}/child/criteria/{CriteriaId}
Request
Path Parameters
-
CriteriaId(required): integer(int64)
Value that uniquely identifies the inspection plan criteria.
-
InspectionPlanId(required): integer(int64)
Value that uniquely identifies the inspection plan.
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 criterion.
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/inspectionPlans/InspectionPlanId/child/criteria/IpCriteriaId"
For example, the following command deletes one criterion for inspection plan 300100152744368 with inspection plan criteria identifier 300100152744381:
curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/inspectionPlans/300100152744368/child/specifications/300100152744381"