APIGetMessageContent
This method returns email details on the requested order
/api/plain/?type=APIGetMessageContent&[payload]&HashString=[hashstring]
URL Parameters
Payload Parameters
| Field | Type | Description |
|---|
| Reference | Varchar | The order details are required for |
| EmailType | String | Purchaser or Participant emails (not required). By default it will return Purchaser emails |
Success 200
| Field | Type | Description |
|---|
| Subject | Varchar | Subject of the email |
| Content | Text | HTML content of the email |
| MemberID | Integer | ID Of the member |
| FirstName | String | |
| Surname | String | |
| Email | String |
- Success-Response:
HTTP/1.1 200 OK
{
"Subject": "LOCALHOST NOT SENT Order Confirmation REF-200001-RGQ",
"Content": "HTMLContent",
"MemberID": 41,
"FirstName": "Test",
"Surname": "Test",
"Email": "test@test.com"
}
Error 4xx
| Field | Type | Description |
|---|
| Errors | array() | |
| - Code | Int | Number of error |
| - Error | String | Error message |
- Error-Response:
HTTP/1.1 200 OK
{
"Errors": [
{"Code":"403", "Error": "No order found"},
]
}
>