zObject
zObject is the base object from which all other SOAP API objects are extended. This SOAP API reference describes the fields associated with this base object.
Fields
All field names are case sensitive.
Name | Required? | Type | Description |
---|---|---|---|
fieldsToNull | No | An array of String | Used to set a list of fields to null. You cannot set a field to NULL if nillable is set to Values: An array of field names |
Id | Yes | zns: ID | This is the ID that all of the IDs in other objects are derived from. Every object has an Id field, which you can use as a unique identifier to perform changes on a specific object. Values: Cannot edit this field. Character Limit: 32 |
Example Request
The following code segment requests to set the three fields to null for the account with the given Id.
<ns1:update> <ns1:zObjects xsi:type="ns2:Account"> <ns2:fieldsToNull>ParentId</ns2:fieldsToNull> <ns2:fieldsToNull>DefaultPaymentMethodId</ns2:fieldsToNull> <ns2:fieldsToNull>Notes</ns2:fieldsToNull> <ns2:Id>2c92c0f9501d4f2a0150247036462ca3</ns2:Id> </ns1:zObjects> </ns1:update>