Not getting response from "find-study" "POST" request.

Hi,

Please advise why im getting an empty response when trying to post a request for find-study.

http://evdcvrtmbuild01:8042/modalities/Test101/find-study
httpRequest.body(“{"PatientID":"TestOne”}");

Response: {
“HttpError” : “Internal Server Error”,
“HttpStatus” : 500,
“Message” : “DicomUserConnection: The C-FIND command is not supported by the remote SCP”,
“Method” : “POST”,
“OrthancError” : “DicomUserConnection: The C-FIND command is not supported by the remote SCP”,
“OrthancStatus” : 2016,
“Uri” : “/modalities/Test101/find-study”
}

Does this mean, im not using the correct Orthanc version and i need to upgrade to the latest version or maybe something else?.

Thanks in Advanced.

A. M.

Please see the example. You should beusing query against a modality:

curl --request POST
–url http://localhost:8042/modalities/sample/query
–data ‘{“Level”:“Study”,“Query”: {“PatientID”:“”,“StudyDescription”:“Chest”,“PatientName”:“”}}’

If you are searching Orthanc directly you use find but not selecting the modality:
curl --request POST --url http://localhost:8042/tools/find --data ‘{“Level”:“Instance”,“Query”:{“Modality”:“CR”,“StudyDate”:“20180323-”,“PatientID”:“*”}}’