POST api/sync/CustomerPreferences

Returns customer preference records

Request Information

URI Parameters

None.

Body Parameters

SyncDateTimeBindingModel
NameDescriptionTypeAdditional information
syncDateTime

SyncDateTime variable

string

None.

Request Formats

application/json, text/json

Sample:
{
  "syncDateTime": "2015-10-13T10:23:00"
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="syncDateTime"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

CustomerPreferenceListModel
NameDescriptionTypeAdditional information
customerPreferences

List of customer preferences

Collection of CustomerPreferenceModel

None.

Response Formats

application/json, text/json

Sample:
{
  "customerPreferences": [
    {
      "contactId": 1,
      "custCode": "sample string 2",
      "commsType": "sample string 3",
      "internalUse": true,
      "internalMarketing": true,
      "eventInfo": true,
      "importantInformation": true,
      "insurance": true,
      "newsletter": true,
      "thirdPartyMarketing": true
    },
    {
      "contactId": 1,
      "custCode": "sample string 2",
      "commsType": "sample string 3",
      "internalUse": true,
      "internalMarketing": true,
      "eventInfo": true,
      "importantInformation": true,
      "insurance": true,
      "newsletter": true,
      "thirdPartyMarketing": true
    }
  ]
}

multipart/form-data

Sample:

Sample not available.