POST api/Account

Request Information

URI Parameters

None.

Body Parameters

ConfirmationEmails
NameDescriptionTypeAdditional information
EmailAddress

string

None.

EmailLink

string

None.

FirstName

string

None.

LastName

string

None.

Role

string

None.

Template

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailAddress": "sample string 1",
  "EmailLink": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Role": "sample string 5",
  "Template": "sample string 6"
}

application/xml, text/xml

Sample:
<ConfirmationEmails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.ViewModel">
  <EmailAddress>sample string 1</EmailAddress>
  <EmailLink>sample string 2</EmailLink>
  <FirstName>sample string 3</FirstName>
  <LastName>sample string 4</LastName>
  <Role>sample string 5</Role>
  <Template>sample string 6</Template>
</ConfirmationEmails>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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