POST api/v1/task/CopyTasks

Request Information

URI Parameters

None.

Body Parameters

CopyTasksRequest
NameDescriptionTypeAdditional information
newProjectId

integer

None.

oldProjectId

integer

None.

tasksToCopy

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "newProjectId": 1,
  "oldProjectId": 2,
  "tasksToCopy": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<CopyTasksRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JumpplApiExternal.Models.CustomModelsV1">
  <newProjectId>1</newProjectId>
  <oldProjectId>2</oldProjectId>
  <tasksToCopy xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </tasksToCopy>
</CopyTasksRequest>

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.