Jump to content

GET Single Item not returning all data?


iloveparks

Recommended Posts

iloveparks

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!

Link to comment
Share on other sites

Hi.  For a single full item use 

users/{userid}/items/{itemID}

instead.

Link to comment
Share on other sites

iloveparks

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

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...