GET api/invoice-settings/{invoiceSettingsId}/corrections?pageIndex={pageIndex}&pageSize={pageSize}&filters[0].Id={filters[0].Id}&filters[0].Value={filters[0].Value}&filters[1].Id={filters[1].Id}&filters[1].Value={filters[1].Value}&sortings[0].Id={sortings[0].Id}&sortings[0].Direction={sortings[0].Direction}&sortings[1].Id={sortings[1].Id}&sortings[1].Direction={sortings[1].Direction}

Gets the corrections of a specific InvoiceSettings entity.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
invoiceSettingsId

The id of the InvoiceSettings.

integer

Required

pageIndex

The number of the "page" of results to get.

integer

Required

pageSize

The amount per "page" to get.

integer

Required

filters

The filters.

Collection of QueryFilterOfInvoiceCorrectionColumn

Required

sortings

The sortings.

Collection of QuerySortingOfInvoiceCorrectionColumn

Required



Body Parameters

None.



Response Information

Resource Description

The requested corrections presented as a collection of InvoiceCorrectionViewModel.

Collection of InvoiceCorrectionViewModel

NameDescriptionTypeAdditional information
BeforeCommissionCalculation

boolean

None.

Correction

decimal number

None.

CorrectionType

InvoiceCorrectionType

None.

Description

string

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BeforeCommissionCalculation": true,
    "Correction": 2.0,
    "CorrectionType": 0,
    "Description": "sample string 3",
    "Id": 4
  },
  {
    "BeforeCommissionCalculation": true,
    "Correction": 2.0,
    "CorrectionType": 0,
    "Description": "sample string 3",
    "Id": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvoiceCorrectionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Shared.Models.ViewModels">
  <InvoiceCorrectionViewModel>
    <BeforeCommissionCalculation>true</BeforeCommissionCalculation>
    <Correction>2</Correction>
    <CorrectionType>Undecided</CorrectionType>
    <Description>sample string 3</Description>
    <Id>4</Id>
  </InvoiceCorrectionViewModel>
  <InvoiceCorrectionViewModel>
    <BeforeCommissionCalculation>true</BeforeCommissionCalculation>
    <Correction>2</Correction>
    <CorrectionType>Undecided</CorrectionType>
    <Description>sample string 3</Description>
    <Id>4</Id>
  </InvoiceCorrectionViewModel>
</ArrayOfInvoiceCorrectionViewModel>