Hi.. Thanks for the response.
I was providing a wrong body format. That was the reason for the issue. PATCH operations have a specific body format. Even the documentation mentions this: https://github.com/microsoft/fhir-server/blob/main/docs/rest/JsonPatchRequests.http
I missed that. My bad.
Thanks