$select Odata UIDs of all the items

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.
GunveenSingh
Experienced User
21 Posts
Experienced User
Experienced User

21Posts

1Kudos

0Solutions

$select Odata UIDs of all the items

Hi MYOB Team,

 

I want to fetch just the UIDs of all the items in the company file.

I tried using oData's $select query option as in the snippet below:

 

url = "https://api.myob.com/accountright/******/Inventory/Item/?$filter=Number eq '23-2115' & $select=UID"

 

the $filter part is working fine but the $select won't work. I saw an old post with a question on $select not being supported by MYOB AccountRight. Please suggest a correction/workaround for this.

2 REPLIES 2
HelenB
MYOB Moderator
326 Posts
MYOB Moderator
MYOB Moderator

326Posts

227Kudos

67Solutions

Re: $select Odata UIDs of all the items

Hi @GunveenSingh 

 

Thanks for reaching out. When using Odata filters with our API's only certain ones are supported. To find out which ones are supported, check out our help article here - Getting Started with OData Filtering.

 

You might also find these articles helpful as well - Digging into Odata filters and Odata $filter Tips & Tricks .

 

If you have any questions, feel free to log a ticket with the API Support Team Here


Thanks,
@HelenB


MYOB API Team Leader


MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's



Did my answer help?


Mark it as a Solution

GunveenSingh
Experienced User
21 Posts
Experienced User
Experienced User

21Posts

1Kudos

0Solutions

Re: $select Odata UIDs of all the items

Thanks @HelenB . I ended up building a pipeline in python to get the desired data.

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