POST api/v1/ContactEvents?ignoreUnknownContacts={ignoreUnknownContacts}

Will create new events for contacts with specified information. Will return HTTP 404 if a contact with given Id is not found.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ignoreUnknownContacts

boolean

Default value is False

Body Parameters

Collection of CreateContactEventDto
NameDescriptionTypeAdditional information
ContactId

ContactId or ContactSecret should have a value

integer

None.

ContactSecret

ContactId or ContactSecret should have a value

string

None.

Type

string

Required

SubType

string

Required

ParentId

string

None.

ParentType

string

None.

UniqueExtId

A batch insert only occures on unique or null values - BE CAREFUL

string

None.

InfoJson

Object

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ContactId": 1,
    "ContactSecret": "sample string 1",
    "Type": "sample string 2",
    "SubType": "sample string 3",
    "ParentId": "sample string 4",
    "ParentType": "sample string 5",
    "UniqueExtId": "sample string 6",
    "InfoJson": {}
  },
  {
    "ContactId": 1,
    "ContactSecret": "sample string 1",
    "Type": "sample string 2",
    "SubType": "sample string 3",
    "ParentId": "sample string 4",
    "ParentType": "sample string 5",
    "UniqueExtId": "sample string 6",
    "InfoJson": {}
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"