GET api/{database}/DocumentTypeInfo/{type}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
type No Documentation Found.

Define this parameter in the request URI.

$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": "7c38b39b-f4c5-49ff-91aa-d65489efe283",
    "name": "sample string 6",
    "to": "sample string 7"
  }
}

application/xml, text/xml

Sample:
<DocumentTypeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Info">
  <DocumentType>PurchaseOrder</DocumentType>
  <EmailSenderAddress>sample string 1</EmailSenderAddress>
  <MailTemplate xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
    <d2p1:BCC>sample string 1</d2p1:BCC>
    <d2p1:CC>sample string 4</d2p1:CC>
    <d2p1:CanChange>true</d2p1:CanChange>
    <d2p1:CannotChangeReason>sample string 3</d2p1:CannotChangeReason>
    <d2p1:DocumentType>PurchaseOrder</d2p1:DocumentType>
    <d2p1:MailLanguageTemplates xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
    <d2p1:MailTemplateId>7c38b39b-f4c5-49ff-91aa-d65489efe283</d2p1:MailTemplateId>
    <d2p1:Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
    <d2p1:Name>sample string 6</d2p1:Name>
    <d2p1:To>sample string 7</d2p1:To>
  </MailTemplate>
</DocumentTypeInfo>