Hi,
We use about 35 peplink devices, connected to the incontrol portal of our partner Venn Telecom.
When we try to get Basic API data from this environment we get the correct response in Postman.
For example, the following GET calls works fine:
https://partnerURL/rest/o/{organization_id}/d/basic?access_token=[ACCESS_TOKEN]
We get the full list of devices.
/rest/o/{organization_id}/g/{group_id}/d/{device_id}/client
We get details of the connected clients of a specific device
But when I try /sim_usages/monthly I get the following error:
“resp_code”: “INVALID_INPUT”,
“caller_ref”: “2022090807341957105273”,
“server_ref”: “2022090807341994599622”,
“message”: “invalid_date”
My Guess is it has something to do with not entering the correct parameters(invalid_date), but can’t figure it out.
This sim_usage call has the following parameters: start / end / Wanid / slot / include_details
- Do i need to enter these parameters to get data?
- Where can i find the wanid and slot number?
- could it be that our partner is blocking these specific details?
I hope someone can push me in the right direction.
Thx!