Partner Zone
Partner Zone

AccountRight api can get contact/customer but can't get contact/personal

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

5Posts

1Kudos

2Solutions

Re: AccountRight api can get contact/customer but can't get contact/personal

Thank you very much for your reply.I have found the problem and fix it.I need add ?api-version=v2 after the request url.I hope it is userful to other people with this problem

Contributing Partner jason_zhang
5 Posts
Contributing Partner
jason_zhang
Contributing Partner

5Posts

1Kudos

2Solutions

Accepted Solution Solved Solution

Re: AccountRight api can get contact/customer but can't get contact/personal

Thank you very much for your reply.I have found the problem and fix it.I need add ?api-version=v2 after the request url.

 

Ultimate Partner ronatbas
4,527 Posts
Ultimate Partner
Australia
ronatbas
Ultimate Partner

4527Posts

3269Kudos

717Solutions

Re: AccountRight api can get contact/customer but can't get contact/personal

@jason_zhang @DeveloperJack

 

Hi guys

 

I don't have a clue how api's work but i would ask why are you trying to use personal cards on MYOB. I believe that they date back to the very early days of MYOB and satisfied some obscure need to have family and friends in some sort of data base setup. They are a total PITA, hard to search, cannot be linked to sales, purchases or payroll. I had a very frustating time last year when I was thrown a file that had the director under both employee and personal. Some reports would show one figure others a different figure.

 

Ron B
BAS Group
03 95588477

info@basgroup.com.au
Making MYOB work for you
Former Staff DeveloperJack
141 Posts
Former Staff
Australia
DeveloperJack
Former Staff

141Posts

31Kudos

21Solutions

Re: AccountRight api can get contact/customer but can't get contact/personal

Hi there @@jason_zhan,

 

Thanks for reaching out!

 

It sounds like you might be getting an error from the API; are you getting an HTTP 200 success or something else?  NULL might mean that there is a different HTTP Status code and no JSON content. To help us debug this with you could you email through your HTTP logs to developers@myob.com?

 

If there are no Personal cards in the file then a GET to /Contact/Personal should return:

 

{
	"Items": [],
	"NextPageLink": null,
	"Count": null
}

 

So if you're not getting this response then you might have an error we can help out with.

 

We'll keep an eye out for your support ticket.

Cheers! 

Jack 

Jack Skinner
MYOBapi Evangelist

Are you a developer? Check out http://developer.myob.com
Looking for an Add-on? Check out http://myob.com/addons/
Highlighted
Contributing Partner jason_zhang
5 Posts
Contributing Partner
jason_zhang
Contributing Partner

5Posts

1Kudos

2Solutions

Solved: Go to Solution

AccountRight api can get contact/customer but can't get contact/personal

Hi,

I am a new developer of myob.

I just test to get the data from myob clould.

 

When i use /{cf_uri}/Contact/

I can get all date,include 3 personal date.

 

And i can get all the customer date to use  /{cf_uri}/Contact/Customer

 

but when i use /{cf_uri}/Contact/Personal  i get NULL,why?

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