curl --request PUT \
--url https://api.example.com/api/Candidates/{candidateId}/WorkHistory/{workHistoryId} \
--header 'Content-Type: application/json' \
--data '
{
"id": 123,
"sourceID": 1,
"sourceName": "<string>",
"jobTypeID": 123,
"jobTypeName": "<string>",
"title": "<string>",
"organizationName": "<string>",
"description": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"isDeleted": true,
"deletedDate": "2023-11-07T05:31:56Z",
"deletedBy": 123,
"createdDate": "2023-11-07T05:31:56Z"
}
'