POST api/Planning/Item/DeleteDependencies

Request Information

URI Parameters

None.

Body Parameters

PlanningItemBase
NameDescriptionTypeAdditional 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

ApiReturn
NameDescriptionTypeAdditional 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>