Has anyone used a tool like Postman (https://www.getpostman.com) to use the API to find a patient? I am getting a bad request at the moment. Any tips or insight would be appreciated.
Thanks
Greg
Hello,You are seemingly confusing the REST API of Orthanc with the DICOM protocol. Indeed, your JSON request uses the REST API, whereas "www.dicomserver.co.uk" uses the DICOM protocol. What are you exactly trying to do?Here is a sample command-line session that would lookup for a patient stored by Orthanc, then send it to "www.dicomserver.co.uk" using the REST API of Orthanc:# curl -X POST http://localhost:8042/tools/find -d '{"Level":"Study","Query":{"PatientName":"*G*"}}'[ "6e2c0ec2-5d99c8ca-c1c21cee-79a09605-68391d12" ]# curl -X POST http://localhost:8042/modalities/sample/store -d '[ "6e2c0ec2-5d99c8ca-c1c21cee-79a09605-68391d12" ]'{}The first command retrieves the Orthanc identifier of the study of interest. The second command triggers a DICOM C-Store session to send the study to the remote modality.HTH,Sébastien-PS: Note however that for security reasons, it is strongly discouraged to use the DICOM protocol over Internet: The DICOMweb protocol should be used in such situations.