Delete a Recall Notice
You can use the REST API to delete a recall notice that's in Draft status.
Let's discuss these scenarios where, say, Julie is the Recall manager who's reviewing the recall notices for the following scenarios which were entered incorrectly in the system.
- Delete a line associated with a particular lot number for the item.
- Delete a recall notice for a specific recalling firm initiated on a particular day for a specific item.
Delete a Line Associated with a Particular Lot Number for the Item
Here's a typical process flow for this scenario in which you can delete the line associated with a particular lot number for the item in Draft status:
- Identify the recall notice header and line identifier that need to be deleted.
- Perform a DELETE operation.
Example URL
Use this resource URL format:
DELETE
cURL Command
curl -u username:password "https://servername/fscmRestApi/resources/version/recallNoticesV2/HeaderId/child/recallLines/LineId"
For example, the following command deletes one recall notice where recall notice header is 300100636759880 and the associated line is 300100636759875.
curl -u username:password "https://servername/fscmRestApi/resources/version/recallNoticesV2/300100636759880/child/recallLines/300100636759875"
Delete a Recall Notice for a Specific Recalling Firm Initiated on a Particular Day for a Specific Item
Here's a typical process flow for this scenario in which you can delete the line in Draft status:
- Identify the recall notice header identifier that needs to be deleted.
- Perform a DELETE operation.
Example URL
Use this resource URL format:
DELETE
cURL Command
curl -u username:password "https://servername/fscmRestApi/resources/version/recallNoticesV2/HeaderId"
For example, the following command deletes the recall notice details and the associated information when the recall notice header is 300100636759880.
curl -u username:password "https://servername/fscmRestApi/resources/version/recallNoticesV2/300100636759880"