PUT api/bulk/contactsubscriptionstatuses
Update a collection of ContactSubscriptionStatuses in bulk and in one transaction.
Request Information
URI Parameters
None.
Body Parameters
A collection of ContactSubscriptionStatuses (maximum accepted: 100). Note: the CrmNumber values supplied in this collection must be unique.
Collection of ContactSubscriptionStatusDtoName | Description | Type | Additional information |
---|---|---|---|
CrmNumber |
A reference to the primary key of the Contact record that is associated with the record. Ignored for PUT (except bulk updates) requests sent to the API. |
integer |
None. |
SubscribedToDirectEmails |
Indicates the contacts current subscription status for direct (non-broadcast) email communications (i.e. whether the contact is opted in or has opted out). |
boolean |
Required |
SubscribedToDirectPhoneCalls |
Indicates the contacts current subscription status for direct (non-broadcast) phone communications (i.e. whether the contact is opted in or has opted out). |
boolean |
Required |
SubscribedToDirectSms |
Indicates the contacts current subscription status for direct (non-broadcast) SMS communications (i.e. whether the contact is opted in or has opted out). |
boolean |
Required |
Request Formats
application/json, text/json
[ { "CrmNumber": 1, "SubscribedToDirectEmails": true, "SubscribedToDirectPhoneCalls": true, "SubscribedToDirectSms": true }, { "CrmNumber": 1, "SubscribedToDirectEmails": true, "SubscribedToDirectPhoneCalls": true, "SubscribedToDirectSms": true } ]
Response Information
Resource Description
None.