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.

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings