Home > Forum > Tips&Tricks > Rest service save response

Rest service save response
0

Hello.

I have a "Invoke REST Web Service" GET action.
I would like to save a part from response to a field, more specifically an ID.

I have tried multiples methods, but i did not success...

This is my response. How can i save the "value/listItem/id" to a field? (id=318)
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites('test')/drives('XNOnVydrSL6yetalE8-T')/root/children(listItem())",
"value": [
{
"createdDateTime": "2024-01-15T16:28:02Z",
"eTag": "\"{B83-D72096BB9BFF},1\"",
"listItem@odata.context": "vvewvwvdfv",
"listItem": {
"@odata.etag": "\"b82096bb9bff,1\"",
"id": "318",
"lastModifiedDateTime": "2024-01-15T16:28:02Z",
"webUrl": "",
"createdBy": {
"user": {
"displayName": "SharePoint App"
}
}
"fields": {
"@odata.etag": "\"b876086a-1679bb9bff,1\"",
"FileLeafRef": "gregre ferge",
"id": "318",
"MediaServiceImageTags": [],
}
}
}
]
}

Can you help, please? Thank you.

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.