Add or Update a deal related contact from the database via an http form post.
| Field | Max Length | Required | Notes |
|---|---|---|---|
| response_type | false | Default results will be returned in XML. Set this field value to json to return results in JSON format | |
| accountid | true | Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
| apikey | true | API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
| dealid | true | ||
| contactid | true | ||
| primary | 1 | false | Use 1 to set this contact as the primary contact. Any other contacts on the deal will be changed to non-primary. |
| role | 30 | false |