Skip Navigation
Expand
Using SOAP API, Why Can't I Save the Organizations Address?
Answer ID 6588   |   Last Review Date 12/12/2018

When we create a new organization, using SOAP API why does the address remain empty?

Environment:

SOAP API, Connect Web Services for SOAP

Issue:

Unable to save Organizations Addresses when passing the data through a SOAP envelope.

Resolution:

If you add this code <q1:TypedAddressList action="add"> you will the be able to save the address to the database.

       <q1:Addresses>
          <q1:TypedAddressList action="add">
            <q1:City> ??</q1:City>
            <q1:Country>
              <ID id=? xmlns="urn:base.ws.rightnow.com/v1_2" />
            </q1:Country>
            <q1:PostalCode>??</q1:PostalCode>
            <q1:StateOrProvince>
              <ID id=? xmlns="urn:base.ws.rightnow.com/v1_2" />
            </q1:StateOrProvince>
            <q1:Street>??</q1:Street>
            <q1:ValidNullFields xsi:nil="true" />
            <q1:AddressType>
              <ID id=?? xmlns="urn:base.ws.rightnow.com/v1_2" />
            </q1:AddressType>
          </q1:TypedAddressList>
        </q1:Addresses>

Available Languages for this Answer:

Notify Me
The page will refresh upon submission. Any pending input will be lost.