Use this request to remove a relationship link between a specific individual contact and a specific organization account.
REST
Request
https://api.neoncrm.com/neonws/services/api/account/removeIndividualFromOrganization?userSessionId=[session id]&individualContactId=5192&organizationAccountId=3480
Response
{ "removeIndividualFromOrganizationResponse": {
"operationResult": "SUCCESS",
"responseDateTime": "2012-12-27T03:24:37.366-06:00" }
}
SOAP
Request
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:neon="http://www.z2systems.com/schemas/neonws/">
<soapenv:header>
<soapenv:body>
<neon:removeindividualfromorganizationrequest>
<usersessionid>T1357624094982</usersessionid>
<individualcontactid>5192</individualcontactid>
<organizationaccountid>5789</organizationaccountid>
</neon:removeindividualfromorganizationrequest>
</soapenv:body>
</soapenv:header>
</soapenv:envelope>
Response
<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:body>
<ns2:removeindividualfromorganizationresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
<operationresult>SUCCESS</operationresult>
<responsedatetime>2013-01-08T01:33:15.054-06:00</responsedatetime>
</ns2:removeindividualfromorganizationresponse>
</soap:body>
</soap:envelope>
Request Parameters
Name |
Required |
Description |
individualAccountId |
Yes |
Contact ID (not Account ID) of the individual account |
organizationAccountId |
Yes |
Account ID of the organizaiton account |
Error Codes
Code |
Text |
Description |
10024 |
Contact id is required. |
|
10025 |
Contact id is invalid. |
|
10032 |
Organization account id is required. |
|
10033 |
Organization account id is invalid. |
|
10034 |
Primary company contact cannot be removed. |
|