---
title: "Retrieve all answers with C-MOVE SCU"
method: POST
path: "/queries/{id}/retrieve"
tags: ["Networking"]
---

# Retrieve all answers with C-MOVE SCU

`POST /queries/{id}/retrieve`

Start a C-MOVE SCU command as a job, in order to retrieve all the answers associated with the query/retrieve operation whose identifier is provided in the URL: https://orthanc.uclouvain.be/book/users/rest.html#performing-retrieve-c-move

## Path parameters

- `id` string, required

## Request body

- object
  - `Asynchronous` boolean — If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.
  - `Full` boolean — If set to `true`, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)
  - `Permissive` boolean — If `true`, ignore errors during the individual steps of the job. Default value is `false`.
  - `Priority` number — In asynchronous mode, the priority of the job. The higher the value, the higher the priority. Default value is `0`
  - `RetrieveMethod` string — Force usage of C-MOVE or C-GET to retrieve the resource. If note defined in the payload, the retrieve method is defined in the DicomDefaultRetrieveMethod configuration or in DicomModalities->..->RetrieveMethod
  - `Simplify` boolean — If set to `true`, report the DICOM tags in human-readable format (using the symbolic name of the tags)
  - `Synchronous` boolean — If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.
  - `TargetAet` string — AET of the target modality. By default, the AET of Orthanc is used, as defined in the `DicomAet` configuration option.
  - `Timeout` number — DICOM SCU Timeout for this C-MOVE or C-GET command, in seconds. Orthanc will close the DICOM association if no DICOM messages (e.g., C-STORE sub-operations or responses) are received within this time period.
  - `UserData` object — User data that will travel along with the job.

## Response `200`

- object
  - `ID` string — In asynchronous mode, identifier of the job
  - `Path` string — In asynchronous mode, path to access the job in the REST API

---

[API](https://skmtc.net/uclouvain/apis/orthanc-api.md) · [All operations](https://skmtc.net/uclouvain/apis/orthanc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uclouvain/orthanc-api/revisions/dbfb49bf0bc7/schema)
