Work Items

Work with Assignable Entities in Targetprocess with REST API

Update Planned Dates

Set Planned Start Date and Planned End Date for multiple entities:

POST /api/v1/Assignables/bulk?token=[your token]
[
  {
    "Id": 70,
    "PlannedStartDate": "2018-01-01",
    "PlannedEndDate": "2018-01-31"
  },
  {
    "Id": 73,
    "PlannedStartDate": "2018-01-16",
    "PlannedEndDate": "2018-02-15"
  }
]

Update Rank

Set Numeric Priority for multiple entities:

POST /api/v1/Assignables/bulk?token=[your token]
[
  {
    "Id": 70,
    "NumericPriority": 100
  },
  {
    "Id": 73,
    "NumericPriority": 102.5
  }
]

Append Tag

Get ID of existing Tag:

GET /api/v1/Tags?where=Name eq 'keyword'

Add Tag with existing ID:

POST /api/v1/Assignables?token=[your token]
{
    "Id": 70,
    "TagObjects": {
        "Items":[
        		{"Id": 41}
        ]
    }
}