# HG changeset patch # User Alain Mazy # Date 1733767180 -3600 # Node ID 981f74cb5f9868f66e77b18444e93b5caa4e97a0 # Parent 9a4c9e0218d9da5089c8e169963aa50567618761 get-scu (cont) diff -r 9a4c9e0218d9 -r 981f74cb5f98 Sphinx/source/users/rest.rst --- a/Sphinx/source/users/rest.rst Mon Dec 09 18:46:28 2024 +0100 +++ b/Sphinx/source/users/rest.rst Mon Dec 09 18:59:40 2024 +0100 @@ -861,6 +861,27 @@ "Timeout": 60 }' +**Note:** When initiating the DICOM association to perform a C-Get, Orthanc +needs to propose the SOP classes that it will accept to receive. By default, +Orthanc will propose the 120 most common SOP classes defined in the DCMTK library. +If you know the resources you are going to retrieve contain uncommon SOP classes, +you may provide a ``"SOPClassesInStudy"`` field in the payload. In this case, Orthanc +will only propose only these SOP classes during the association; provided that they are +accepted by Orthanc (see ``"AcceptedSopClasses"/"RejectedSopClasses"`` configurations):: + + $ curl --request POST --url http://localhost:8042/modalities/samples/get \ + --data '{ + "Level" : "Study", + "Resources" : [ + { + "StudyInstanceUID": "1.2.840.113543.6.6.4.7.64067529866380271256212683512383713111129", + "SOPClassesInStudy": "1.2.840.10008.5.1.4.34.10\\1.2.840.10008.5.1.4.34.7" + } + ], + "Timeout": 60 + }' + + Performing Query/Retrieve (C-Find) and Find with REST -----------------------------------------------------