Targetprocess

The Targetprocess Developer Hub

Welcome to the Targetprocess developer hub. Here you'll find comprehensive guides and documentation to help you start working with Targetprocess as quickly as possible and support you if you get stuck. Let's jump right in!

Docs

Undelete API

Undelete Projects and Users

It is possible to manage deleted Projects and Users via the API.

/api/deletedItems/v1

Manage deleted Projects via the API

Deleted Projects are available by call:

GET /api/deletedItems/v1/projects

The result will be as follows:

[{
  "resourceType": "Project",
  "id": 3,
  "name": "HelpDesk",
  "deleteDate": "\/Date(1492591022000+0300)\/",
  "color": null,
  "process": {
    "resourceType": "Process",
    "id": 1,
    "name": "Kanban TP"
  },
  "lastEditor": {
    "resourceType": "GeneralUser",
    "id": 9571,
    "firstName": "Alla",
    "lastName": "Pogotskaya",
    "email": "alla@somemail.com"
  }
},

]

If you need to restore deleted a Project, use the following query. Just replace {id} with the ID of the target Project:

POST /api/deletedItems/v1/projects/{id}/restore

Manage deleted users via API

Similar calls for deleted Users. To get a list, use the following endpoint:

GET /api/deletedItems/v1/users

To restore a User, use:

POST /api/deletedItems/v1/users/{id}/restore

Bulk undelete is not supported. Restore one entity per single API request.

Undelete Projects and Users (v.3.10 and earlier)

It is possible to undelete a project or a user using the following endpoint:

POST /api/v1/Undelete
Content-type: application/json

Two fields should be passed as a parameters within POST request:

entityType: Project or User
id: numeric ID of an entity that is the subject for recovery

Undelete Project:

{
 "entityType" : "Project",
 "Id": 13
}

Undelete User:

{
 "entityType" : "User",
 "Id": 9
}

Undelete Work Items

Undelete action for work items (User Stories, Tasks, Bugs, Features, Epics, Requests, Releases, Sprints etc.) is not supported for users within UI. However it is possible to restore entities through direct database access. Data recovery scripts are executed by Support Team members per your request.

Should you require any entities to be recovered, please contact our Support Team by email support@targetprocess.com. Please attach additional information about the entities you want to restore:

  • type and ID# of entities
  • when and by whom were they deleted
  • what project contained them
  • what is the URL address of your Targetprocess account

Undelete API


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.