POST api/authentication/sendemail

Request Information

URI Parameters

None.

Body Parameters

AuthenticationModel
NameDescriptionTypeAdditional information
EmployeeNo

integer

None.

Name

string

None.

Email

string

None.

OneTimePassword

integer

None.

Status

integer

None.

Password

string

None.

EmployeeType

string

None.

ReturnId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeNo": 1,
  "Name": "sample string 1",
  "Email": "sample string 2",
  "OneTimePassword": 1,
  "Status": 1,
  "Password": "sample string 3",
  "EmployeeType": "sample string 4",
  "ReturnId": 1
}

application/xml, text/xml

Sample:
<AuthenticationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMiT.Models">
  <Email>sample string 2</Email>
  <EmployeeNo>1</EmployeeNo>
  <EmployeeType>sample string 4</EmployeeType>
  <Name>sample string 1</Name>
  <OneTimePassword>1</OneTimePassword>
  <Password>sample string 3</Password>
  <ReturnId>1</ReturnId>
  <Status>1</Status>
</AuthenticationModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.