POST api/LMSService/SendContactUsEmail

Request Information

URI Parameters

None.

Body Parameters

ContactDetails
NameDescriptionTypeAdditional information
subject

string

None.

body

string

None.

firstname

string

None.

lastname

string

None.

email

string

None.

companyname

string

None.

Message

string

None.

phonenum

string

None.

Url

string

None.

callType

string

None.

pageLoadedFrom

string

None.

Request Formats

application/json, text/json

Sample:
{
  "subject": "sample string 1",
  "body": "sample string 2",
  "firstname": "sample string 3",
  "lastname": "sample string 4",
  "email": "sample string 5",
  "companyname": "sample string 6",
  "Message": "sample string 7",
  "phonenum": "sample string 8",
  "Url": "sample string 9",
  "callType": "sample string 10",
  "pageLoadedFrom": "sample string 11"
}

application/xml, text/xml

Sample:
<ContactDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantola.WebSite.BusinessEntities">
  <Message>sample string 7</Message>
  <Url>sample string 9</Url>
  <body>sample string 2</body>
  <callType>sample string 10</callType>
  <companyname>sample string 6</companyname>
  <email>sample string 5</email>
  <firstname>sample string 3</firstname>
  <lastname>sample string 4</lastname>
  <pageLoadedFrom>sample string 11</pageLoadedFrom>
  <phonenum>sample string 8</phonenum>
  <subject>sample string 1</subject>
</ContactDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Code

HttpStatusCode

None.

Status

string

None.

Data

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 100,
  "Status": "sample string 1",
  "Data": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantola.WebSite.BusinessEntities">
  <Code>Continue</Code>
  <Data>sample string 2</Data>
  <Message>sample string 3</Message>
  <Status>sample string 1</Status>
</APIResponse>