The Postman request:
Request configuration
a.-Params
Key | value | notes |
---|---|---|
fileId | {{file-id}} | the fileId that has been given (by DAS) during a previous transaction |
b.- Headers
Standard headers, nothing to update here.
c.- Body
Empty body (this request uses params to pass the info to the api).
d.- Pre-request script
Not used here
e.- Tests script
The following script is executed after the request is sent, to evaluate the response and also to set up environment variables (if they are needed for following requests)
Expected response
f.- Body
Here is the json response with the details of the status of the file, if the checksum provided matches the one calculated (by DAS) then the JSON will show the "fileSizeQuantity" value, otherwise it will thrown an error.
In case there is an error, the json response will include the problem the system found on the file:
g.- Headers
Normal headers.
h.- Test results
This depends on the test we set up in the test script