POST api/Planning/Item/ChangeTime
Request Information
URI Parameters
None.
Body Parameters
PlanningItemTimeName | Description | Type | Additional information |
---|---|---|---|
Start | date |
None. |
|
End | date |
None. |
|
IsMoving | boolean |
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:
{ "Start": "2024-12-21 19:09:12", "End": "2024-12-21 19:09:12", "IsMoving": true, "ProjectId": 2, "ProjectType": 3, "ItemId": 4, "ItemType": 5, "Id": "2(3)-4(5)", "IsWorkItem": true }
application/xml, text/xml
Sample:
<PlanningItemTime xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Planning"> <ItemId>4</ItemId> <ItemType>5</ItemType> <ProjectId>2</ProjectId> <ProjectType>3</ProjectType> <End>2024-12-21T19:09:12.5818075-08:00</End> <IsMoving>true</IsMoving> <Start>2024-12-21T19:09:12.5818075-08:00</Start> </PlanningItemTime>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
API_Data_ListOfPlanningItemTimeName | 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": "2024-12-21 19:09:12", "End": "2024-12-21 19:09:12", "IsMoving": true, "ProjectId": 2, "ProjectType": 3, "ItemId": 4, "ItemType": 5, "Id": "2(3)-4(5)", "IsWorkItem": true }, { "Start": "2024-12-21 19:09:12", "End": "2024-12-21 19:09:12", "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>2024-12-21T19:09:12.5818075-08:00</d2p1:End> <d2p1:IsMoving>true</d2p1:IsMoving> <d2p1:Start>2024-12-21T19:09:12.5818075-08: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>2024-12-21T19:09:12.5818075-08:00</d2p1:End> <d2p1:IsMoving>true</d2p1:IsMoving> <d2p1:Start>2024-12-21T19:09:12.5818075-08:00</d2p1:Start> </d2p1:PlanningItemTime> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfPlanningItemTime>