Sunday, May 26, 2019

Determine whether a Custom Field is Set to Store Value via Web Services


Solution Developers are sometimes given only Web Services access to an account.
Also, there are times where they want their code to be dynamic to make sure that their solution can be easily ported to multiple accounts.

Dynamic Web Services integrations usually call the getCustomizationId request to get the custom fields for a particular record type for a given customer. However, some of the custom fields are set to 'Store Value = false', which will lead to an INVALID_SEARCH_FIELD_OBJ when they are used in a search.

To resolve this, users can call a 'get' request first to determine the value for 'Store Value'.

SOAP Request
Image

SOAP Response
Image

No comments:

Post a Comment