POST Customer/Post

Request Information

URI Parameters

None.

Body Parameters

DigiticketsContact
NameDescriptionTypeAdditional information
contactID

integer

None.

_ref

string

None.

thirdPartyID

integer

None.

email

string

None.

title

string

None.

firstName

string

None.

lastName

string

None.

tel

string

None.

allowMarketing

integer

None.

restrictDataProcess

integer

None.

photo

string

None.

dateOfBirth

string

None.

previousContactID

integer

None.

anonymisationDate

string

None.

pseudonymisationDate

string

None.

pseudonymisation

integer

None.

anonymisedAt

string

None.

createdAt

string

None.

updatedAt

string

None.

deletedAt

string

None.

preferenceGroupID

integer

None.

customerAccountID

integer

None.

marketingpreferences

Collection of Marketingpreference

None.

marketingpreferenceshistory

Collection of Marketingpreferenceshistory

None.

Request Formats

application/json, text/json

Sample:
{
  "contactID": 1,
  "_ref": "sample string 2",
  "thirdPartyID": 3,
  "email": "sample string 4",
  "title": "sample string 5",
  "firstName": "sample string 6",
  "lastName": "sample string 7",
  "tel": "sample string 8",
  "allowMarketing": 9,
  "restrictDataProcess": 10,
  "photo": "sample string 11",
  "dateOfBirth": "sample string 12",
  "previousContactID": 13,
  "anonymisationDate": "sample string 14",
  "pseudonymisationDate": "sample string 15",
  "pseudonymisation": 16,
  "anonymisedAt": "sample string 17",
  "createdAt": "sample string 18",
  "updatedAt": "sample string 19",
  "deletedAt": "sample string 20",
  "preferenceGroupID": 21,
  "customerAccountID": 22,
  "marketingpreferences": [
    {
      "marketingPreferenceID": 1,
      "name": "sample string 2",
      "question": "sample string 3",
      "description": "sample string 4",
      "status": "sample string 5",
      "marketingpreferencesystemtypes": [
        {
          "id": 1,
          "systemType": "sample string 2"
        },
        {
          "id": 1,
          "systemType": "sample string 2"
        }
      ],
      "descriptionText": "sample string 6"
    },
    {
      "marketingPreferenceID": 1,
      "name": "sample string 2",
      "question": "sample string 3",
      "description": "sample string 4",
      "status": "sample string 5",
      "marketingpreferencesystemtypes": [
        {
          "id": 1,
          "systemType": "sample string 2"
        },
        {
          "id": 1,
          "systemType": "sample string 2"
        }
      ],
      "descriptionText": "sample string 6"
    }
  ],
  "marketingpreferenceshistory": [
    {
      "marketingPreferenceToGroupID": 1,
      "preferenceGroupID": 2,
      "marketingPreferenceID": 3,
      "isTicked": 4,
      "effectiveFrom": "sample string 5",
      "effectiveTo": "sample string 6",
      "marketingPreferenceHistoryID": 7,
      "name": "sample string 8",
      "question": "sample string 9",
      "description": "sample string 10"
    },
    {
      "marketingPreferenceToGroupID": 1,
      "preferenceGroupID": 2,
      "marketingPreferenceID": 3,
      "isTicked": 4,
      "effectiveFrom": "sample string 5",
      "effectiveTo": "sample string 6",
      "marketingPreferenceHistoryID": 7,
      "name": "sample string 8",
      "question": "sample string 9",
      "description": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<DigiticketsContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigiticketsWebhook.Models">
  <_ref>sample string 2</_ref>
  <allowMarketing>9</allowMarketing>
  <anonymisationDate>sample string 14</anonymisationDate>
  <anonymisedAt>sample string 17</anonymisedAt>
  <contactID>1</contactID>
  <createdAt>sample string 18</createdAt>
  <customerAccountID>22</customerAccountID>
  <dateOfBirth>sample string 12</dateOfBirth>
  <deletedAt>sample string 20</deletedAt>
  <email>sample string 4</email>
  <firstName>sample string 6</firstName>
  <lastName>sample string 7</lastName>
  <marketingpreferences>
    <Marketingpreference>
      <description>sample string 4</description>
      <descriptionText>sample string 6</descriptionText>
      <marketingPreferenceID>1</marketingPreferenceID>
      <marketingpreferencesystemtypes>
        <Marketingpreferencesystemtype>
          <id>1</id>
          <systemType>sample string 2</systemType>
        </Marketingpreferencesystemtype>
        <Marketingpreferencesystemtype>
          <id>1</id>
          <systemType>sample string 2</systemType>
        </Marketingpreferencesystemtype>
      </marketingpreferencesystemtypes>
      <name>sample string 2</name>
      <question>sample string 3</question>
      <status>sample string 5</status>
    </Marketingpreference>
    <Marketingpreference>
      <description>sample string 4</description>
      <descriptionText>sample string 6</descriptionText>
      <marketingPreferenceID>1</marketingPreferenceID>
      <marketingpreferencesystemtypes>
        <Marketingpreferencesystemtype>
          <id>1</id>
          <systemType>sample string 2</systemType>
        </Marketingpreferencesystemtype>
        <Marketingpreferencesystemtype>
          <id>1</id>
          <systemType>sample string 2</systemType>
        </Marketingpreferencesystemtype>
      </marketingpreferencesystemtypes>
      <name>sample string 2</name>
      <question>sample string 3</question>
      <status>sample string 5</status>
    </Marketingpreference>
  </marketingpreferences>
  <marketingpreferenceshistory>
    <Marketingpreferenceshistory>
      <description>sample string 10</description>
      <effectiveFrom>sample string 5</effectiveFrom>
      <effectiveTo>sample string 6</effectiveTo>
      <isTicked>4</isTicked>
      <marketingPreferenceHistoryID>7</marketingPreferenceHistoryID>
      <marketingPreferenceID>3</marketingPreferenceID>
      <marketingPreferenceToGroupID>1</marketingPreferenceToGroupID>
      <name>sample string 8</name>
      <preferenceGroupID>2</preferenceGroupID>
      <question>sample string 9</question>
    </Marketingpreferenceshistory>
    <Marketingpreferenceshistory>
      <description>sample string 10</description>
      <effectiveFrom>sample string 5</effectiveFrom>
      <effectiveTo>sample string 6</effectiveTo>
      <isTicked>4</isTicked>
      <marketingPreferenceHistoryID>7</marketingPreferenceHistoryID>
      <marketingPreferenceID>3</marketingPreferenceID>
      <marketingPreferenceToGroupID>1</marketingPreferenceToGroupID>
      <name>sample string 8</name>
      <preferenceGroupID>2</preferenceGroupID>
      <question>sample string 9</question>
    </Marketingpreferenceshistory>
  </marketingpreferenceshistory>
  <photo>sample string 11</photo>
  <preferenceGroupID>21</preferenceGroupID>
  <previousContactID>13</previousContactID>
  <pseudonymisation>16</pseudonymisation>
  <pseudonymisationDate>sample string 15</pseudonymisationDate>
  <restrictDataProcess>10</restrictDataProcess>
  <tel>sample string 8</tel>
  <thirdPartyID>3</thirdPartyID>
  <title>sample string 5</title>
  <updatedAt>sample string 19</updatedAt>
</DigiticketsContact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.