PUT api/{database}/ReportTemplate/{reportTemplateId}

Updates the specified ReportTemplate



Request Information

Parameters

NameDescriptionAdditional information
reportTemplateId The reportTemplateId.

Define this parameter in the request URI.

value The updated values for ReportTemplate.

Define this parameter in the request body.

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>