POST api/Online?sender={sender}&merchantname={merchantname}&subject={subject}&body={body}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sender

string

Required

merchantname

string

Required

subject

string

Required

body

string

Required

Body Parameters

Collection of EmailAddress
NameDescriptionTypeAdditional information
name

string

None.

email

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "name": "sample string 1",
    "email": "sample string 2"
  },
  {
    "name": "sample string 1",
    "email": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmailAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SendGrid.Helpers.Mail">
  <EmailAddress>
    <Email>sample string 2</Email>
    <Name>sample string 1</Name>
  </EmailAddress>
  <EmailAddress>
    <Email>sample string 2</Email>
    <Name>sample string 1</Name>
  </EmailAddress>
</ArrayOfEmailAddress>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
StatusCode

HttpStatusCode

None.

IsSuccessStatusCode

boolean

None.

Body

HttpContent

None.

Headers

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.