GET api/{database}/VatScenarioRuleInfo/{scenarioId}
Gets the specified VatScenarioRuleInfo.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
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 }
application/xml, text/xml
Sample:
<VatScenarioRuleInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Info"> <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>