POST api/Planning/Item/GetDependencies
Request Information
URI Parameters
None.
Body Parameters
PlanningItemBase| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"ProjectId": 1,
"ProjectType": 2,
"ItemId": 3,
"ItemType": 4,
"Id": "1(2)-3(4)",
"IsWorkItem": true
}
application/xml, text/xml
Sample:
<PlanningItemBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Planning"> <ItemId>3</ItemId> <ItemType>4</ItemType> <ProjectId>1</ProjectId> <ProjectType>2</ProjectType> </PlanningItemBase>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
API_Data_PlanningDependency| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | PlanningDependency |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": {
"ProjectId": 1,
"ProjectType": 2,
"FromItemId": 3,
"FromItemType": 4,
"FromId": "1(2)-3(4)",
"ToItemId": 5,
"ToItemType": 6,
"ToId": "1(2)-5(6)",
"Id": "[1(2)-3(4)]->[1(2)-5(6)]",
"Type": 7,
"Lag": 8,
"IsWorkItem": true
}
}
application/xml, text/xml
Sample:
<API_Data_PlanningDependency 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:FromItemId>3</d2p1:FromItemId>
<d2p1:FromItemType>4</d2p1:FromItemType>
<d2p1:Lag>8</d2p1:Lag>
<d2p1:ProjectId>1</d2p1:ProjectId>
<d2p1:ProjectType>2</d2p1:ProjectType>
<d2p1:ToItemId>5</d2p1:ToItemId>
<d2p1:ToItemType>6</d2p1:ToItemType>
<d2p1:Type>7</d2p1:Type>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_PlanningDependency>