POST api/OrderEmail
Request Information
URI Parameters
None.
Body Parameters
OrderEmailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| templateId | globally unique identifier |
None. |
|
| orderId | globally unique identifier |
None. |
|
| foEmail | string |
None. |
|
| hasError | boolean |
None. |
|
| error | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"templateId": "5b9bd24c-4b59-4ac1-83f2-df74271075e1",
"orderId": "5d5c1c0c-a9f1-42c7-91ca-d66200e86d2d",
"foEmail": "sample string 3",
"hasError": true,
"error": "sample string 5"
}
application/xml, text/xml
Sample:
<OrderEmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PARS.WebApi.Proxy.Models"> <Error>sample string 5</Error> <HasError>true</HasError> <FoEmail>sample string 3</FoEmail> <OrderId>5d5c1c0c-a9f1-42c7-91ca-d66200e86d2d</OrderId> <TemplateId>5b9bd24c-4b59-4ac1-83f2-df74271075e1</TemplateId> </OrderEmailRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OrderEmailResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccessSend | boolean |
None. |
|
| hasError | boolean |
None. |
|
| error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccessSend": true,
"hasError": true,
"error": "sample string 3"
}
application/xml, text/xml
Sample:
<OrderEmailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PARS.WebApi.Proxy.Models"> <Error>sample string 3</Error> <HasError>true</HasError> <IsSuccessSend>true</IsSuccessSend> </OrderEmailResponse>