GET api/{database}/VatScenarioRuleInfoList/{fiscalYear}?scenarioId={scenarioId}

Gets a list of VatScenarioRuleInfo that matches the specified criteria



Request Information

Parameters

NameDescriptionAdditional information
fiscalYear The fiscalYear.

Define this parameter in the request URI.

scenarioId The scenarioId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "amountType": 0,
    "fiscalYear": 1,
    "invoiceType": "sample string 2",
    "negateAmount": true,
    "vatCodeId": "sample string 4",
    "vatScenarioId": 5,
    "vatSection": "sample string 6",
    "vatType": 0
  },
  {
    "amountType": 0,
    "fiscalYear": 1,
    "invoiceType": "sample string 2",
    "negateAmount": true,
    "vatCodeId": "sample string 4",
    "vatScenarioId": 5,
    "vatSection": "sample string 6",
    "vatType": 0
  },
  {
    "amountType": 0,
    "fiscalYear": 1,
    "invoiceType": "sample string 2",
    "negateAmount": true,
    "vatCodeId": "sample string 4",
    "vatScenarioId": 5,
    "vatSection": "sample string 6",
    "vatType": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfVatScenarioRuleInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Info">
  <VatScenarioRuleInfo>
    <AmountType>Turnover</AmountType>
    <FiscalYear>1</FiscalYear>
    <InvoiceType>sample string 2</InvoiceType>
    <NegateAmount>true</NegateAmount>
    <VatCodeId>sample string 4</VatCodeId>
    <VatScenarioId>5</VatScenarioId>
    <VatSection>sample string 6</VatSection>
    <VatType>Goods</VatType>
  </VatScenarioRuleInfo>
  <VatScenarioRuleInfo>
    <AmountType>Turnover</AmountType>
    <FiscalYear>1</FiscalYear>
    <InvoiceType>sample string 2</InvoiceType>
    <NegateAmount>true</NegateAmount>
    <VatCodeId>sample string 4</VatCodeId>
    <VatScenarioId>5</VatScenarioId>
    <VatSection>sample string 6</VatSection>
    <VatType>Goods</VatType>
  </VatScenarioRuleInfo>
  <VatScenarioRuleInfo>
    <AmountType>Turnover</AmountType>
    <FiscalYear>1</FiscalYear>
    <InvoiceType>sample string 2</InvoiceType>
    <NegateAmount>true</NegateAmount>
    <VatCodeId>sample string 4</VatCodeId>
    <VatScenarioId>5</VatScenarioId>
    <VatSection>sample string 6</VatSection>
    <VatType>Goods</VatType>
  </VatScenarioRuleInfo>
</ArrayOfVatScenarioRuleInfo>