POST api/values/SendMail

Request Information

URI Parameters

None.

Body Parameters

SendMail_Request
NameDescriptionTypeAdditional information
subject

string

None.

message

string

None.

layout

string

None.

name

string

None.

phoneNumber

string

None.

originEmailAccount

MailAccount

None.

destinationEmailAccount

MailAccount

None.

Request Formats

application/json, text/json

Sample:
{
  "originEmailAccount": null,
  "destinationEmailAccount": null,
  "subject": "sample string 1",
  "message": "sample string 2",
  "layout": "sample string 3",
  "name": "sample string 4",
  "phoneNumber": "sample string 5"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfSendMail_Response
NameDescriptionTypeAdditional information
Data

SendMail_Response

None.

Status

Status

None.

Other

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Status": {
    "Message": "sample string 1",
    "Code": 100
  },
  "Other": "sample string 1"
}

application/xml, text/xml

Sample:
<ResponseOfSendMail_ResponseIJo0SwRH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication_ClinicasGlobalLS.Models.Global">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebApplication_ClinicasGlobalLS.Models.RequestAndResponse" />
  <Other>sample string 1</Other>
  <Status>
    <Code>Continue</Code>
    <Message>sample string 1</Message>
  </Status>
</ResponseOfSendMail_ResponseIJo0SwRH>