I am using Google Chromes Advanced REST Client to try some REST calls to SharePoint and Project Server.
I managed to read the data with a simple GET. I get an XML back that has all the properties for the given object. For instance if there's a Project object, this would have a Project Name property.
<entry xmlns....
....
<m:properties>
<d:ProjectName>Test Project </d:ProjectName>
... a lot more properties ...
</m:properties>
... *some other tags* ...
</entry>
I would very much like to update this Project Name, and in the SDK I read that the Project object supports the DELETE, MERGE, PUT methods. I've read that the MERGE one is the one which allows the user to only update selected properties without taking effect on others. The Advanced REST Client however does not have a MERGE, but it has a PATCH.
How should I construct the request, the headers and how should I specify the new name for the project?
I tried to write in the following in the Payload section of the request:
{"ProjectName"="New Name"}
It came back with a 403 (Forbidden) error.