Manifest Revert Service
Description
The Revert Manifest service deletes the manifest version in the UnderCorrection status by provided Manifest Tracking
Number. Service will check if the manifest is locked. The manifest is locked for revert when Manifest is in a queue for
signing.
Parameters
- Security Token
- Manifest Tracking Number
Sequence of Steps
- Security Token Validation.
- User Authorization.
-
If the User is authenticated and authorized, the system will check if the manifest is locked for corrections.
-
3.1. If manifest is in the signing queue, it is locked for correct. The following error will be generated
E_ManifestLockedAsyncSign: Manifest is locked because it is in the queue for signing. Manifest cannot be corrected.
-
3.2. If the manifest is in teh Change Biller process by EPA, it is locked for corrections. The following error will
E_ManifestLockedEpaChangeBiller: Manifest is Locked because EPA is Changing Biller. Manifested cannot be corrected.
-
The system will process the request.
-
4.1 {{#include ../../components/mtn-validation-steps.md}}
-
4.2 The system will check if the manifest ca be reverted. if no
UnderCorrectionversion of the manifest exists, the system will stop processing and generate the following error:E_NoVersionForUnderCorrectionStatus: Manifest does not contain the Version in 'UnderCorrection' status
-
4.3 The system reverts the manifest (Deletes Manifest version in
UnderCorrectionstatus) -
On success the system returns JSON containing the following information:
-
Manifest Tracking Number
- Operation Status:
Reverted - Date: Date/Time of the operation
-
Current Version Number
-
If an error is generated during the validation process, the system will return the following information:
- Error: containing error code, error message, and error id and date
Completed Response Example
{
"manifestTrackingNumber": "100001380ELC",
"operationStatus": "Reverted",
"currentVersionNumber": 2,
"date": "2017-07-27T19:13:28.628+0000"
}
Validation Error Return example
{
"code": "E_ManifestTrackingNumberNotFound ",
"message": "Provided Manifest Tracking Number was not Found",
"errorId": "9v7a9808-s35a5-4874-928f-12fc3def4b56",
"date": "2017-06-23T23:15:45.095+0000"
}