This method retrieves the email details for the given statement (invoice)
Success Response Content
Example JSON:
{
"validationErrors": [],
"result": {
"emailBean": {
"content": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\"> <head>\n<title>Quotation: We plumb for you!</title>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />\n</head>\n<body>\n<table width=\"640\" align=\"center\" style=\"font-family:Arial,Helvetica,sans-serif; font-size:10pt; font-weight:normal; font-style:normal; left;color: #7c7c7c;\">\n<tr>\n<td align=\"left\">\n<h3 style=\"font-size:150%\">\n<img src=\"\" height=\"60px\"/>\n</h3>\n</td>\n</tr>\n</table>\n<table width=\"640\" align=\"center\" style=\"font-family:Arial,Helvetica,sans-serif; font-size:10pt; font-weight:normal; font-style:normal; text-align:left;color: black;\">\n<tr>\n<td align=\"left\">\nYou can check status of your order by <a style=\"color:#0099FF; text-decoration:none;\" href=\"http://localhost:8083/account/purchases/show.page?productBundleId=42\">logging into your account.</a>\nYou can find a detailed breakdown of your order below.\n</td>\n</tr>\n</table>\n<br/>\n<table width=\"640\" align=\"center\" bgcolor=\"#FFE7A4\" cellpadding=\"10\" style=\"font-family:Arial,Helvetica,sans-serif; font-size:10pt; font-weight:normal; font-style:normal; text-align:left;color: #7c7c7c; -moz-border-radius: 0.6em; -webkit-border-radius: 0.6em; border-radius: 0.6em;\">\n<tr>\n<td align=\"left\" style=\"color:black;\" id=\"whatsNext\">\n<h2>What's Next</h2>\nNext!\n</td>\n</tr>\n</table>\n<table width=\"640\" align=\"center\" cellpadding=\"2\" cellspacing=\"0\" style=\"padding-top:2em;padding-bottom:1em;font-family:Arial,Helvetica,sans-serif; font-size:10pt; font-weight:normal; font-style:normal; text-align:left;color: #7c7c7c;\">\n<tr>\n<td valign=\"top\" align=\"left\" style=\"width:40%;\">\n<div style=\"font-weight:bold;color:black;black;border-bottom:1px solid #dadada;\">Billed to:</div>\nPhilip Fry<br/>\n<span class=\"address-line1\">c\\o Planet Express Delivery Company\nWest 57th Street & Henry Hudson Parkway</span><br/>\n<span class=\"city\">Manhattan</span><br/>\n<span class=\"state\">New New York</span> \n<span class=\"postcode\">90210</span><br/>\n<span class=\"country\">United States</span>\n<br/>\n<div style=\"font-weight:bold;color:black;black;border-bottom:1px solid #dadada;margin-top:1em;\">Location:</div>\n1 Property cannot be archived London\n</td>\n<td style=\"width=20%;\"> </td>\n<td valign=\"top\" colspan=\"2\" style=\"width:20%; text-align: right;\">\n<div style=\"font-weight:bold;color:black;black;border-bottom:1px solid #dadada\">Issue Date</div>\n15 Dec 2008<br/>\n<div style=\"font-weight:bold;color:black;black;border-bottom:1px solid #dadada;margin-top:1em;\">Reference Number</div>\nCPR-00000023\n<div style=\"font-weight:bold;color:black;black;border-bottom:1px solid #dadada;margin-top:1em;\">Package Order</div>\nPO-00000024\n</td>\n</tr>\n</table>\n<table id=\"pricing\" width=\"640\" align=\"center\" cellpadding=\"7\" cellspacing=\"0\" style=\"padding-top:3em;font-family:Arial,Helvetica,sans-serif; font-size:10pt; font-weight:normal; font-style:normal; color:#7c7c7c;\">\n<thead>\n<tr>\n<th style=\"border-bottom:1px solid #cfcfcf\"> </th>\n<th align=\"right\" style=\"background-color:#cfcfcf;color:black;font-weight:bold;border-bottom:1px solid #cfcfcf;width:150px;\">\nPrice\n</th>\n<th align=\"right\" style=\"background-color:#cfcfcf;color:black;font-weight:bold;border-bottom:1px solid #cfcfcf;width:150px;\">\nMonthly\n</th>\n</tr>\n</thead>\n<tr>\n<td align=\"left\" style=\"border-bottom:1px solid #cfcfcf;font-weight:bold;\">We plumb for you!</td>\n<td align=\"right\" style=\"color:black;background-color:#dadada;border-bottom:1px solid #cfcfcf;margin-right:.8em;\">\n</td>\n<td align=\"right\" style=\"color:black;background-color:#dadada;border-bottom:1px solid #cfcfcf;border-left:1px solid #cfcfcf;margin-right:.8em;\">\n</td>\n</tr>\n<tr>\n<td align=\"left\" style=\"border-bottom:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf;margin-right:.8em;\">\nPlumbing\n</td>\n<td align=\"right\" style=\"color:black;background-color:#dadada;border-bottom:1px solid #cfcfcf;margin-right:.8em;\">\n \n</td>\n<td align=\"right\" style=\"color:black;background-color:#dadada;border-bottom:1px solid #cfcfcf;border-left:1px solid #cfcfcf;margin-right:.8em;\">\n \n</td>\n</tr>\n<tr>\n<td align=\"left\" style=\"margin-left:10px;border-bottom:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf;margin-right:.8em;\">\nDay of week - Saturday\n</td>\n<td align=\"right\" style=\"color:black;background-color:#dadada;border-bottom:1px solid #cfcfcf;margin-right:.8em;\">\n \n</td>\n<td align=\"right\" style=\"color:black;background-color:#dadada;border-bottom:1px solid #cfcfcf;border-left:1px solid #cfcfcf;margin-right:.8em;\">\n \n</td>\n</tr>\n<tr>\n<td>\n<span style=\"font-weight: bold;\">You have also told us...</span>\n<div style=\"margin-left: 10px;\">\nNumber of sinks? <span style=\"font-weight: bold;\">\nFive\n</span><br/>\n</div>\n</td>\n</tr>\n</table>\n<table id=\"taxSummary\" width=\"640\" align=\"center\" cellpadding=\"7\" cellspacing=\"0\" style=\"font-family:Arial,Helvetica,sans-serif; font-size:10pt; font-weight:normal; font-style:normal; left;color: #7c7c7c\">\n<tr>\n<td style=\"width:298px;\"> </td>\n<td align=\"center\" style=\"color:white;background-color:#999999;border:5px solid white;\">\n<h5 style=\"font-size:120%;margin:0;margin-bottom:10px;\">\nOne Off\n</h5>\n<span style=\"font-size:150%;font-weight:bold;\">On Quote *</span>\n</td>\n<td align=\"center\" style=\"color:white;background-color:#999999;border: 5px solid white;\">\n<h5 style=\"font-size:120%;margin:0;margin-bottom:10px;\">\nMonthly\n</h5>\n<span style=\"font-size:150%;font-weight:bold;\">On Quote *</span>\n</td>\n</tr>\n<tr>\n<td colspan=\"3\" style=\"font-size:9pt;\">\n* You may be contacted to arrange a suitable time for the quotation. A quote will then be emailed to you.\n</td>\n</tr>\n</table>\n<table width=\"640\" align=\"center\" cellpadding=\"2\" cellspacing=\"2\" style=\"margin-top:2em;font-family:Arial,Helvetica,sans-serif; font-size:8pt; font-weight:normal; font-style:normal; color:#7c7c7c;\">\n<tr>\n<td>\n<div style=\"margin-top:2em;margin-bottom:2em;border-top:1px solid #cfcfcf;\" class=\"signature\">\nTest Seeder\n | ABN: 123456789\n | <a style=\"color:#0099FF; text-decoration:none;\" href=\"mailto:original@example.com\">original@example.com</a>\n</div>\n</td>\n</tr>\n<tr>\n<td>\n<div class=\"footer\">\nYou have received this email from Test Seeder because you are a registered member and have accepted the Terms and Conditions of the website.\nIf you need assistance with this email please contact <a style=\"color:#0099FF; text-decoration:none;\" href=\"mailto:original@example.com\">original@example.com</a>\n<br/><br/>Your privacy is important to us, we do not use your contact email for unsolicited mail purposes.\nReview our <a style=\"color:#0099FF; text-decoration:none;\" href=\"http://localhost:8083/terms.html\">Terms and Conditions</a>.\n</div>\n</td>\n</tr>\n</table>\n</body> </html>\n",
"subject": " Original request for quotation: We plumb for you!\n"
}
}
}
Field Descriptions