Skip to main content

Add a Contact Parent

Link a Contact (child) to another Contact (parent). Both contacts must already exist to be able to use this webservice.

Query String Parameters

NameTypeDescriptionRequired
ActionStringContactParentLinkRequired
ContactIdIntThe unique identifier of the contact which can be retrieved using Contact List.Required
ContactParentIdIntThe unique identifier of the parent contact which can be retrieved using Contact List.Required
OverwriteIfExistsBoolIf the contact already has a parent contact – setting this to true will override the original parent contact.Required

Response Codes

CodeMessageInformation
0Contact {contact.ContactName} is already linked to a parent contact: {contactParent.ContactName}.Contact is already linked. Message includes the Contact Names for reference
0Parent Contact: {contactParent.ContactName} has been linked to Contact Record: {contact.ContactName}.Contact has been linked successfully. Message includes the Contact Names for reference
2contactNoteId, contactNoteParentId or overwriteIfExists parameters requiredMandatory parameter was not supplied
2Overwriteifexists requires value true or falseBoolean value is invalid or was not specified (when required)
2Invalid contact idInteger value is invalid or was not specified (when required)
2No matching contact recordNo data returned or set-up in BigChange
2No matching parent recordNo data returned or set-up in BigChange
2misc_noRightYou do not have the permissions to create and update contacts.

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx??action=ContactParentLink&ContactId=27095183&ContactParentId=27095154&OverwriteIfExists=false