POST api/invoice-settings/{invoiceSettingsId}/invoice-commission-config-parts

Creates an InvoiceCommissionConfigPart entity.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
invoiceSettingsId

The id of the InvoiceSettings to which the InvoiceCommissionConfigPart is to be related.

integer

Required



Body Parameters

The model describing the InvoiceCommissionConfigPart to create.

InvoiceCommissionConfigPartViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Start

decimal number

None.

Commission

decimal number

None.

CommissionWeekend

decimal number

None.

CommissionHoliday

decimal number

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A model describing the added InvoiceCommissionConfigPart.

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
}

application/xml, text/xml

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