changeset 403:e73148f45930

async c-store
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 29 Apr 2020 09:21:36 +0200
parents 5ed3e680364e
children 5119ccd08aec
files Sphinx/source/users/rest.rst
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/rest.rst	Mon Apr 27 10:11:21 2020 +0200
+++ b/Sphinx/source/users/rest.rst	Wed Apr 29 09:21:36 2020 +0200
@@ -584,6 +584,14 @@
 Note that you can send isolated DICOM instances with this command, but
 also entire patients, studies or series.
 
+For more advanced uses (for instance if you need to monitor the state
+of a transfer), you can start the transfer in :ref:`asynchronous mode
+<jobs>`, which will provide you with the identifier of the Orthanc job
+that handles the transfer::
+
+  $ curl -X POST http://localhost:8042/modalities/sample/store -d '{"Resources":["66c8e41e-ac3a9029-0b85e42a-8195ee0a-92c2e62e"],"Synchronous":false}'
+
+
 Bulk Store SCU
 ^^^^^^^^^^^^^^