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