openspecimen/rest/ng/visits/{visitId}/spr-file
...
Summary
This page contains documentation of REST API to download surgical pathology report (SPR) for given visit identifier. Use HTTP GET method to call this API. by passing the below details:
Below are the parameters which need to be sent with the request:
...
...
...
Request Details
Use following url to download surgical pathology report.
http[s]:<host>:<port>/openspecimen/rest/ng/visits/{visitId}/spr-file
Use this URL to download surgical pathology report (SPR) from OpenSpecimen application.
Result:
Parameter | Details |
---|---|
visitId | Identifier of the visit |
Result
The response of this request will download the surgical pathology report of specified visit identifier.
Below is the example of the download surgical pathology report (SPR)
Example
URL | http[s]:<host>:<port>/openspecimen/rest/ng/visits/1/spr-file |
Method | GET |
content-type | application/json |
Response | File i.e Downloads the Surgical Pathology Report. |
...