Query multiple components in one API call

To query multiple components such as an inverter or electricity meter in one API call, string multiple component IDs together in the query.

Example:

...?xComponentIds[]={xComponentId1}&xComponentIds[]={xComponentId2}

 

Example API Call for PAC:

https://{baseUrl}/api/v1/{{portal}}/visualization/plant/{plantId}/cross-epoch/channels?xComponentIds[]={xComponentId1}&xComponentIds[]={xComponentId2}&channelNames[]=ProdPac&dateFrom={YYYY-MM-DD}&dateTo={YYYY-MM-DD}

 

We recommend using the cross-epoch IDs. Find more information about this in this article: Epochs and CrossEpochs