POST api/sendshopwebinarform

Request Information

URI Parameters

None.

Body Parameters

ShopWebinarFormModel
NameDescriptionTypeAdditional information
WebinarID

integer

None.

FirstName

string

Required

Email

string

Required

Country

string

None.

Request Formats

application/json, text/json

Sample:
{
  "WebinarID": 1,
  "FirstName": "sample string 2",
  "Email": "sample string 3",
  "Country": "sample string 4"
}

application/xml, text/xml

Sample:
<ShopWebinarFormModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <Country>sample string 4</Country>
  <Email>sample string 3</Email>
  <FirstName>sample string 2</FirstName>
  <WebinarID>1</WebinarID>
</ShopWebinarFormModel>

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 'ShopWebinarFormModel'.

Response Information

Resource Description

ContactFormSendResult
NameDescriptionTypeAdditional information
success

boolean

None.

UserMessage

string

None.

FormValidationError

ContactFormValidationError

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "UserMessage": "sample string 2",
  "FormValidationError": 0
}

application/xml, text/xml

Sample:
<ContactFormSendResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <FormValidationError>NoError</FormValidationError>
  <UserMessage>sample string 2</UserMessage>
  <success>true</success>
</ContactFormSendResult>