MagnetMail Web Service
Click here for a complete list of operations.
GetMessageDetails
Get Message Details
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /mmapi.asmx HTTP/1.1
Host: hlma-apie1.magnetmail.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.magnetmail.net/GetMessageDetails"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<mmAuthHeader xmlns="http://www.magnetmail.net/">
<sessionId>string</sessionId>
<user_id>string</user_id>
</mmAuthHeader>
</soap:Header>
<soap:Body>
<GetMessageDetails xmlns="http://www.magnetmail.net/">
<MessageId>int</MessageId>
</GetMessageDetails>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetMessageDetailsResponse xmlns="http://www.magnetmail.net/">
<GetMessageDetailsResult>
<message_id>int</message_id>
<loginid>int</loginid>
<message_category>int</message_category>
<template_id>int</template_id>
<user_id>string</user_id>
<message_name>string</message_name>
<text_version>string</text_version>
<html_version_block1>string</html_version_block1>
<html_version_block2>string</html_version_block2>
<html_version_block3>string</html_version_block3>
<fax_doc_1>string</fax_doc_1>
<fax_doc_2>string</fax_doc_2>
<fax_doc_3>string</fax_doc_3>
<fax_doc_4>string</fax_doc_4>
<fax_doc_5>string</fax_doc_5>
<is_fax_merged>boolean</is_fax_merged>
<is_fax_only>boolean</is_fax_only>
<is_copy_paste_template>boolean</is_copy_paste_template>
<is_auto_unsubscribe_link>boolean</is_auto_unsubscribe_link>
<SubjectLine>string</SubjectLine>
<FromAddress>string</FromAddress>
<createDate>dateTime</createDate>
<lastSent>dateTime</lastSent>
<characterSet>Western or International</characterSet>
</GetMessageDetailsResult>
</GetMessageDetailsResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /mmapi.asmx HTTP/1.1
Host: hlma-apie1.magnetmail.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<mmAuthHeader xmlns="http://www.magnetmail.net/">
<sessionId>string</sessionId>
<user_id>string</user_id>
</mmAuthHeader>
</soap12:Header>
<soap12:Body>
<GetMessageDetails xmlns="http://www.magnetmail.net/">
<MessageId>int</MessageId>
</GetMessageDetails>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetMessageDetailsResponse xmlns="http://www.magnetmail.net/">
<GetMessageDetailsResult>
<message_id>int</message_id>
<loginid>int</loginid>
<message_category>int</message_category>
<template_id>int</template_id>
<user_id>string</user_id>
<message_name>string</message_name>
<text_version>string</text_version>
<html_version_block1>string</html_version_block1>
<html_version_block2>string</html_version_block2>
<html_version_block3>string</html_version_block3>
<fax_doc_1>string</fax_doc_1>
<fax_doc_2>string</fax_doc_2>
<fax_doc_3>string</fax_doc_3>
<fax_doc_4>string</fax_doc_4>
<fax_doc_5>string</fax_doc_5>
<is_fax_merged>boolean</is_fax_merged>
<is_fax_only>boolean</is_fax_only>
<is_copy_paste_template>boolean</is_copy_paste_template>
<is_auto_unsubscribe_link>boolean</is_auto_unsubscribe_link>
<SubjectLine>string</SubjectLine>
<FromAddress>string</FromAddress>
<createDate>dateTime</createDate>
<lastSent>dateTime</lastSent>
<characterSet>Western or International</characterSet>
</GetMessageDetailsResult>
</GetMessageDetailsResponse>
</soap12:Body>
</soap12:Envelope>