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
| Name | Description | Type | Additional information |
|---|---|---|---|
| ignoreUnknownContacts | boolean |
Default value is False |
Body Parameters
Collection of CreateContactEventDto| Name | Description | Type | Additional 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
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"