Expand my Community achievements bar.

Latest Community Ideas Review is Out: Discover What’s New and What to Expect!
SOLVED

API Question: Find out object type by ID

Avatar

Level 10

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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