PDF attachment retrieval workflow

I added a PDF using this Orthanc Book bit as reference.

Then on retrieval, starting from a study’s OID I do:

GET "/studies/{oid}" to retrieve a study instance UID
POST to "/tools/find" to query for SeriesDescription and StudyInstanceUID
GET "/series/{serie_oid}" to retrieve the first instance oid 
GET "/instances/{instance_oid}/pdf"

Is this “little dance” the proper way to access the PDF data or is there a shorter way?

Hi,

You may skip the /tools/find but not more

GET "/studies/{oid}/series" -> you'll get the SeriesDescription and the series_oid
GET "/series/{series_oid}/instances to retrieve the first instance oid 
GET "/instances/{instance_oid}/pdf"

HTH,

Alain

1 Like

Oh right, thanks!