Scenario: The user wants to update a custom task field via task update API.
Solution:
API URL: POST https://{host}/v2/Task.svc/Update?accessKey=AccessKey&secretKey=SecretKey
Example Request:
Content-Type: application/json
JSON Body/Payload
{
“UserTaskId”: “6c7e015b-dd1c-11ee-******-**********”,
“Name”: “Website Lead Call: TEST LSQ”,
“Description”: “owner test”,
“RelatedEntity”: 1,
“RelatedEntityId”: “dbd7f35d-5d7e-4b9f-a639-**************”,
“OwnerId”: “2f2659f3-b808-11ee-807d-**************”,
“CustomFields”: {
“mx_Custom_1”: “7”
}
}
P.S: We do get a success response on passing the following incorrect payload but the field value does not get updated. Thus, it is important to pass the custom fields in the right format as mentioned in the above solution.
