2
votes
Accepted
How can I write a query for the API to return one item by ID instead of all items?
You have not added the correct syntax to get item id by id.
Please try this below REST API to get list item by id:
https://<site url>/_api/web/lists/GetByTitle('<list-title>')/items(<...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sharepoint-foundation × 4398sharepoint-enterprise × 1078
sharepoint-designer × 633
sharepoint-server × 620
2013 × 481
2010 × 408
sharepoint-online × 392
development × 219
javascript × 185
list × 174
web-part × 173
powershell × 163
workflow × 152
sharepoint-addin × 122
document-library × 120
permissions × 85
search × 78
jquery × 68
client-object-model × 68
infopath × 63
designer-workflow × 62
visual-studio × 60
web-services × 56
caml-query × 55
migration × 53