Jump to content

GET Single Item not returning all data?


Recommended Posts

iloveparks
Posted

I know that this is a beginner question, but I'm having some difficulties with the API or maybe I am misunderstanding.

I was under the impression that when calling GET /Item with one single ID, the API would return ALL information about that item, and that you only need to specify Fields when searching recursively, etc..

Right now, when I call a single Item via Swagger, this is all I get back:

1956057963_2022-05-0407_32_45-SwaggerUIMozillaFirefox.png.3cc7b9761c2b3c69c3becabae1d85c97.png

 

I seem to have to include all the fields I want even on a single Item API call?  Additionally, it seems like Swagger documentation doesn't list all fields associated with BaseItemDTO that can be included in the API call.

 

Any help is much appreciated!

Posted

Hi.  For a single full item use 

users/{userid}/items/{itemID}

instead.

iloveparks
Posted

Thanks, that does return a bit more data, but still nowhere near everything..

1593202972_2022-05-0410_04_38-SwaggerUIMozillaFirefox.thumb.png.2bc3ef0603bdebcd9ac14d5753593c04.png

Posted
21 minutes ago, iloveparks said:

Thanks, that does return a bit more data, but still nowhere near everything..

1593202972_2022-05-0410_04_38-SwaggerUIMozillaFirefox.thumb.png.2bc3ef0603bdebcd9ac14d5753593c04.png

That's not what he suggested. Make sure to use the URL he mentioned.

iloveparks
Posted

D'oh. That would be it. Thank you both.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...