POST api/Question

Creates a new question in CRM

Request Information

URI Parameters

None.

Body Parameters

The communication to be created.

UWEOQuestion
NameDescriptionTypeAdditional information
EmailAddress

string

None.

FirstName

string

None.

LastName

string

None.

PhoneNumber

string

None.

Subject

string

None.

Message

string

None.

Type

string

None.

ObjectId

string

None.

OptIn

boolean

None.

ToAddress

string

None.

CrmContactId

globally unique identifier

None.

CrmEntityType

string

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "EmailAddress": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "PhoneNumber": "sample string 4",
  "Subject": "sample string 5",
  "Message": "sample string 6",
  "Type": "sample string 7",
  "ObjectId": "sample string 8",
  "OptIn": true,
  "ToAddress": "sample string 10",
  "CrmContactId": "2b492718-3c91-469a-b82d-2f134c633e9d",
  "CrmEntityType": "sample string 11"
}

application/xml, text/xml

Sample:
<UWEOQuestion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UWEO.CRM.API.Base.Models">
  <CrmContactId>2b492718-3c91-469a-b82d-2f134c633e9d</CrmContactId>
  <CrmEntityType>sample string 11</CrmEntityType>
  <EmailAddress>sample string 1</EmailAddress>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <Message>sample string 6</Message>
  <ObjectId>sample string 8</ObjectId>
  <OptIn>true</OptIn>
  <PhoneNumber>sample string 4</PhoneNumber>
  <Subject>sample string 5</Subject>
  <ToAddress>sample string 10</ToAddress>
  <Type>sample string 7</Type>
</UWEOQuestion>

Response Information

Resource Description

Http 201 Created

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.