I'm trying to update the status
column in a document library where the name is "sharepoint_test.csv" and I'm following this tutorial to do it.
URL:
POST:URL
https://mycompany.sharepoint.com/teams/global/commerce/_api/web/lists/GetByTitle('Data%20Sources')/items(4)
Body:
{"__metadata" {"type":"SP.Data.Data_x0020_SourcesItem"},"status":"even newer"}
I've also tried types SP.FieldText
and SP.Field
.
Here's my library:
Name | Modified | Modified By | status
-----------------------------------------------------
sharepoint_test.csv | Apr 2 | Dan | new
Should become:
Name | Modified | Modified By | status
-----------------------------------------------------
sharepoint_test.csv | Apr 2 | Dan | even newer
When I make the POST
request in Postman, however, there is no error, the status comes back as 204 No Content
, but when I look back at the status
column, it still remains as "new".