GET api/{database}/DocumentTypeInfoList

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
$expand MailTemplate

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "documentType": 0,
    "emailSenderAddress": "sample string 1",
    "mailTemplate": {
      "messages": [],
      "bcc": "sample string 1",
      "canChange": true,
      "cannotChangeReason": "sample string 3",
      "cc": "sample string 4",
      "documentType": 0,
      "mailLanguageTemplates": null,
      "mailTemplateId": "7ade4eaf-6974-4c9d-ad7c-116592cd623f",
      "name": "sample string 6",
      "serialNumber": 7,
      "to": "sample string 8"
    }
  },
  {
    "documentType": 0,
    "emailSenderAddress": "sample string 1",
    "mailTemplate": {
      "messages": [],
      "bcc": "sample string 1",
      "canChange": true,
      "cannotChangeReason": "sample string 3",
      "cc": "sample string 4",
      "documentType": 0,
      "mailLanguageTemplates": null,
      "mailTemplateId": "7ade4eaf-6974-4c9d-ad7c-116592cd623f",
      "name": "sample string 6",
      "serialNumber": 7,
      "to": "sample string 8"
    }
  },
  {
    "documentType": 0,
    "emailSenderAddress": "sample string 1",
    "mailTemplate": {
      "messages": [],
      "bcc": "sample string 1",
      "canChange": true,
      "cannotChangeReason": "sample string 3",
      "cc": "sample string 4",
      "documentType": 0,
      "mailLanguageTemplates": null,
      "mailTemplateId": "7ade4eaf-6974-4c9d-ad7c-116592cd623f",
      "name": "sample string 6",
      "serialNumber": 7,
      "to": "sample string 8"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfDocumentTypeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Info">
  <DocumentTypeInfo>
    <DocumentType>PurchaseOrder</DocumentType>
    <EmailSenderAddress>sample string 1</EmailSenderAddress>
    <MailTemplate xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
      <d3p1:BCC>sample string 1</d3p1:BCC>
      <d3p1:CC>sample string 4</d3p1:CC>
      <d3p1:CanChange>true</d3p1:CanChange>
      <d3p1:CannotChangeReason>sample string 3</d3p1:CannotChangeReason>
      <d3p1:DocumentType>PurchaseOrder</d3p1:DocumentType>
      <d3p1:MailLanguageTemplates xmlns:d4p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
      <d3p1:MailTemplateId>7ade4eaf-6974-4c9d-ad7c-116592cd623f</d3p1:MailTemplateId>
      <d3p1:Messages xmlns:d4p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
      <d3p1:Name>sample string 6</d3p1:Name>
      <d3p1:SerialNumber>7</d3p1:SerialNumber>
      <d3p1:To>sample string 8</d3p1:To>
    </MailTemplate>
  </DocumentTypeInfo>
  <DocumentTypeInfo>
    <DocumentType>PurchaseOrder</DocumentType>
    <EmailSenderAddress>sample string 1</EmailSenderAddress>
    <MailTemplate xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
      <d3p1:BCC>sample string 1</d3p1:BCC>
      <d3p1:CC>sample string 4</d3p1:CC>
      <d3p1:CanChange>true</d3p1:CanChange>
      <d3p1:CannotChangeReason>sample string 3</d3p1:CannotChangeReason>
      <d3p1:DocumentType>PurchaseOrder</d3p1:DocumentType>
      <d3p1:MailLanguageTemplates xmlns:d4p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
      <d3p1:MailTemplateId>7ade4eaf-6974-4c9d-ad7c-116592cd623f</d3p1:MailTemplateId>
      <d3p1:Messages xmlns:d4p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
      <d3p1:Name>sample string 6</d3p1:Name>
      <d3p1:SerialNumber>7</d3p1:SerialNumber>
      <d3p1:To>sample string 8</d3p1:To>
    </MailTemplate>
  </DocumentTypeInfo>
  <DocumentTypeInfo>
    <DocumentType>PurchaseOrder</DocumentType>
    <EmailSenderAddress>sample string 1</EmailSenderAddress>
    <MailTemplate xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
      <d3p1:BCC>sample string 1</d3p1:BCC>
      <d3p1:CC>sample string 4</d3p1:CC>
      <d3p1:CanChange>true</d3p1:CanChange>
      <d3p1:CannotChangeReason>sample string 3</d3p1:CannotChangeReason>
      <d3p1:DocumentType>PurchaseOrder</d3p1:DocumentType>
      <d3p1:MailLanguageTemplates xmlns:d4p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
      <d3p1:MailTemplateId>7ade4eaf-6974-4c9d-ad7c-116592cd623f</d3p1:MailTemplateId>
      <d3p1:Messages xmlns:d4p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
      <d3p1:Name>sample string 6</d3p1:Name>
      <d3p1:SerialNumber>7</d3p1:SerialNumber>
      <d3p1:To>sample string 8</d3p1:To>
    </MailTemplate>
  </DocumentTypeInfo>
</ArrayOfDocumentTypeInfo>