GET api/{database}/MailMessageInfoList
Gets a list of MailMessageInfo that matches the specified criteria
Response Information
Response body formats
application/json, text/json
Sample:
[ { "bcc": "sample string 1", "cc": "sample string 2", "contactId": "sample string 3", "createDate": "sample string 4", "customerId": "sample string 5", "documentId": "sample string 6", "documentType": 0, "from": "sample string 7", "hasAttachments": true, "hasUnlinkedAttachments": true, "mailId": "d8cd31ae-6637-45d2-b698-be86026877da", "mailPriority": 0, "organizationId": 1, "organizationName": "sample string 11", "state": 1, "subject": "sample string 12", "supplierId": "sample string 13", "to": "sample string 14", "username": "sample string 15" }, { "bcc": "sample string 1", "cc": "sample string 2", "contactId": "sample string 3", "createDate": "sample string 4", "customerId": "sample string 5", "documentId": "sample string 6", "documentType": 0, "from": "sample string 7", "hasAttachments": true, "hasUnlinkedAttachments": true, "mailId": "d8cd31ae-6637-45d2-b698-be86026877da", "mailPriority": 0, "organizationId": 1, "organizationName": "sample string 11", "state": 1, "subject": "sample string 12", "supplierId": "sample string 13", "to": "sample string 14", "username": "sample string 15" }, { "bcc": "sample string 1", "cc": "sample string 2", "contactId": "sample string 3", "createDate": "sample string 4", "customerId": "sample string 5", "documentId": "sample string 6", "documentType": 0, "from": "sample string 7", "hasAttachments": true, "hasUnlinkedAttachments": true, "mailId": "d8cd31ae-6637-45d2-b698-be86026877da", "mailPriority": 0, "organizationId": 1, "organizationName": "sample string 11", "state": 1, "subject": "sample string 12", "supplierId": "sample string 13", "to": "sample string 14", "username": "sample string 15" } ]
application/xml, text/xml
Sample:
<ArrayOfMailMessageInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Info"> <MailMessageInfo> <BCC>sample string 1</BCC> <CC>sample string 2</CC> <ContactId>sample string 3</ContactId> <CreateDate>sample string 4</CreateDate> <CustomerId>sample string 5</CustomerId> <DocumentId>sample string 6</DocumentId> <DocumentType>PurchaseOrder</DocumentType> <From>sample string 7</From> <HasAttachments>true</HasAttachments> <HasUnlinkedAttachments>true</HasUnlinkedAttachments> <MailId>d8cd31ae-6637-45d2-b698-be86026877da</MailId> <MailPriority>Normal</MailPriority> <OrganizationId>1</OrganizationId> <OrganizationName>sample string 11</OrganizationName> <State>Send</State> <Subject>sample string 12</Subject> <SupplierId>sample string 13</SupplierId> <To>sample string 14</To> <Username>sample string 15</Username> </MailMessageInfo> <MailMessageInfo> <BCC>sample string 1</BCC> <CC>sample string 2</CC> <ContactId>sample string 3</ContactId> <CreateDate>sample string 4</CreateDate> <CustomerId>sample string 5</CustomerId> <DocumentId>sample string 6</DocumentId> <DocumentType>PurchaseOrder</DocumentType> <From>sample string 7</From> <HasAttachments>true</HasAttachments> <HasUnlinkedAttachments>true</HasUnlinkedAttachments> <MailId>d8cd31ae-6637-45d2-b698-be86026877da</MailId> <MailPriority>Normal</MailPriority> <OrganizationId>1</OrganizationId> <OrganizationName>sample string 11</OrganizationName> <State>Send</State> <Subject>sample string 12</Subject> <SupplierId>sample string 13</SupplierId> <To>sample string 14</To> <Username>sample string 15</Username> </MailMessageInfo> <MailMessageInfo> <BCC>sample string 1</BCC> <CC>sample string 2</CC> <ContactId>sample string 3</ContactId> <CreateDate>sample string 4</CreateDate> <CustomerId>sample string 5</CustomerId> <DocumentId>sample string 6</DocumentId> <DocumentType>PurchaseOrder</DocumentType> <From>sample string 7</From> <HasAttachments>true</HasAttachments> <HasUnlinkedAttachments>true</HasUnlinkedAttachments> <MailId>d8cd31ae-6637-45d2-b698-be86026877da</MailId> <MailPriority>Normal</MailPriority> <OrganizationId>1</OrganizationId> <OrganizationName>sample string 11</OrganizationName> <State>Send</State> <Subject>sample string 12</Subject> <SupplierId>sample string 13</SupplierId> <To>sample string 14</To> <Username>sample string 15</Username> </MailMessageInfo> </ArrayOfMailMessageInfo>