4 months ago
Question about MYOB EXO Business API Report Endpoint
Hi,
Does anyone have any experience with the Report endpoint for Exo Business? Documentation here: Run Report (myob.com)
I am struggling to get the API to accept the "seqno" parameter for the Opportunity.CLR Clarity report. I'm writing this in Python, here is my payload and request:
payload = {
"parameters": [
{"seqno": "28202"}
]
}
response = requests.put(url, headers=headers, json=payload, auth=HTTPBasicAuth(username, password))
Here is the error I receive when running the script:
Failed to run the report. Status code: 400
{
"message": "Unknown parameter "
}
Let me know if my formatting for the object in payload is incorrect or if something else is wrong. Thanks in advance.