POST v{version}/Project/DuplicateProject
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
CopyProjectQueueModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ByUserId | integer |
Required |
|
| UnderCompanyId | integer |
Required |
|
| UnderGroupId | integer |
None. |
|
| NewProject | CreateProjectModel |
Required |
|
| CopyCustomFieldProjects | boolean |
Required |
|
| CopyMembers | boolean |
Required |
|
| CopyTaskInfo | CopyTaskInfoModel |
Required |
Request Formats
application/json, text/json
Sample:
{
"ByUserId": 1,
"UnderCompanyId": 2,
"UnderGroupId": 1,
"NewProject": {
"Name": "sample string 1",
"Description": "sample string 2",
"DefaultView": 0,
"DueDate": "2025-12-14T09:41:34.2346636+00:00",
"Portfolios": [
{
"PortfolioId": 1,
"CompanyId": 2,
"CreatedByUserId": 3,
"Name": "sample string 4",
"Members": [
{
"UserId": 1,
"IsAdmin": true
},
{
"UserId": 1,
"IsAdmin": true
}
],
"TotalProjects": 5,
"Columns": [
{
"Id": 1,
"Type": "sample string 2",
"Width": 3,
"OrderIndex": 4.0,
"CustomField": {
"CustomFieldId": 1,
"AppliedOn": 0,
"Type": "sample string 1",
"Name": "sample string 2",
"Description": "sample string 3",
"Precision": 4,
"CreatedAt": "2025-12-14T09:41:34.3127854+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3127854+00:00",
"Enums": [
{
"EnumId": 1,
"CustomFieldId": 1,
"Name": "sample string 2",
"ColorId": 3,
"IsEnabled": true,
"OrderId": 1,
"ProbabilityValue": 5,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
},
{
"EnumId": 1,
"CustomFieldId": 1,
"Name": "sample string 2",
"ColorId": 3,
"IsEnabled": true,
"OrderId": 1,
"ProbabilityValue": 5,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
}
]
},
"IsVisible": true
},
{
"Id": 1,
"Type": "sample string 2",
"Width": 3,
"OrderIndex": 4.0,
"CustomField": {
"CustomFieldId": 1,
"AppliedOn": 0,
"Type": "sample string 1",
"Name": "sample string 2",
"Description": "sample string 3",
"Precision": 4,
"CreatedAt": "2025-12-14T09:41:34.3127854+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3127854+00:00",
"Enums": [
{
"EnumId": 1,
"CustomFieldId": 1,
"Name": "sample string 2",
"ColorId": 3,
"IsEnabled": true,
"OrderId": 1,
"ProbabilityValue": 5,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
},
{
"EnumId": 1,
"CustomFieldId": 1,
"Name": "sample string 2",
"ColorId": 3,
"IsEnabled": true,
"OrderId": 1,
"ProbabilityValue": 5,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
}
]
},
"IsVisible": true
}
],
"OrderIndex": 6.0,
"DefaultSort": {
"PortfolioId": 1,
"Type": "sample string 2",
"Ascending": true,
"CustomField": {
"CustomFieldId": 1,
"Type": "sample string 1",
"Name": "sample string 2",
"Description": "sample string 3",
"Precision": 4,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
}
},
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
},
{
"PortfolioId": 1,
"CompanyId": 2,
"CreatedByUserId": 3,
"Name": "sample string 4",
"Members": [
{
"UserId": 1,
"IsAdmin": true
},
{
"UserId": 1,
"IsAdmin": true
}
],
"TotalProjects": 5,
"Columns": [
{
"Id": 1,
"Type": "sample string 2",
"Width": 3,
"OrderIndex": 4.0,
"CustomField": {
"CustomFieldId": 1,
"AppliedOn": 0,
"Type": "sample string 1",
"Name": "sample string 2",
"Description": "sample string 3",
"Precision": 4,
"CreatedAt": "2025-12-14T09:41:34.3127854+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3127854+00:00",
"Enums": [
{
"EnumId": 1,
"CustomFieldId": 1,
"Name": "sample string 2",
"ColorId": 3,
"IsEnabled": true,
"OrderId": 1,
"ProbabilityValue": 5,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
},
{
"EnumId": 1,
"CustomFieldId": 1,
"Name": "sample string 2",
"ColorId": 3,
"IsEnabled": true,
"OrderId": 1,
"ProbabilityValue": 5,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
}
]
},
"IsVisible": true
},
{
"Id": 1,
"Type": "sample string 2",
"Width": 3,
"OrderIndex": 4.0,
"CustomField": {
"CustomFieldId": 1,
"AppliedOn": 0,
"Type": "sample string 1",
"Name": "sample string 2",
"Description": "sample string 3",
"Precision": 4,
"CreatedAt": "2025-12-14T09:41:34.3127854+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3127854+00:00",
"Enums": [
{
"EnumId": 1,
"CustomFieldId": 1,
"Name": "sample string 2",
"ColorId": 3,
"IsEnabled": true,
"OrderId": 1,
"ProbabilityValue": 5,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
},
{
"EnumId": 1,
"CustomFieldId": 1,
"Name": "sample string 2",
"ColorId": 3,
"IsEnabled": true,
"OrderId": 1,
"ProbabilityValue": 5,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
}
]
},
"IsVisible": true
}
],
"OrderIndex": 6.0,
"DefaultSort": {
"PortfolioId": 1,
"Type": "sample string 2",
"Ascending": true,
"CustomField": {
"CustomFieldId": 1,
"Type": "sample string 1",
"Name": "sample string 2",
"Description": "sample string 3",
"Precision": 4,
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
}
},
"CreatedAt": "2025-12-14T09:41:34.3440355+00:00",
"ModifiedAt": "2025-12-14T09:41:34.3440355+00:00"
}
],
"IsPrivate": true
},
"CopyCustomFieldProjects": true,
"CopyMembers": true,
"CopyTaskInfo": null
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.