GET api/invoice-settings/{invoiceSettingsId}/volume-based-commissions?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 colume based commission configurations 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 QueryFilterOfInvoiceCommissionConfigPartColumn

Required

sortings

The sortings.

Collection of QuerySortingOfInvoiceCommissionConfigPartColumn

Required



Body Parameters

None.



Response Information

Resource Description

The requested volume-based commissions presented as a collection of InvoiceCommissionConfigPartViewModel.

Collection of InvoiceCommissionConfigPartViewModel

NameDescriptionTypeAdditional information
Id

integer

None.

Start

decimal number

None.

Commission

decimal number

None.

CommissionWeekend

decimal number

None.

CommissionHoliday

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Start": 2.0,
    "Commission": 3.1,
    "CommissionWeekend": 4.1,
    "CommissionHoliday": 5.1
  },
  {
    "Id": 1,
    "Start": 2.0,
    "Commission": 3.1,
    "CommissionWeekend": 4.1,
    "CommissionHoliday": 5.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvoiceCommissionConfigPartViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Shared.Models.ViewModels">
  <InvoiceCommissionConfigPartViewModel>
    <Commission>3.1</Commission>
    <CommissionHoliday>5.1</CommissionHoliday>
    <CommissionWeekend>4.1</CommissionWeekend>
    <Id>1</Id>
    <Start>2</Start>
  </InvoiceCommissionConfigPartViewModel>
  <InvoiceCommissionConfigPartViewModel>
    <Commission>3.1</Commission>
    <CommissionHoliday>5.1</CommissionHoliday>
    <CommissionWeekend>4.1</CommissionWeekend>
    <Id>1</Id>
    <Start>2</Start>
  </InvoiceCommissionConfigPartViewModel>
</ArrayOfInvoiceCommissionConfigPartViewModel>