Hey madhavi_l
oh! the last parameter? Right sorry - I didnt realise
Im using ReadyAPI! and it appears that if you dont include a value on the last query parm - the whole parm itself is removed - which is the same behaviour in SoapUI I'm assuming?
Yeah- that's no problem - just change the order of the parameters so any parameter you want to submit a blank/no value on isn't the last parameter - then it'll work fine.
The rules around query parms in REST is pretty clear - you can submit them in any order you wish
So - using your example URL
https://<server>/<Service>?patient=123&_query=DocumentType&DocumentTypeIds=
here above - 'patient' and 'query' can be submitted with blanks/no value, but DocumentTypeIds cant be blank
If you want to submit blank DocumentTypeIds - just alter the sequence of parms so the one you want blank IS NOT the last parm in the sequence, so it reads like the following:
https://<server>/<Service>?patient=123&DocumentTypeIds=&_query=DocumentType
Clear?
Cheers,
rich