dtmtec / restforce-bulk

Client for Salesforce Bulk API
MIT License
7 stars 45 forks source link

Nil values serialization #6

Open wrozka opened 7 years ago

wrozka commented 7 years ago

To set a nil value on an object, the field description needs to have an xsi:nil attribute. It is described in Salesfoce docs:

To set a field value to null in XML, set the xsi:nil value for the field to true

This pull request add an xsi:nil="true" tag to nil fields and adds xsi namespace to xml payloads.