Add or Update a Contact Reference
Add or Update the reference field on a Contact
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | ContactUpdateRef | Required |
ContactId | Int | The unique identifier of the contact which can be retrieved using Contact List. | Required |
ContactRef | String | The internal reference of the contact. | Required |
Response Codes
Code | Message | Information |
---|---|---|
0 | Response Data | See 'Response' example tab |
2 | contactId and contactRef parameters required | Mandatory parameter was not supplied |
2 | Invalid Format - contactId | Integer value is invalid or was not specified (when required) |
2 | Reference Update Failed | Reference failed to update. Check it does not exist and try again |
2 | No matching contact | No data returned or set-up in BigChange |
2 | misc_noRight | You do not have the permissions to create and update contacts. |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=contactupdateref&contactid=39010151&contactref=ABC123456
Response Data
{ "Code": 0, "Result": "Reference Updated" }