You want to raise a ticket with MYOB API Support, awesome we do love to help tackle issues and keep you developing.
We encourage you first of all to look here on the Knowledge base. As we build this out we hope the content right here will help you.
If you do submit a support ticket there are a few things we need to receive:
- Your API Key
- If you are asking a question about why your API calls are failing, the first thing we'll need is your API Key. Make sure that's included
- The URI you called
- We need to know what was the URI you requested
- We also want to know if it was a GET, POST, PUT or DELETE
- The request headers of your call
- This is not your code - please don't send us your code.
- What we need is for you to log and send us the request header of your call, and it should look like
x-myobapi-key:"{{your_api_key}}"
x-myobapi-version:"v2"
accept-encoding:"gzip,deflate"
cache-control:"no-cache"
authorization:"Bearer AA{{TRUNCATED_FOR_READABILITY}}lT_"
accept:"*/*"
host:"ar1.api.myob.com" - Sometimes we'll also ask for the JSON payload that was sent in the body, especially for PUT or POST calls
- The response headers of your call
- We want to see what response our API returned to your solution, so it's important you log the response header as well. It will contain a couple of key ID's that allow us to look up your call in our logs. This can be helpful for debugging.
- The responses headers should look like
content-encoding:"gzip"
content-type:"application/json; charset=utf-8"
date:"Tue, 02 Oct 2018 10:41:25 GMT"
etag:""-187352425""
expires:"-1"
server:"Microsoft-IIS/10.0"
vary:"Accept-Encoding"
x-aspnet-version:"4.0.30319"
x-mashery-message-id:"55c76be4-6c97-4017-945a-010ca544eee4"
x-mashery-responder:"prod-j-worker-tlsv1-ap-southeast-2a-01.mashery.com"
x-myobapi-elapsed:"3212"
x-myobapi-requestid:"2ff2614c-2676-45d1-9a54-b886d3966215"
x-powered-by:"ASP.NET"
transfer-encoding:"chunked"
connection:"keep-alive" - We will use the Request ID and Mashery Message ID to help us when debugging your issues.
- We will often also ask for the JSON body response as this will show the full error message that the API is giving you.
We are a small dedicated team, serving an ever-growing community (of nearly 12,000 Aussie & Kiwi developers). We love to help, and we love to help as quickly as we can, we'll be faster if we have the right information when a ticket is submitted.
Comments
0 comments
Article is closed for comments.