USEPA / e-manifest

API services documentation and reference material for the e-Manifest hazardous waste tracking system
https://www.epa.gov/e-manifest
Creative Commons Zero v1.0 Universal
26 stars 22 forks source link

EM-3062 Services quicker sign validation update #1594

Closed e-manifest closed 9 months ago

e-manifest commented 10 months ago

The quicker-sign service validation needs to be updated to compare the provided +paper+ date against the previous entity’s +electronic+ date. It was decided that after initial implementation that the validation shouldn’t compare {{paperSignatureInfo.signatureDate}} against each other and instead needs to compare paper date against the electronic date - this has already been updated in the UI.

Acceptance Criteria
The following AC is accepted when updates are made the quicker-sign service in regards to Electronic and Hybrid manifests:

(x) When calling the quicker-sign service, the system retrieves the manifest and validates that the provided {{paperSignatureInfo.signatureDate}} for the entity is greater than or equal to the previous entity’s as follows

(x) If validation fails, return an error: