Тема: Params for exec_report
Hey I know this is probably another dumb question, but I can't figure out what params I have wrong here for report/exec_report.
{"spec":{
"reportResourceId":18891388,
"reportTemplateId":10,
"reportObjectId":14532029,
"reportObjectSecId":0
},
"interval":{
"from":1568606400,
"to":1568653199,
"flags":0
}
}
This is the response I'm getting:
{
"error": 4,
"reason": "VALIDATE_PARAMS_ERROR: {reportResourceId: long, reportTemplateId: long, reportObjectId: long, reportObjectSecId: long, interval: {from: uint, to: uint, flags: uint}}"
}
I didn't know what to put for the reportResourceId so I just put the id of the account that came back in the items array from core/search_items with these params:
{"spec":{
"itemsType":"avl_resource",
"propName":"",
"propValueMask":"",
"sortType":""
},
"force":1,
"flags":8193,
"from":0,
"to":0
}
The reportObjectId is the id of the group I want to run the report on.
If you guys see what I'm missing I'd really appreciate it.