Include tenantID in the API response

We are currently working on automating ticket creation for errors from Nerdio based on a Webhook trigger. With this we want to automaticly create a ticket in the correct Autotask account (Customer) based on the account Id that is given.

Sadly we don't have a way to automaticly match the account Id from nerdio to a account in Autotask. We also tried using the nerdio API to get a list of accounts, but this only contains a Name which we also can't use, because it is not always the same.

Now for the actual question: Would it be a idea to add the customer m365 tenantId in the: GET /rest-api/v1/accounts (Get the list of accounts) response of your API.

Instead of this response:
[
{
"id": 0,
"name": "string"
}
]

Have this response:
[
{
"id": 0,
"name": "string"
"tenantId": "string"
}
]

With this we are able to match.

 

This would help automating our process alot.

1

Comments (1 comment)

2
Avatar
Gido Veekens

Thanks Sander Slagter. We recently got this request and added it to the roadmap of our upcoming release, it should be there soon!

Please sign in to leave a comment.