PUT api/todo/assigntasktonegotiator?taskId={taskId}&negotiatorId={negotiatorId}

Assign a task to a negotiator by its Id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
taskId

integer

Required

negotiatorId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Dezrez.Core.DataContracts.External.Api.ToDo.Query.ToDoTaskDataContract
NameDescriptionTypeAdditional information
ToDoDetails

Dezrez.Core.DataContracts.External.Api.ToDo.Query.ToDoDetailsDataContract

None.

ClaimedNegotiator

Dezrez.Core.DataContracts.External.Api.ToDo.Query.NegotiatorTodoDataContract

None.

DueDate

date

None.

Overdue

boolean

None.

StatusType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

BranchId

integer

None.

Id

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": "2024-11-21T09:31:55.6993966Z",
  "Overdue": true,
  "StatusType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "BranchId": 3,
  "Id": 4
}