- Integrations and API
- Integration with external services via Zapier connector
- How to configure Google OAuth for Email Integration Plugin
- Azure DevOps Integration: Technical Overview
- Embedding content from external tools
- How to configure Outlook OAuth for Email Integration Plugin
- Native Jira Integration Released
- Import Git / GitHub Commits to Targetprocess
Both native and extendable domain entities can be undeleted using the Undelete API.
https://dev.targetprocess.com/docs/undelete-api
You will need the Postman app or any other app used to process POST API requests.
Once you have the app installed, you can proceed to getting an access_token.
Click on your account icon -> Access token tab -> Add token -> Give it a name (any) -> Copy the token that is generated
*Please, note that only admins have the right to undelete, so the access_token should be created from the admin account.
Then you can proceed to the creation of POST request in the app.
The URL will look like this:
https://yourdomain.tpondemand.com/api/v1/undelete?access_token=MTpjM2RlZUpFQ3RHRzY4clpFTW9hcE9LdHc1UVhBaVorM0ZyY2UxajZpUHNzPQ==
You need to change yourdomain to your Targetprocess instance domain and you need to use the token that you have generated from the admin account of your instance.
Then you can go to the Body tab and add the body of the API request that should include the name of the entity type and the ID if the entity.
The format of the body is the following:
{
"Id": 296173,
"EntityType": "Feature"
}
Data type is RAW Json.
*Please, make sure that you use the default term if you are using custom names for the entity types.
*We recommend using "UserStory" format instead of "User Story", so one word with capital letters marking the start of each word, if the term consists of two or more words.
Now you can click Send and check the app response. Response code 200 means that the entity has been successfully undeleted.
It takes some time for the Search to reindex the undeleted entity. You can access it via an URL: https://yourdomain.tpondemand.com/entity/123456
Here 123456 is the id of the entity that you have just undeleted, so you should change it to the one you need.
If you face any errors, issues, or concerns, please contact Support.
Still have a question?
We're here to help! Just contact our friendly support team.