Add, Update and Upsert Attributes
You can use attributes to set or look up custom field values when adding, updating and upserting objects using the XML API or SOAP API.
The following table lists the supported attributes, and for each attribute, the XML API commands and SOAP API commands that support the attribute if it can only be used for specific operations.
Attribute |
XML API Commands |
SOAP API Commands |
Usage |
---|---|---|---|
|
— |
Set the Custom field values can be included in the argument object properties by default when using the SOAP API. Use the account-specific WSDL. |
|
|
Use the
Sample codes:
|
||
|
— |
Set the Sample code: Update Using Custom Field as Foreign Key Lookup — C# |
|
|
Set the
Note:
You should modify custom field values inline with standard object properties in the argument object instead of using the SOAP sample codes: Modify Custom Field Values with custom equal to Method — C# and Modify Custom Field Values with custom equal to Method — Java |
||
|
— |
Set the SOAP sample code: Update Custom Field Value as Object Property — C# |