Trying to pull two dimension in a single API call
I am new to Adobe Analytics API. I am trying to create a pipeline to extract data from adobe API.
I have two dimension which I need to pull , For example :
evar1 and evar2 in a single API call. I was reading through the documentation but was not able to progress through it.
My request body looks something like this : I am trying to bring in evar1 along with evar2 in this single API call.
body = {
'rsid': 'rsid',
'globalFilters': [{
'type': 'dateRange',
'dateRange': '2023-07-01T00:00:00/2023-07-16T23:59:59.999'
},
{
'type': 'segment',
'segmentId': 'sgid'
}],
'metricContainer': {
'metrics': [
{'id': 'metrics/occurrences'},
]}
,
'dimension': 'variables/evar1',
'settings': {
'dimensionSort': 'asc',
'limit':'100000'
}
}