0

Quering an Entity Type by Entity's ID

I have a list of all SHOTs and ASSETs IDs stored in one list variable.

all_entities_ID = [1, 2, 3, 14, 15, 16]

Where:

The ID: 1, 2 and 3 are the SHOT's IDs.

The ID: 14, 15 and 16 are the ASSETs IDs.

Now I want to for-loop all_entities_ID to query what ENTITY TYPE the ID belongs to:

What would be a proper syntax for the Filters and Fields to query the ENTITY TYPE value using sg_find or sg_find_one?

 

 

 

1件のコメント

  • 0
    Avatar
    Sputniks

    So the question is how to query an Entity Type (to find out if it is Shot, Asset or anything else) if all you know is its ID number?

ログインしてコメントを残してください。