curl -X PUT 'https://api-staging.pixwel.com/api/comments/{id}' \
-H 'Authorization: Basic <credentials>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"_id": "507f1f77bcf86cd799439011",
"workRequest": "507f1f77bcf86cd799439011",
"user": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"emailNormal": "user@example.com",
"groups": [
{
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"$links": {
"self": "//example.com/path/to/object"
}
}
]
},
"body": "string",
"urls": {
"workRequest": "https://example.com/path/to/object"
},
"resolved": true,
"created": 0,
"$links": {
"self": "//example.com/path/to/object",
"workRequest": "//example.com/path/to/object",
"user": "//example.com/path/to/object"
},
"replies": null
}'