POST api/Online?sender={sender}&merchantname={merchantname}&subject={subject}&body={body}&branchId={branchId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sender | string |
Required |
|
| merchantname | string |
Required |
|
| subject | string |
Required |
|
| body | string |
Required |
|
| branchId | integer |
None. |
Body Parameters
Collection of EmailAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| 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| Name | Description | Type | Additional 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.