GET api/{database}/VatScenarioInfo/{scenarioId}/{fiscalYear}

Gets the specified VatScenarioInfo.



Request Information

Parameters

NameDescriptionAdditional information
scenarioId The scenarioId.

Define this parameter in the request URI.

fiscalYear The fiscalYear.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "isActive": true,
  "isIntrastatScenario": true,
  "isPreferredScenario": true,
  "transactionType": 0,
  "vatLocationType": "sample string 4",
  "vatOnInvoice": true,
  "vatScenarioDescription": "sample string 6",
  "vatScenarioId": 7,
  "vatScenarioRulesInfoList": null
}

application/xml, text/xml

Sample:
<VatScenarioInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Info">
  <IsActive>true</IsActive>
  <IsIntrastatScenario>true</IsIntrastatScenario>
  <IsPreferredScenario>true</IsPreferredScenario>
  <TransactionType>Purchase</TransactionType>
  <VatLocationType>sample string 4</VatLocationType>
  <VatOnInvoice>true</VatOnInvoice>
  <VatScenarioDescription>sample string 6</VatScenarioDescription>
  <VatScenarioId>7</VatScenarioId>
  <VatScenarioRulesInfoList xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
</VatScenarioInfo>