comparison OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp @ 4463:522e13a60cfc

"LocalAet" in "DicomModalities" to overwrite global "DicomAet" for SCU on a per-modality basis
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Jan 2021 17:36:23 +0100
parents da460bef88f8
children d0581d0b22b8
comparison
equal deleted inserted replaced
4462:da460bef88f8 4463:522e13a60cfc
669 "Level of the query (`Patient`, `Study`, `Series` or `Instance`)", true) 669 "Level of the query (`Patient`, `Study`, `Series` or `Instance`)", true)
670 .SetRequestField(KEY_NORMALIZE, RestApiCallDocumentation::Type_Boolean, 670 .SetRequestField(KEY_NORMALIZE, RestApiCallDocumentation::Type_Boolean,
671 "Whether to normalize the query, i.e. whether to wipe out from the query, the DICOM tags " 671 "Whether to normalize the query, i.e. whether to wipe out from the query, the DICOM tags "
672 "that are not applicable for the query-retrieve level of interest", false) 672 "that are not applicable for the query-retrieve level of interest", false)
673 .SetRequestField(KEY_LOCAL_AET, RestApiCallDocumentation::Type_String, 673 .SetRequestField(KEY_LOCAL_AET, RestApiCallDocumentation::Type_String,
674 "Local AET that is used for this commands, defaults to `DicomAet` configuration option", false) 674 "Local AET that is used for this commands, defaults to `DicomAet` configuration option. "
675 "Ignored if `DicomModalities` already sets `LocalAet` for this modality.", false)
675 .SetAnswerField("ID", RestApiCallDocumentation::Type_JsonObject, 676 .SetAnswerField("ID", RestApiCallDocumentation::Type_JsonObject,
676 "Identifier of the query, to be used with `/queries/{id}`") 677 "Identifier of the query, to be used with `/queries/{id}`")
677 .SetAnswerField("Path", RestApiCallDocumentation::Type_JsonObject, 678 .SetAnswerField("Path", RestApiCallDocumentation::Type_JsonObject,
678 "Root path to the query in the REST API"); 679 "Root path to the query in the REST API");
679 return; 680 return;
1395 "https://book.orthanc-server.com/users/rest.html#rest-store-scu") 1396 "https://book.orthanc-server.com/users/rest.html#rest-store-scu")
1396 .AddRequestType(MimeType_PlainText, "The Orthanc identifier of one resource to be sent") 1397 .AddRequestType(MimeType_PlainText, "The Orthanc identifier of one resource to be sent")
1397 .SetRequestField(KEY_RESOURCES, RestApiCallDocumentation::Type_JsonListOfStrings, 1398 .SetRequestField(KEY_RESOURCES, RestApiCallDocumentation::Type_JsonListOfStrings,
1398 "List of the Orthanc identifiers of all the DICOM resources to be sent", true) 1399 "List of the Orthanc identifiers of all the DICOM resources to be sent", true)
1399 .SetRequestField(KEY_LOCAL_AET, RestApiCallDocumentation::Type_String, 1400 .SetRequestField(KEY_LOCAL_AET, RestApiCallDocumentation::Type_String,
1400 "Local AET that is used for this commands, defaults to `DicomAet` configuration option", false) 1401 "Local AET that is used for this commands, defaults to `DicomAet` configuration option. "
1402 "Ignored if `DicomModalities` already sets `LocalAet` for this modality.", false)
1401 .SetRequestField(KEY_MOVE_ORIGINATOR_AET, RestApiCallDocumentation::Type_String, 1403 .SetRequestField(KEY_MOVE_ORIGINATOR_AET, RestApiCallDocumentation::Type_String,
1402 "Move originator AET that is used for this commands, in order to fake a C-MOVE SCU", false) 1404 "Move originator AET that is used for this commands, in order to fake a C-MOVE SCU", false)
1403 .SetRequestField(KEY_MOVE_ORIGINATOR_ID, RestApiCallDocumentation::Type_Number, 1405 .SetRequestField(KEY_MOVE_ORIGINATOR_ID, RestApiCallDocumentation::Type_Number,
1404 "Move originator ID that is used for this commands, in order to fake a C-MOVE SCU", false) 1406 "Move originator ID that is used for this commands, in order to fake a C-MOVE SCU", false)
1405 .SetRequestField(KEY_STORAGE_COMMITMENT, RestApiCallDocumentation::Type_Boolean, 1407 .SetRequestField(KEY_STORAGE_COMMITMENT, RestApiCallDocumentation::Type_Boolean,
1504 .SetRequestField(KEY_RESOURCES, RestApiCallDocumentation::Type_JsonListOfStrings, 1506 .SetRequestField(KEY_RESOURCES, RestApiCallDocumentation::Type_JsonListOfStrings,
1505 "List of the Orthanc identifiers of all the DICOM resources to be sent", true) 1507 "List of the Orthanc identifiers of all the DICOM resources to be sent", true)
1506 .SetRequestField(KEY_LEVEL, RestApiCallDocumentation::Type_String, 1508 .SetRequestField(KEY_LEVEL, RestApiCallDocumentation::Type_String,
1507 "Level of the query (`Patient`, `Study`, `Series` or `Instance`)", true) 1509 "Level of the query (`Patient`, `Study`, `Series` or `Instance`)", true)
1508 .SetRequestField(KEY_LOCAL_AET, RestApiCallDocumentation::Type_String, 1510 .SetRequestField(KEY_LOCAL_AET, RestApiCallDocumentation::Type_String,
1509 "Local AET that is used for this commands, defaults to `DicomAet` configuration option", false) 1511 "Local AET that is used for this commands, defaults to `DicomAet` configuration option. "
1512 "Ignored if `DicomModalities` already sets `LocalAet` for this modality.", false)
1510 .SetRequestField(KEY_TARGET_AET, RestApiCallDocumentation::Type_String, 1513 .SetRequestField(KEY_TARGET_AET, RestApiCallDocumentation::Type_String,
1511 "Target AET that will be used by the remote DICOM modality as a target for its C-STORE SCU " 1514 "Target AET that will be used by the remote DICOM modality as a target for its C-STORE SCU "
1512 "commands, defaults to `DicomAet` configuration option in order to do a simple query/retrieve", false) 1515 "commands, defaults to `DicomAet` configuration option in order to do a simple query/retrieve", false)
1513 .SetRequestField(KEY_TIMEOUT, RestApiCallDocumentation::Type_Number, 1516 .SetRequestField(KEY_TIMEOUT, RestApiCallDocumentation::Type_Number,
1514 "Timeout for the C-STORE command, in seconds", false) 1517 "Timeout for the C-STORE command, in seconds", false)