PUT api/todo/assigntasktonegotiator?taskId={taskId}&negotiatorId={negotiatorId}
Assign a task to a negotiator by its Id. Processes this default to do API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| taskId |
The unique identifier of the task resource. |
integer |
Required |
| negotiatorId |
The unique identifier of the negotiator resource. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The response returned after the operation completes.
ToDoTaskDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| ToDoDetails |
The to do details value. |
ToDoDetailsDataContract |
None. |
| ClaimedNegotiator |
The claimed negotiator value. |
NegotiatorTodoDataContract |
None. |
| DueDate |
The due date, expressed as a date and time. |
date |
None. |
| Overdue |
Indicates whether overdue is true. |
boolean |
None. |
| StatusType |
The status type value. |
EnumDataContract |
None. |
| BranchId |
The unique identifier of the related branch resource. |
integer |
None. |
| Id |
The unique identifier of this resource. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ToDoDetails": {
"Title": "sample string 1",
"Description": "sample string 2",
"Type": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"CompletedTasksNumber": 3,
"TotalTasksNumber": 4,
"Id": 5
},
"ClaimedNegotiator": {
"Email": {
"Type": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Value": "sample string 1",
"Notes": "sample string 2",
"ContactOrder": 3,
"AllowContact": true,
"MarketingContactStatus": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Name": "sample string 5",
"Id": 6
},
"ContactName": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Id": 4
},
"DueDate": "2026-07-23T08:23:04.98478Z",
"Overdue": true,
"StatusType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"BranchId": 3,
"Id": 4
}