Access All Accession Numbers Quickly?

Hi, is there a way to quickly access all accession numbers for all DICOMs that have been uploaded to Orthanc? Possibly in a JSON format? Thank you!

Hello,

You can simply use the “/studies?expand” route:

$ curl https://demo.orthanc-server.com/studies?expand

The accession numbers are available inside the “MainDicomTags” field.

Sébastien-