comparison Sphinx/source/users/rest.rst @ 403:e73148f45930

async c-store
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 29 Apr 2020 09:21:36 +0200
parents f9c4c6144fec
children 5119ccd08aec
comparison
equal deleted inserted replaced
402:5ed3e680364e 403:e73148f45930
581 The ``/sample/`` component of the URI corresponds to the identifier of 581 The ``/sample/`` component of the URI corresponds to the identifier of
582 the remote modality, as specified above in the configuration file. 582 the remote modality, as specified above in the configuration file.
583 583
584 Note that you can send isolated DICOM instances with this command, but 584 Note that you can send isolated DICOM instances with this command, but
585 also entire patients, studies or series. 585 also entire patients, studies or series.
586
587 For more advanced uses (for instance if you need to monitor the state
588 of a transfer), you can start the transfer in :ref:`asynchronous mode
589 <jobs>`, which will provide you with the identifier of the Orthanc job
590 that handles the transfer::
591
592 $ curl -X POST http://localhost:8042/modalities/sample/store -d '{"Resources":["66c8e41e-ac3a9029-0b85e42a-8195ee0a-92c2e62e"],"Synchronous":false}'
593
586 594
587 Bulk Store SCU 595 Bulk Store SCU
588 ^^^^^^^^^^^^^^ 596 ^^^^^^^^^^^^^^
589 597
590 .. highlight:: bash 598 .. highlight:: bash