API query- how to construct
API query- how to construct
Hi,
I have an API based import to Zoho Analytics from an external source. I've been able to get a query working for the /users API endpoint, and I have a working query for the /devices API endpoint-
- but I cannot get the query to work in Zoho Analytics
here is the working query from Postman
Request Headers
Content-Type
:
application/json
accesstoken
:
MyAPIToken
Authorization
:
Basic WU9VUi1FTUFJTBBU1NXT1JE
User-Agent
:
PostmanRuntime/7.28.4
Accept
:
*
/
*
Cache-Control
:
no-cache
Postman-Token
:
883c8278-7cc3-468a-8086-6fdb1fac9822
Host
:
businessapi.mosyle.com
Accept-Encoding
:
gzip, deflate, br
Connection
:
keep-alive
▶
Request Body
{ "operation": "list", "options": { "os": "mac" } }
And here is a pic of the (non working) request in Zoho Analytics
- the error response is 'HTTP 400' but I can't see any other info