GET api/{database}/ReportTemplate/Default/{reportType}

Gets the specified ReportTemplate.



Request Information

Parameters

NameDescriptionAdditional information
reportType The reportType. Accepted values are: Value Description 0 Unknown 1 WebInvoice 2 Invoice 4 WebAccountOverview 8 AccountOverview 16 Order 32 ShippingOrder 64 PackingList 128 PermanenceOverview 256 FinancialStatement 512 TrialBalance 1024 ProfitAndLoss 2048 OutstandingItemsSales 4096 OutstandingItemsPurchase 8192 GeneralLedgerEntries 16384 TurnOverVATDeclaration

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "companyLogo": "QEBA",
  "dateChanged": "sample string 3",
  "dateCreated": "sample string 4",
  "description": "sample string 5",
  "galleryNumber": "sample string 6",
  "isDefault": true,
  "layout": "sample string 8",
  "origin": 0,
  "reportTemplateId": "sample string 9",
  "reportType": 0
}

application/xml, text/xml

Sample:
<ReportTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Reporting.Base.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <CompanyLogo>QEBA</CompanyLogo>
  <DateChanged>sample string 3</DateChanged>
  <DateCreated>sample string 4</DateCreated>
  <Description>sample string 5</Description>
  <GalleryNumber>sample string 6</GalleryNumber>
  <IsDefault>true</IsDefault>
  <Layout>sample string 8</Layout>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Origin>System</Origin>
  <ReportTemplateId>sample string 9</ReportTemplateId>
  <ReportType>Unknown</ReportType>
</ReportTemplate>