GET api/{database}/MailTemplateList

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
$expand MailLanguageTemplates

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "messages": [],
    "bcc": "sample string 1",
    "canChange": true,
    "cannotChangeReason": "sample string 3",
    "cc": "sample string 4",
    "documentType": 0,
    "mailLanguageTemplates": null,
    "mailTemplateId": "b7a2d2ce-f38a-4fa0-ab38-5c165ead496b",
    "name": "sample string 6",
    "serialNumber": 7,
    "to": "sample string 8"
  },
  {
    "messages": [],
    "bcc": "sample string 1",
    "canChange": true,
    "cannotChangeReason": "sample string 3",
    "cc": "sample string 4",
    "documentType": 0,
    "mailLanguageTemplates": null,
    "mailTemplateId": "b7a2d2ce-f38a-4fa0-ab38-5c165ead496b",
    "name": "sample string 6",
    "serialNumber": 7,
    "to": "sample string 8"
  },
  {
    "messages": [],
    "bcc": "sample string 1",
    "canChange": true,
    "cannotChangeReason": "sample string 3",
    "cc": "sample string 4",
    "documentType": 0,
    "mailLanguageTemplates": null,
    "mailTemplateId": "b7a2d2ce-f38a-4fa0-ab38-5c165ead496b",
    "name": "sample string 6",
    "serialNumber": 7,
    "to": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMailTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <MailTemplate>
    <BCC>sample string 1</BCC>
    <CC>sample string 4</CC>
    <CanChange>true</CanChange>
    <CannotChangeReason>sample string 3</CannotChangeReason>
    <DocumentType>PurchaseOrder</DocumentType>
    <MailLanguageTemplates xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
    <MailTemplateId>b7a2d2ce-f38a-4fa0-ab38-5c165ead496b</MailTemplateId>
    <Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
    <Name>sample string 6</Name>
    <SerialNumber>7</SerialNumber>
    <To>sample string 8</To>
  </MailTemplate>
  <MailTemplate>
    <BCC>sample string 1</BCC>
    <CC>sample string 4</CC>
    <CanChange>true</CanChange>
    <CannotChangeReason>sample string 3</CannotChangeReason>
    <DocumentType>PurchaseOrder</DocumentType>
    <MailLanguageTemplates xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
    <MailTemplateId>b7a2d2ce-f38a-4fa0-ab38-5c165ead496b</MailTemplateId>
    <Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
    <Name>sample string 6</Name>
    <SerialNumber>7</SerialNumber>
    <To>sample string 8</To>
  </MailTemplate>
  <MailTemplate>
    <BCC>sample string 1</BCC>
    <CC>sample string 4</CC>
    <CanChange>true</CanChange>
    <CannotChangeReason>sample string 3</CannotChangeReason>
    <DocumentType>PurchaseOrder</DocumentType>
    <MailLanguageTemplates xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
    <MailTemplateId>b7a2d2ce-f38a-4fa0-ab38-5c165ead496b</MailTemplateId>
    <Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
    <Name>sample string 6</Name>
    <SerialNumber>7</SerialNumber>
    <To>sample string 8</To>
  </MailTemplate>
</ArrayOfMailTemplate>