iloveparks 7 Posted May 4, 2022 Share Posted May 4, 2022 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: 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 More sharing options...
ebr 15186 Posted May 4, 2022 Share Posted May 4, 2022 Hi. For a single full item use users/{userid}/items/{itemID} instead. Link to comment Share on other sites More sharing options...
iloveparks 7 Posted May 4, 2022 Author Share Posted May 4, 2022 Thanks, that does return a bit more data, but still nowhere near everything.. Link to comment Share on other sites More sharing options...
Luke 37994 Posted May 4, 2022 Share Posted May 4, 2022 21 minutes ago, iloveparks said: Thanks, that does return a bit more data, but still nowhere near everything.. That's not what he suggested. Make sure to use the URL he mentioned. Link to comment Share on other sites More sharing options...
iloveparks 7 Posted May 4, 2022 Author Share Posted May 4, 2022 D'oh. That would be it. Thank you both. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now