Delete one inventory

delete

/fscmRestApi/resources/11.13.18.05/physicalInventories/{physicalInventoriesUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key--- OrganizationId and PhysicalInventoryId ---for the Physical Inventories resource and used to uniquely identify an instance of Physical Inventories. The client should not generate the hash key value. Instead, the client should query on the Physical Inventories collection resource with a filter on the primary key values in order to navigate to a specific instance of Physical Inventories.

    For example: physicalInventories?q=OrganizationId=<value1>;PhysicalInventoryId=<value2>
Header Parameters
  • 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".
  • 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 Top

Response

Default Response

No Content. This task does not return elements in the response body.
Back to Top

Examples

This example describes how to delete one inventory.

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/physicalInventories/physicalInventoriesUniqID"

For example, the following command deletes one inventory:

curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/physicalInventories/00020000000EACED0005770800000000000000CF0000000EACED00057708000110F080862C48"
Back to Top