POST api/contactevent

Creates a new contact event

Request Information

URI Parameters

Query String:

None.

Body Parameters

The details about the contact event to create.

Type: 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"
}

application/xml, text/xml

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

Response Information

Resource Description

[HTTP Status 200 - OK]

Type: 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"
}

application/xml, text/xml

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