PUT api/{database}/ReportTemplateConfiguration/{reportType}/{reportSubType}/{languageId}/{customerId}/{supplierId}
Updates the specified ReportTemplateConfiguration
Request Information
Parameters
Name | Description | Additional 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. |
reportSubType | The reportSubType. Accepted values are: Value Description 0 Unknown 1 GenericInvoice 2 ServiceInvoice 3 OrderInvoice 4 DirectSalesInvoice 5 SubscriptionInvoice 6 TimesheetInvoice 7 ProjectInvoice 8 AccountOverview 9 ShippingOrder 10 PackingList |
Define this parameter in the request URI. |
languageId | The languageId. |
Define this parameter in the request URI. |
customerId | The customerId. |
Define this parameter in the request URI. |
supplierId | The supplierId. |
Define this parameter in the request URI. |
value | The updated values for ReportTemplateConfiguration. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "messages": [], "canChange": true, "cannotChangeReason": "sample string 2", "configurationId": "sample string 3", "customerId": "sample string 4", "languageId": "sample string 5", "reportSubType": 0, "reportTemplateId": "sample string 6", "reportType": 0, "supplierId": "sample string 7" }
application/xml, text/xml
Sample:
<ReportTemplateConfiguration 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> <ConfigurationId>sample string 3</ConfigurationId> <CustomerId>sample string 4</CustomerId> <LanguageId>sample string 5</LanguageId> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <ReportSubType>Unknown</ReportSubType> <ReportTemplateId>sample string 6</ReportTemplateId> <ReportType>Unknown</ReportType> <SupplierId>sample string 7</SupplierId> </ReportTemplateConfiguration>
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", "configurationId": "sample string 3", "customerId": "sample string 4", "languageId": "sample string 5", "reportSubType": 0, "reportTemplateId": "sample string 6", "reportType": 0, "supplierId": "sample string 7" }
application/xml, text/xml
Sample:
<ReportTemplateConfiguration 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> <ConfigurationId>sample string 3</ConfigurationId> <CustomerId>sample string 4</CustomerId> <LanguageId>sample string 5</LanguageId> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <ReportSubType>Unknown</ReportSubType> <ReportTemplateId>sample string 6</ReportTemplateId> <ReportType>Unknown</ReportType> <SupplierId>sample string 7</SupplierId> </ReportTemplateConfiguration>