Рет қаралды 2,448
This video explains how to update a SharePoint choice column using REST API.
Uri
_api/web/lists/getbytitle('Students')/items({ID})
Headers
{
"accept": "application/json;odata=verbose",
"IF-MATCH": "*",
"X-HTTP-Method": "MERGE"
}
Body
{
"Sports":"Badminton"
}