API Question: Find out object type by ID | Community
Skip to main content
lgaertner
Level 9
April 20, 2023
Solved

API Question: Find out object type by ID

  • April 20, 2023
  • 1 reply
  • 650 views

Hello,

 

I am working a lot with the Workfront API directly. Every object does have a unique 32-digit ID in the database. As the format of those IDs is always identically (e.g. 643ea2320004a46044004xxxxxxx0602) it is not possible to find out, what object type this ID represents.

Is it somehow possible to get this information without knowing the specific endpoint to call?

 

One example:

I do call the endpoint QUET to find out who has access to a specific Queue Topic by asking for the field accessorID.

This call gives me a list of IDs, but with those, I do not know, if each of them represents a user, a team, a group or what else.

 

Thanks in advance.

Regards

Lars

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by RandyRoberts

Have you tried looking for "accessor:name"? Or maybe reading related records, like the accessor record?

1 reply

RandyRoberts
Community Advisor
RandyRobertsCommunity AdvisorAccepted solution
Community Advisor
May 18, 2023

Have you tried looking for "accessor:name"? Or maybe reading related records, like the accessor record?