/dataAccess/downloadOnlineCheck/

The /dataAccess/downloadOnlineCheck/ endpoint triggers the server to download the digital document from the relevant 3rd party according to the Document.DocumentName of the document specified.

An updated document object will be retained if the digital document is successfully downloaded from the 3rd party site.

Request

POST {{server}}/VPE/dataAccess/downloadOnlineCheck/
Content-Type: application/json

{
    "DeviceId": "device-id",
    "SessionId": "...",
    "DocumentId": "..."
}
downloadOnlineCheckRequest.DocumentId

= DocumentId

The unique identifier of the document that needs to be downloaded from 3rd party site.

Response

{
    "Success": true,
    "Message": "Operation executed successfully.",

    "Document":
    {
      ...,
      "Images": [{...}, {...}]
    }
}
downloadOnlineCheckResponse.Document

= Document

The updated Document object that contains all the data downloaded from 3rd party site.