Mercurial > hg > orthanc-book
changeset 207:66295dffbf33
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 16 Feb 2019 11:00:19 +0100 |
parents | f6c812c4026f |
children | 7ff807cc5ade |
files | Sphinx/source/users/rest.rst |
diffstat | 1 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Sphinx/source/users/rest.rst Sat Feb 16 09:56:20 2019 +0000 +++ b/Sphinx/source/users/rest.rst Sat Feb 16 11:00:19 2019 +0100 @@ -586,7 +586,7 @@ You can perform a C-Move to retrieve all studies within the original query using a post command and identifying the Modality (named in this -example `"Orthanc"`), to be one to in the POST contents:: +example ``Orthanc``), to be one to in the POST contents:: $ curl --request POST --url http://localhost:8042/queries/5af318ac-78fb-47ff-b0b0-0df18b0588e0/retrieve --data Orthanc @@ -595,12 +595,17 @@ $ curl --request POST --url http://localhost:8042/queries/5af318ac-78fb-47ff-b0b0-0df18b0588e0/answers/0/retrieve --data Orthanc -If C-Moves take too long (for example, performing a C-Move of a big study) -you may run the request in asynchronous fashion: +If C-Moves take too long (for example, performing a C-Move of a big +study), you may run the request in asynchronous fashion, which will +create a job in Orthanc:: - $ curl --request POST --url http://localhost:8042/queries/5af318ac-78fb-47ff-b0b0-0df18b0588e0/retrieve --data '{"TargetAet":"Orthanc","Synchronous":false}' + $ curl --request POST --url http://localhost:8042/queries/5af318ac-78fb-47ff-b0b0-0df18b0588e0/retrieve \ + --data '{"TargetAet":"Orthanc","Synchronous":false}' + -The answer of this POST request is the job ID taking care of the C-Move +.. highlight:: bash + +The answer of this POST request is the job ID taking care of the C-Move:: { "ID" : "11541b16-e368-41cf-a8e9-3acf4061d238",