If DataImage5Copy JSON is missing {{status}} and {{designatedFacility.paperSignatureInfo}}, a generic {{E_SystemError}} is returned. Add handling for this situation to return a proper error.
||Scenario|| ||
|Missing {{status}} and {{designatedFacility.paperSignatureInfo}}
Error
{{"code": "E_SystemError", "message": "System error occured",}}|[^EM-2466_both_missing.json]|
|Contains {{status}}
Missing {{designatedFacility.paperSignatureInfo}}
Error
{noformat}"errors": [
{
"message": "Mandatory Field is Not Provided",
"field": "Emanifest.tsdf.paperSignatureInfo.signatureDate"
}{noformat}|[^EM-2466_with_status.json]|
Acceptance Criteria (x) If DataImage5Copy manifest is missing {{status}} and {{designatedFacility.paperSignatureInfo}}, then the below error is returned
{noformat} "message": "Mandatory Field is Not Provided",
"field": "Emanifest.tsdf.paperSignatureInfo.signatureDate"
}
{noformat}
If DataImage5Copy JSON is missing {{status}} and {{designatedFacility.paperSignatureInfo}}, a generic {{E_SystemError}} is returned. Add handling for this situation to return a proper error.
||Scenario|| || |Missing {{status}} and {{designatedFacility.paperSignatureInfo}} Error {{"code": "E_SystemError", "message": "System error occured",}}|[^EM-2466_both_missing.json]| |Contains {{status}}
Missing {{designatedFacility.paperSignatureInfo}} Error {noformat}"errors": [ { "message": "Mandatory Field is Not Provided", "field": "Emanifest.tsdf.paperSignatureInfo.signatureDate" }{noformat}|[^EM-2466_with_status.json]|
Acceptance Criteria
(x) If DataImage5Copy manifest is missing {{status}} and {{designatedFacility.paperSignatureInfo}}, then the below error is returned
{noformat} "message": "Mandatory Field is Not Provided", "field": "Emanifest.tsdf.paperSignatureInfo.signatureDate" } {noformat}