Page 1 of 1

Using API to extract data - including our own added slots

Posted: 24 Mar 2022, 10:12
by rwoof
Hi
We are starting to test extracting data from Essential Cloud using API (previously we extracted data via CSV using the Class Extract view). Our developer is using the Core API for Applications (as an example). But within the Composite Application Provider class, we have added our own extra slots to the metamodel, but these are not being found by the Core API.

What is the best method using APIs to easily ensure that all slots in a class can be accessed, including customer added slots? Do we have to use the Utility API instead or alongside the Core API?

Our objective is to extract all instances of a class (many classes) for subsequent offline KPI reporting in a SQL database, also containing non-Essential data., so its bulk extracting via API rather than seeking a single record.

Thanks for guidance, as we do need to extract these additional slots via API if possible

Cheers
Rob

Re: Using API to extract data - including our own added slots

Posted: 24 Mar 2022, 18:00
by jasonp
Hi Rob,

we would recommend using our new Utility v3 API which will provide you with direct access to all slots of a Class, including any custom slots. The documentation for this API can be found here:

https://api.enterprise-architecture.org ... a21cf50fca

Re: Using API to extract data - including our own added slots

Posted: 24 Mar 2022, 18:07
by rwoof
Thanks Jason - we will look at that for classes we have customised

Cheers
Rob