Skip to content

Instantly share code, notes, and snippets.

@vgrem
Created October 27, 2016 10:01
Show Gist options
  • Save vgrem/0f815756637092aa99ce03f4b015d9bf to your computer and use it in GitHub Desktop.
Save vgrem/0f815756637092aa99ce03f4b015d9bf to your computer and use it in GitHub Desktop.
{
"d": {
"results": [
{
"__metadata": {
"id": "dc875f81-5d9c-44c9-a4d1-0fba4099d8c0",
"uri": "https://contoso.sharepoint.com/_api/Web/Lists(guid'0d0aaa1b-4e39-4afb-a876-b8a64560029d')/Items(1)",
"etag": "\"1\"",
"type": "SP.Data.InventoryListItem"
},
"State": {
"__metadata": {
"id": "a67579a3-644b-44e8-96a3-c555b0dea4ae",
"type": "SP.Data.InventoryStateListItem"
},
"Title": "State 1 ",
"Id": 1
},
"Id": 1,
"Title": "Inventory #1",
"ID": 1
},
{
"__metadata": {
"id": "38798819-4aa1-4a22-a569-6f943794e7bf",
"uri": "https://contoso.sharepoint.com/_api/Web/Lists(guid'0d0aaa1b-4e39-4afb-a876-b8a64560029d')/Items(2)",
"etag": "\"1\"",
"type": "SP.Data.InventoryListItem"
},
"State": {
"__deferred": {
"uri": "https://contoso.sharepoint.com/_api/Web/Lists(guid'0d0aaa1b-4e39-4afb-a876-b8a64560029d')/Items(2)/State"
}
},
"Id": 2,
"Title": "Inventory #2",
"ID": 2
},
{
"__metadata": {
"id": "b7bb4af7-be01-4614-9dd6-2b5765cd9184",
"uri": "https://contoso.sharepoint.com/_api/Web/Lists(guid'0d0aaa1b-4e39-4afb-a876-b8a64560029d')/Items(3)",
"etag": "\"2\"",
"type": "SP.Data.InventoryListItem"
},
"State": {
"__metadata": {
"id": "6a90278a-330c-4f77-a301-5e3ec3b2bfd5",
"type": "SP.Data.InventoryStateListItem"
},
"Title": "State 2",
"Id": 2
},
"Id": 3,
"Title": "Inventory #3",
"ID": 3
},
{
"__metadata": {
"id": "b1820392-e008-48f6-8fed-c02cfbc7317a",
"uri": "https://contoso.sharepoint.com/_api/Web/Lists(guid'0d0aaa1b-4e39-4afb-a876-b8a64560029d')/Items(4)",
"etag": "\"2\"",
"type": "SP.Data.InventoryListItem"
},
"State": {
"__metadata": {
"id": "a63b5b62-74b3-4b20-b82b-6b1fe6f648e9",
"type": "SP.Data.InventoryStateListItem"
},
"Title": "State 3",
"Id": 3
},
"Id": 4,
"Title": "Inventory #4",
"ID": 4
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment