MYOBCommunity
Partner Zone
|
|
Partner Zone

accountRight - calling customer or category get request not geting guid

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.
1 REPLY
MYOB Staff Post DeveloperJack
141 Posts
MYOB Staff Post
Australia
DeveloperJack
MYOB Staff Post

141Posts

31Kudos

21Solutions

Accepted Solution Solved Solution

Re: accountRight - calling customer or category get request not geting guid

Hi there @Myles,

It sounds like you're hitting out V1 API which is no longer supported - I'd recommend double-checking your HTTP headers and in particular the x-myobapi-version:v2 header.

 

The x-myobapi-cftoken is a per-file per-user credential; we have a best practice guide for company file authentication that helps outline some of this for you.

 

Hope this helps!

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/
Experienced Partner Myles
10 Posts
Experienced Partner
Australia
Myles
Experienced Partner

10Posts

1Kudos

0Solutions

Solved: Go to Solution

accountRight - calling customer or category get request not geting guid

now I am using sandbox account for testing, I want to create a invoice item but I need some masters before this as like category, customers but if I called URL then I am getting a result but there does not have "UID"

Eg - ar1.api.myob.com/accountright/ab1f26fa-96b9-477d-baf4-d306615807a9/Category

"Name": "Craig Test"
"Description": "Craig Test"
"IsActive": true
"Id": "Craig"
"RowVersion": "8796093022208000000"
 
 
Also if I removed default Administrator "cftoken" value and create with correct username and password then I am getting an error of access denied.
 
I am facing both issues, 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