OData. How can I pass a parameter with the "null" value?

Question

OData. How can I pass a parameter with the "null" value?

Answer

PUT http://e-podkovka:9848/0/ServiceModel/EntityDataService.svc/ContactCollection(guid'40f52013-48df-4009-b492-20794e6cb313')HTTP/1.1
Accept: application/atom+xml
Content-Type: application/atom+xml;type=entry;
Host: e-podkovka:9848
Content-Length: 448
Expect: 100-continue
Connection: Keep-Alive
Cookie: BPMSESSIONID=fahxnyitfahzhiryyqwx15fx; BPMLOADER=r543kelbmnri2mqivvfb5opj; .ASPXAUTH=8511A66857D2D6371FD2E76B7FB7EF2FADBC44C2E7E7D7B802171CDE3A12BF4DEB539193184F19DEEA2C9EF01B91DB2B7057748DB8BA843A7264501446C19936C63BD84AEC1E879AAD0FF24194163974B17967E5F9775ADFBD0020EC0E7D89D9E87259680E35183507555DCBF3824C2C25A1ADB44D502FBABF6F7037BC56A35DD574C85D74C0234159ABD87FC6A5E1E280B0F9137DF527A9A66854FE943E4B65E8B9E61AA6190FAB804970BC7B85A1B695528809C35B46D491D942FAC3ECE31635D29FB60481E852FF397F52C4F8AF42E4B8D3582293761C35A32B7F2D7F518D2D1E6F48BB7C1F54BF2EFE584D8FA84C9EA0EF97FAEAD656FCD2C0D48B81884A61EA26D21CC5ED5D96938370BC10B6CE6AEE62867690600013591F1A8D85C9C05CCC0660D6FE2254C7690FC7D4FD6CFF096DD56E98A0C42515BD19B37A25806BD619581FB6F966D30EB4E19EE03AA2D9883F2230C0221E9C3A61743F747F2307E2B5AE25; UserName=83|117|112|101|114|118|105|115|111|114
 
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom">
<content type="application/xml">
<properties
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<d:Name>New name4</d:Name>
<d:JobId m:null="true" />
</properties>
</content>
</entry>

 

Like 0

Like

Share

0 comments
Show all comments