POST api/Planning/Item/Move
Request Information
URI Parameters
None.
Body Parameters
PlanningItemMove| Name | Description | Type | Additional information |
|---|---|---|---|
| OldParentItemId | integer |
None. |
|
| OldParentItemType | integer |
None. |
|
| OldParentId | string |
None. |
|
| NewParentItemId | integer |
None. |
|
| NewParentItemType | integer |
None. |
|
| NewParentId | string |
None. |
|
| OrderId | integer |
None. |
|
| ProjectId | integer |
None. |
|
| ProjectType | integer |
None. |
|
| ItemId | integer |
None. |
|
| ItemType | integer |
None. |
|
| Id | string |
None. |
|
| IsWorkItem | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OldParentItemId": 1,
"OldParentItemType": 2,
"OldParentId": "6(7)-1(2)",
"NewParentItemId": 3,
"NewParentItemType": 4,
"NewParentId": "6(7)-3(4)",
"OrderId": 5,
"ProjectId": 6,
"ProjectType": 7,
"ItemId": 8,
"ItemType": 9,
"Id": "6(7)-8(9)",
"IsWorkItem": false
}
application/xml, text/xml
Sample:
<PlanningItemMove xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Planning"> <ItemId>8</ItemId> <ItemType>9</ItemType> <ProjectId>6</ProjectId> <ProjectType>7</ProjectType> <NewParentItemId>3</NewParentItemId> <NewParentItemType>4</NewParentItemType> <OldParentItemId>1</OldParentItemId> <OldParentItemType>2</OldParentItemType> <OrderId>5</OrderId> </PlanningItemMove>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
API_Data_ListOfPlanningItemTime| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | Collection of PlanningItemTime |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": [
{
"Start": "2025-10-23 23:59:22",
"End": "2025-10-23 23:59:22",
"IsMoving": true,
"ProjectId": 2,
"ProjectType": 3,
"ItemId": 4,
"ItemType": 5,
"Id": "2(3)-4(5)",
"IsWorkItem": true
},
{
"Start": "2025-10-23 23:59:22",
"End": "2025-10-23 23:59:22",
"IsMoving": true,
"ProjectId": 2,
"ProjectType": 3,
"ItemId": 4,
"ItemType": 5,
"Id": "2(3)-4(5)",
"IsWorkItem": true
}
]
}
application/xml, text/xml
Sample:
<API_Data_ArrayOfPlanningItemTime xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Planning">
<d2p1:PlanningItemTime>
<d2p1:ItemId>4</d2p1:ItemId>
<d2p1:ItemType>5</d2p1:ItemType>
<d2p1:ProjectId>2</d2p1:ProjectId>
<d2p1:ProjectType>3</d2p1:ProjectType>
<d2p1:End>2025-10-23T23:59:22.4443541-07:00</d2p1:End>
<d2p1:IsMoving>true</d2p1:IsMoving>
<d2p1:Start>2025-10-23T23:59:22.4443541-07:00</d2p1:Start>
</d2p1:PlanningItemTime>
<d2p1:PlanningItemTime>
<d2p1:ItemId>4</d2p1:ItemId>
<d2p1:ItemType>5</d2p1:ItemType>
<d2p1:ProjectId>2</d2p1:ProjectId>
<d2p1:ProjectType>3</d2p1:ProjectType>
<d2p1:End>2025-10-23T23:59:22.4443541-07:00</d2p1:End>
<d2p1:IsMoving>true</d2p1:IsMoving>
<d2p1:Start>2025-10-23T23:59:22.4443541-07:00</d2p1:Start>
</d2p1:PlanningItemTime>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_ArrayOfPlanningItemTime>