While updating the record of patient. using PATCH I am getting error :- "Parameter 'If-Match Header Version' content is invalid". I am putting Etag in If-Match which i get from the get request of Patient i.e. - /Patient/:id .
what to put in If-Match header ?
Error Body :
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "business-rule**",
"details": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/operation-outcome",
"code": "MSG_PARAM_INVALID",
"display": "Parameter 'If-Match Header Version' content is invalid"
}
],
"text": "
**"
},
"diagnostics": "If-Match Header Version: does not match expected format"
}
]
}
Kindly let me know what I am doing wrong in this.