Open kitsu opened 6 years ago
One more SharePoint problem: On update SP refuses to return the updated record, instead returning a 204 No Content
. I know this, but I can't tell SOC, so it blows up with a null reference exception every time, even if resultRequired
is false.
Edit: Same with delete....
Also, when I tried setting Prefer: return-content
I noticed the request went as Prefer: return-no-content, return-content
.
Hopefully I'm just missing something obvious, but I can't figure out how to convince Simple.OData.Client to give me the object the server returns after an insert. Because of how SharePoint is structured the request is a little strange, and I think it is confusing SOC about what it is getting back:
Here is a heavily trimmed version of what SharePoint hands back:
And the exception
Intellisense successfully determines the result should be
SPContactInfo
, but how do I convince SOC?