Method GetMailInfos
GetMailInfos(String, String, String, String, String)
Get mail specific information
Declaration
MailInfoContract GetMailInfos(string connectionId, string documentId, string versionId, string documentDataId, string renditionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | documentId | The document id. See also Id |
System.String | versionId | Optional: The version id. See also GetVersionListItems(String, String, Int32, Int32) |
System.String | documentDataId | Optional: The document data id. See also DocumentData |
System.String | renditionId | Optional: The rendition id. See also DocumentData |
Returns
Type | Description |
---|---|
MailInfoContract | Mail information |
Examples
POST https://YourServerName/InfoShare/Json/DocumentProcessing/GetMailInfos
Example for retrieving mail information{
"connectionId": "0e2c3de4-5e90-43ed-9eec-3e1742dffacb",
"documentId": "0fd43d97-928c-494e-96c0-d357f1f975af"
}
Response:
{
"GetMailInfosResult": {
"Attachments": [
{
"Extension": ".txt",
"FileName": "Batch_BuiltInFiels.txt",
"Id": "0",
"Size": 468
},
{
"Extension": ".pdf",
"FileName": "2007OfficeUIDesignGuidelinesLicense.pdf",
"Id": "1",
"Size": 4854707
},
{
"Extension": ".jpg",
"FileName": "Background.jpg",
"Id": "2",
"Size": 733332
}
],
"Bcc": [],
"Cc": [],
"From": {
"Address": null,
"DisplayName": null
},
"MessageId": null,
"ReceivedDate": null,
"SentDate": "2008-10-31T13:35:00",
"Subject": "MyEmlTest",
"To": [
{
"Address": null,
"DisplayName": "mario.netzer@kendox.com"
}
]
}
}