how to get an archive of study by StudyInstanceUID?

Hi!

I can get an archive by "orthanc study id’. Like this

http://localhost:8042/studies/6b9e19d9-62094390-5f9ddb01-4a191ae7-9766b715/archive

But in my project, i have only StudyInstanceUID, but i cant get an archive like this.
http://localhost:8042/studies/1.2.840.113543.6.6.4.7.64067529866380271256212683512383713111129/archive

Or maybe there is an endpoint to get “orthanc study id” by StudyInstanceUID?
Thanks

Hi,

/tools/lookup will get you the orthanc study id from the StudyInstanceUID.
ex:
curl http://192.168.0.10:8042/tools/lookup -d 1.2.826.0.1.3680043.8.498.12457423023890995869719855606807160238
returns
[
{
“ID” : “014c8802-b61deb97-1179067c-4eb5377b-dbbc6989”,
“Path” : “/studies/014c8802-b61deb97-1179067c-4eb5377b-dbbc6989”,
“Type” : “Study”
}
]

HTH

Alain.