POST api/contactevents

Creates new contact events

Request Information

URI Parameters

Query String:

None.

Body Parameters

A list of required structures containing the details about the contact event to create.

Type: Collection of ContactEvent

NameDescriptionTypeAdditional information
firstName

Contact event first name.

string

None.

lastName

Contact event last name.

string

None.

email

Contact event email.

string

None.

eventName

Contact event event name.

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "email": "sample string 3",
    "eventName": "sample string 4"
  },
  {
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "email": "sample string 3",
    "eventName": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfcontactEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <contactEvent>
    <email>sample string 3</email>
    <eventName>sample string 4</eventName>
    <firstName>sample string 1</firstName>
    <lastName>sample string 2</lastName>
  </contactEvent>
  <contactEvent>
    <email>sample string 3</email>
    <eventName>sample string 4</eventName>
    <firstName>sample string 1</firstName>
    <lastName>sample string 2</lastName>
  </contactEvent>
</ArrayOfcontactEvent>

Response Information

Resource Description

Type: Collection of ContactEvent

NameDescriptionTypeAdditional information
firstName

Contact event first name.

string

None.

lastName

Contact event last name.

string

None.

email

Contact event email.

string

None.

eventName

Contact event event name.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "email": "sample string 3",
    "eventName": "sample string 4"
  },
  {
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "email": "sample string 3",
    "eventName": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfcontactEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <contactEvent>
    <email>sample string 3</email>
    <eventName>sample string 4</eventName>
    <firstName>sample string 1</firstName>
    <lastName>sample string 2</lastName>
  </contactEvent>
  <contactEvent>
    <email>sample string 3</email>
    <eventName>sample string 4</eventName>
    <firstName>sample string 1</firstName>
    <lastName>sample string 2</lastName>
  </contactEvent>
</ArrayOfcontactEvent>