Post

2 followers Follow
0
Avatar

Clarizen API - How to get all the fields

Is there a way to pull all the fields for an entity without mentioning the names of all the fields in the fields section. In the below mentioned example, i would like to get all the fields related to customer entity without providing field names.

curl -H "Authorization: Session 2ec5d1cvvvvvvv_23787713" https://api2.clarizen.com/v2.0/services/data/EntityQuery (https://api2.clarizen.com/v2.0/services/data/EntityQuery) -d "{
typeName: 'Customer',
fields: ['Name','ExternalID','SYSID','InternalId','ExternalID','CustomerSuccessStatus','CustomerValue'],
paging: {"hasMore": false,"limit": 10000},
}"

Sahil Batra Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Sahil,

No, there isn't.

However, you can use the metadata services to programmatically get the list of fields and use in the entity query.

Hope this helps,

Ophir 

Ophir Kenig 0 votes
Comment actions Permalink