POST api/ng/email/postcontactform

Request Information

URI Parameters

None.

Body Parameters

ContactFormModel
NameDescriptionTypeAdditional information
GoogleCaptchaResponse

string

None.

Name

string

Required

Email

string

Required

Location

string

None.

ConvenientTime

string

None.

BirthPlaceTime

string

None.

PaymentType

string

None.

TarologResult

string

None.

TestResult

string

None.

TestResultLink

string

None.

SelectedCourse

string

None.

Phone

string

None.

Skype

string

None.

Subscribe

boolean

None.

Question

string

None.

PanelID

string

None.

ButtonID

string

None.

Header

string

None.

TopMessage

string

None.

QuestionMessage

string

None.

PaymentMessage

string

None.

ConvenientTimeMessage

string

None.

Subject

string

None.

Page

string

None.

ShowName

boolean

None.

ShowEmail

boolean

None.

ShowLocation

boolean

None.

ShowConvenientTime

boolean

None.

ShowBirthPlaceTime

boolean

None.

ShowPaymentType

boolean

None.

ShowPaymentOnTop

boolean

None.

ShowTarologResult

boolean

None.

ShowTestResult

boolean

None.

ShowSelectedCourse

boolean

None.

ShowSubscribe

boolean

None.

ShowQuestion

boolean

None.

ShowPhone

boolean

None.

ShowSkype

boolean

None.

QuizResultID

integer

None.

ConsultantUserID

string

None.

RecipientEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GoogleCaptchaResponse": "sample string 1",
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Location": "sample string 4",
  "ConvenientTime": "sample string 5",
  "BirthPlaceTime": "sample string 6",
  "PaymentType": "sample string 7",
  "TarologResult": "sample string 8",
  "TestResult": "sample string 9",
  "TestResultLink": "sample string 10",
  "SelectedCourse": "sample string 11",
  "Phone": "sample string 12",
  "Skype": "sample string 13",
  "Subscribe": true,
  "Question": "sample string 15",
  "PanelID": "sample string 16",
  "ButtonID": "sample string 17",
  "Header": "sample string 18",
  "TopMessage": "sample string 19",
  "QuestionMessage": "sample string 20",
  "PaymentMessage": "sample string 21",
  "ConvenientTimeMessage": "sample string 22",
  "Subject": "sample string 23",
  "Page": "sample string 24",
  "ShowName": true,
  "ShowEmail": true,
  "ShowLocation": true,
  "ShowConvenientTime": true,
  "ShowBirthPlaceTime": true,
  "ShowPaymentType": true,
  "ShowPaymentOnTop": true,
  "ShowTarologResult": true,
  "ShowTestResult": true,
  "ShowSelectedCourse": true,
  "ShowSubscribe": true,
  "ShowQuestion": true,
  "ShowPhone": true,
  "ShowSkype": true,
  "QuizResultID": 39,
  "ConsultantUserID": "sample string 40",
  "RecipientEmail": "sample string 41"
}

application/xml, text/xml

Sample:
<ContactFormModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <BirthPlaceTime>sample string 6</BirthPlaceTime>
  <ButtonID>sample string 17</ButtonID>
  <ConsultantUserID>sample string 40</ConsultantUserID>
  <ConvenientTime>sample string 5</ConvenientTime>
  <ConvenientTimeMessage>sample string 22</ConvenientTimeMessage>
  <Email>sample string 3</Email>
  <GoogleCaptchaResponse>sample string 1</GoogleCaptchaResponse>
  <Header>sample string 18</Header>
  <Location>sample string 4</Location>
  <Name>sample string 2</Name>
  <Page>sample string 24</Page>
  <PanelID>sample string 16</PanelID>
  <PaymentMessage>sample string 21</PaymentMessage>
  <PaymentType>sample string 7</PaymentType>
  <Phone>sample string 12</Phone>
  <Question>sample string 15</Question>
  <QuestionMessage>sample string 20</QuestionMessage>
  <QuizResultID>39</QuizResultID>
  <RecipientEmail>sample string 41</RecipientEmail>
  <SelectedCourse>sample string 11</SelectedCourse>
  <ShowBirthPlaceTime>true</ShowBirthPlaceTime>
  <ShowConvenientTime>true</ShowConvenientTime>
  <ShowEmail>true</ShowEmail>
  <ShowLocation>true</ShowLocation>
  <ShowName>true</ShowName>
  <ShowPaymentOnTop>true</ShowPaymentOnTop>
  <ShowPaymentType>true</ShowPaymentType>
  <ShowPhone>true</ShowPhone>
  <ShowQuestion>true</ShowQuestion>
  <ShowSelectedCourse>true</ShowSelectedCourse>
  <ShowSkype>true</ShowSkype>
  <ShowSubscribe>true</ShowSubscribe>
  <ShowTarologResult>true</ShowTarologResult>
  <ShowTestResult>true</ShowTestResult>
  <Skype>sample string 13</Skype>
  <Subject>sample string 23</Subject>
  <Subscribe>true</Subscribe>
  <TarologResult>sample string 8</TarologResult>
  <TestResult>sample string 9</TestResult>
  <TestResultLink>sample string 10</TestResultLink>
  <TopMessage>sample string 19</TopMessage>
</ContactFormModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ContactFormModel'.

Response Information

Resource Description

PostResultModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<PostResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccess>true</IsSuccess>
</PostResultModel>