If you are looking to actually query the MWL's from the RIS using an API and not from the modality directly, you can try something like this:
curl -d '{"PatientID":"","ScheduledProcedureStepSequence": [{"Modality": "MR"}]}' localhost:8042/modalities/SELF/find-worklist
To use that method you would have to setup your Orthanc server as a Modality in your orthanc.json config. I use SELF as an entry.
"DicomModalities" : {
"SELF" : {
"AET" : "AET",
"Port" : 4242,
"Host" : "ip",
"Manufacturer" : "Generic",
"AllowEcho" : true,
"AllowFind" : true,
"AllowMove" : true,
"AllowStore" : true,
"UseDicomTls" : false
},
findscu from dcmtk is not bad for testing purposes also.
Normally, the modality itself (CT, MR, US) does the query using the DICOM protocol, and the orthanc MWL plug-in will handle that.