Following is an example of the response XML that would be immediately returned in the event of an error condition on the Initial Request. Note that the status is x:error and that the ErrorCode element contains a numeric error code, and the ErrorDescription element contains a textual description of the error condition.
<?xml version="1.0"?> <BackgroundReports> <BackgroundReportPackage> <ReferenceId>some_id_value</ReferenceId> <ScreeningStatus> <OrderStatus>x:error</OrderStatus> </ScreeningStatus> <ErrorReport> <ErrorCode>4</ErrorCode> <ErrorDescription>Invalid username and/or password.</ErrorDescription> </ErrorReport> </BackgroundReportPackage> </BackgroundReports>
Following is an example of the response XML that would be immediately returned in the event of successful submission of the Initial Request. Note that OrderId is the unique identifier for that order, and should be used when submitting status requests or in other ways referencing the submitted order.
<?xml version="1.0"?> <BackgroundReports> <BackgroundReportPackage> <ReferenceId>some_id_value</ReferenceId> <OrderId>12358</OrderId> <ScreeningStatus> <OrderStatus>x:pending</OrderStatus> </ScreeningStatus> </BackgroundReportPackage> </BackgroundReports>
<?xml version="1.0"?> <BackgroundReports> <BackgroundReportPackage> <ReferenceId>some_id_value</ReferenceId> <OrderId>12358</OrderId> <ScreeningStatus> <OrderStatus>x:app_pending</OrderStatus> </ScreeningStatus> <ApplicantInterfaceURL>https://demo.instascreen.net/s...</ApplicantInterfaceURL> </BackgroundReportPackage> </BackgroundReports>