Post

2 followers Follow
0
Avatar

Clarizen API Usage

In some post I've seen some kind of queries like this:

SELECT ExternalId,EntityType,ResourceLink.Resource.Name,Date,DurationInDaysInt,WorkAtDay
FROM WorkByDay
WHERE ResourceLink IN (
SELECT id FROM ResourceLink
WHERE Resource IN (
SELECT id FROM User
WHERE Name = 'NAME'
)
)

I suppose is CZQL. Is there any endpoint to call to retrieve this information?

Where can I find documentation about Tables, Fields and relationships?

 

Thanks in advance!

 

 

David Fernández Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hello David,

Here's an example of a CZQL query using GET method: https://api2.clarizen.com/V2.0/services/data/Query?q=SELECT Name, Duration FROM Project WHERE ExternalId = "xxxxxxxxx" LIMIT 10 OFFSET 0

I think you may find the following article useful in understanding the relations of objects in Clarizen: https://success.clarizen.com/hc/en-us/articles/206926997-Data-Model

I hope this helps.

Roland

Roland Pumputis 0 votes
Comment actions Permalink