Quantcast
Viewing all articles
Browse latest Browse all 2504

How to associate a contact with an Organization

Topic by Chun Yu

Content

Hi 

I am able to create a contact with basic information. However, how can I associate a contact with an Organization.

I tried many different methods, no of them worked. The error I got from the code below was 

  <soapenv:Fault>
         <faultcode>soapenv:Sender</faultcode>
         <faultstring>Invalid ID: Organization with ID -2147483646 does not exist
While processing Contact->Organization(rnb_v1_2::NamedID).</faultstring>
         <detail>
            <n0:RequestErrorFault xmlns:n0="urn:faults.ws.rightnow.com/v1_2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
               <n0:exceptionCode>BAD_ID</n0:exceptionCode>
               <n0:exceptionMessage>Invalid ID: Organization with ID -2147483646 does not exist
While processing Contact->Organization(rnb_v1_2::NamedID).</n0:exceptionMessage>
            </n0:RequestErrorFault>

 

Also, I tried

<ns4:Organization>
<ns5:ID id="70"/> 
</ns4:Organization>

Contact created but no organization associated 

I have an organization with Id = 70

thanks

 

 

Chun

Version

Aug 2014

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles