Purpose

The API retrieves the content of the email that is held for moderation, based on the Mesaage ID. 

 Request URL

/api/organization/<zoid>/groups/<groupId>/messages/<messageId>

 Request Parameters

ParameterData TypeDescription
zoid*Integerzoid - The unique Identifier for the specific organization.  
groupIdIntegerThe unique identifier of the group, for which the moderation email content should be retrieved. 
messageIdIntegerThe specific messageId of the email held for moderation, to whose content should be retrieved.

* - Mandatory parameter

 Response Codes

Please refer Response Codes.

Sample Request


				{
    "status": {
        "code": 200,
        "description": "success"
    },
    "data": {
        "cont": "<html><xbody>Return-Path: <<a href=\"mailto:test@restapi.com\" target='_blank'>test@restapi.com</a>>\nReceived: from mail.zoho.com by mx.zohomail.com\n\twith SMTP id 1450103551091393.40236847931203; Mon, 14 Dec 2015 20:02:31 +0530 (IST)\nDate: Mon, 14 Dec 2015 20:02:31 +0530\nFrom: test user <<a href=\"mailto:test@user.com\" target='_blank'>test@user.com</a>>\nTo: \"nomailboxgroup@abc1.com\" <<a href=\"mailto:nomailboxgroup@abc1.com\" target='_blank'>nomailboxgroup@abc1.com</a>>\nMessage-ID: <151a0e83424<a href=\"mailto:.e93ecba20.1446474174794344194@sakhi23.com\" target='_blank'>.e93ecba20.1446474174794344194@sakhi23.com</a>>\nSubject: Test moderate\nMIME-Version: 1.0\nContent-Type: multipart/alternative; \n\tboundary=\"----=_Part_33_1080641157.1450103551015\"\nX-Priority: Medium\nUser-Agent: Zoho Mail\nX-Mailer: Zoho Mail\nX-Zoho-Virus-Status: 2\nX-ZohoMail: Si  ZL SS_10 UW2468 UB2468 UW2468 UB2468 ODL  CT SGR3_1_12115_2239\nX-ZohoMail-Owner: <151a0e83424<a href=\"mailto:.e93ecba20.1446474174794344194@sakhi23.com\" target='_blank'>.e93ecba20.1446474174794344194@sakhi23.com</a>>+zmo_0_<<a href=\"mailto:mohamed2@sakhi23.com\" target='_blank'>mohamed2@sakhi23.com</a>>\n\n\n------=_Part_33_1080641157.1450103551015\nContent-Type: text/plain; charset=\"UTF-8\"\nContent-Transfer-Encoding: 7bit\n\n\n\n\n\n\n\n------=_Part_33_1080641157.1450103551015\nContent-Type: text/html; charset=\"UTF-8\"\nContent-Transfer-Encoding: 7bit\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><meta content=\"text/html;charset=UTF-8\" http-equiv=\"Content-Type\"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div><br></div><div><br></div></div></body></html>\n------=_Part_33_1080641157.1450103551015--\n</xbody></html>\n\n"
    }
}