Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

...

Parameter

...

Details

...

 

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
visitIdIdentifier 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

URLhttp[s]:<host>:<port>/openspecimen/rest/ng/visits/1/spr-file
MethodGET
content-typeapplication/json

Response

File i.e Downloads the Surgical Pathology Report.

...