POST api/foodordersystem/SendWelcomeEmailToCustomer

Request Information

URI Parameters

None.

Body Parameters

W_EmailCustomer
NameDescriptionTypeAdditional information
EmailAddress

string

Required

UserName

string

Required

Request Formats

application/json, text/json

Sample:
{
  "emailAddress": "sample string 1",
  "userName": "sample string 2"
}

application/xml, text/xml

Sample:
<W_EmailCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <EmailAddress>sample string 1</EmailAddress>
  <UserName>sample string 2</UserName>
</W_EmailCustomer>

multipart/form-data

Sample:
<W_EmailCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><EmailAddress>sample string 1</EmailAddress><UserName>sample string 2</UserName></W_EmailCustomer>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml, multipart/form-data

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>