POST V2/odata/Project({key})/CopyProject

Creates copy of specified project entity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

Source project Id

integer

Required

Body Parameters

Parameters can be supplied to customize the copy process and are supplied in request body. Supported parameters are:

  • CopyTaskHierarchy (Boolean) - indicates whether task hierarchy is copied (default: true)
  • ProjectStartDate (DateTime) - overrides project start date (default: source project start date)

Example: {"CopyTaskHierarchy":false,"ProjectStartDate":"2016-03-01T00:00:00"}

Request Formats

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

Sample:

Sample not available.

Response Information

Resource Description

New project Id

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.