Skip Navigation
Expand
Named Id for SOAP Connect Web Service
Answer ID 8326   |   Last Review Date 01/13/2019

How can I use country name instead of id for country field when using the SOAP API to create organizations?

Environment:

Connect Web Services for SOAP (CWS) API, All Versions

Resolution:

Assigning value to NamedID field through Name does work. In case of country object, Name attribute accepts ISO Code of the country (not the abbreviation).