Essentials API - Retrieve Customer Payments

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
6 REPLIES 6
Contributing Partner SimonCreighton
6 Posts
Contributing Partner
Contributing Partner

6Posts

0Kudos

0Solutions

Re: Essentials API - Retrieve Customer Payments

Thanks for confirming this is the case...We can't complete our integration for Essentials without this functionality in place. It appears Customer Payments is the only endpoint without ability to retrieve / GET data, which is strange. Am i able to put in a request to have the API updated?

 

 

Cheers,

 

S

Former Staff KeranM
299 Posts
Former Staff
Australia
Former Staff

299Posts

94Kudos

0Solutions

Re: Essentials API - Retrieve Customer Payments

Hi there

 

Unfortunately at this stage you can't GET customer payments from that API, you can only POST payment details through to the endpoint

I'll get the team to check the page around the GET example on there, it should be a POST example

 

Keran McKenzie
Futurist in residence @MYOB

Are you a developer? Check out http://developer.myob.com
Looking for an Add-on? Check out http://myob.com/addons/

Twitter: @myobapi | @keranm
Contributing Partner SimonCreighton
6 Posts
Contributing Partner
Contributing Partner

6Posts

0Kudos

0Solutions

Re: Essentials API - Retrieve Customer Payments

Could somone from support please confirm this is in fact a capability gap in the Essentials API or any possible workarounds.

 

 

Thanks,

 

Simon

Contributing Partner BertusV
41 Posts
Contributing Partner
Australia
Contributing Partner

41Posts

0Kudos

0Solutions

Re: Essentials API - Retrieve Customer Payments

Si, I see your dilema.  It looks like those payments are not avaialable in Essentials.  

 

One of the MYOB support will have to advise.  

 

Bertus

Contributing Partner SimonCreighton
6 Posts
Contributing Partner
Contributing Partner

6Posts

0Kudos

0Solutions

Re: Essentials API - Retrieve Customer Payments

Hey Bertus,

 

Sure thing. Let me premise this by saying that we are familier with how the Essentials (and AccountRight) API works as we are successfully integrating with other endpoints. Although we have only used GET to date (we have no need to push data into MYOB)

 

Our aim here is to retrieve Customer Payments via the Essentials /sale/payments endpoint. 

 

When attempting to use GET protocol on https://api.myob.com/au/essentials/businesses/220806/sale/payments we recieve:

Error status Code: 500

Reason: Internal Server Error

 

When attempting to use POST protocol on https://api.myob.com/au/essentials/businesses/220806/sale/payments with no parameters we recieve:

Error status Code: 400

Reason: Bad Request

 

I suspect this may be down to how the /sale/payments endpoint operates. It seems to be unique in that the documentation indicates this endpoint may only support POST (http://developer.myob.com/api/essentials-accounting/endpoints/sale/payments/). If so, please advise how we retrieve customer payments via POST.

 

Thanks,

 

Si

 

 

 

Contributing Partner BertusV
41 Posts
Contributing Partner
Australia
Contributing Partner

41Posts

0Kudos

0Solutions

Re: Essentials API - Retrieve Customer Payments

Si, if you are able to give the full requests and responses it would help us helping you.

 

If you send your requests through www.runscope.com you can post links to the requests which will make it easier to analyse. 

 

Bertus

Highlighted
Contributing Partner SimonCreighton
6 Posts
Contributing Partner
Contributing Partner

6Posts

0Kudos

0Solutions

Essentials API - Retrieve Customer Payments

Hi,

 

I am trying to retrieve customer payments via the Essentials /sale/payments endpoint. The documentation is ambigous as it initially indicates only POST is supported, however it also advises of a GET response. Anyway we have tried both and for a GET requests we recieve a 500 error and for a POST request we receive a 400 error. Please help.

Didn't find your answer here?
Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post