Forum Discussion

DanOAz's avatar
16 days 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. 

  • Isaiah_C's avatar
    Isaiah_C
    MYOB Moderator

    Hi DanOAz,

     

    I'm sorry to hear that you're experiencing this issue. For more specialized assistance with the API, please reach out directly to the MYOB API support team here.

     

    Regards,

    Sai