POST v2/tasks/{id}/assignments

Adds an assignment to task.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

TaskAssignment
NameDescriptionTypeAdditional information
Id

Id of an Employee, Contact, Pool or Team.

integer

None.

Name

Name of an Employee, Contact, Pool or Team.

string

None.

Type

Type is required. Accepted values are [employee|contact|pool|team].

string

Required

Matching regular expression pattern: employee|contact|pool|team

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "type": "sample string 3"
}

application/xml, text/xml

Sample:
<TaskAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.V2.Tasks">
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Type>sample string 3</Type>
</TaskAssignment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.