Query/Retrieve on specific modality via REST API

It's possible execute the query/retrieve command on specific modality using the rest api?

Yes, the steps are as follows: (Please correct me if I’m wrong)

  1. POST to modality/{id}/query to retrieve the QUERY id
  2. POST to query/{id}/answers to get list of ANSWERS (positive search matches)
  3. GET from query/{id}/answers/[0]…[x] to get the answer details (patient name, etc)
  4. POST to query/{id}/answers/[x]/retrieve to retrieve to target modality

Emsy is perfectly right. Actually, the “Orthanc Explorer” GUI only uses the REST API for query/retrieve.

As a complement, you can find full sample Q/R sessions in Python within the official integration tests:

https://goo.gl/1otCgy

HTH,
Sébastien-