PUT payroll/taxbreaks

Request Information

URI Parameters

None.

Body Parameters

TaxBreak
NameDescriptionTypeAdditional information
ID

integer

None.

EmployeeID

integer

None.

Employee

ListItem

None.

TypeID

integer

None.

Type

ListItem

None.

Name

string

None.

Value

decimal number

None.

Factor

decimal number

None.

From

date

None.

To

date

None.

Audit

Audit

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "EmployeeID": 2,
  "Employee": {
    "Key": 1,
    "Value": "sample string 2"
  },
  "TypeID": 3,
  "Type": {
    "Key": 1,
    "Value": "sample string 2"
  },
  "Name": "sample string 4",
  "Value": 5.0,
  "Factor": 6.0,
  "From": "2024-03-29T06:07:13.1796496+00:00",
  "To": "2024-03-29T06:07:13.1796496+00:00",
  "Audit": {
    "AddUser": 1,
    "AddTime": "2024-03-29T06:07:13.1796496+00:00",
    "EditUser": 1,
    "EditTime": "2024-03-29T06:07:13.1796496+00:00"
  }
}

text/xml

Sample:
<TaxBreak xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Payroll">
  <Audit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO">
    <d2p1:AddTime>2024-03-29T06:07:13.1796496+00:00</d2p1:AddTime>
    <d2p1:AddUser>1</d2p1:AddUser>
    <d2p1:EditTime>2024-03-29T06:07:13.1796496+00:00</d2p1:EditTime>
    <d2p1:EditUser>1</d2p1:EditUser>
  </Audit>
  <Employee xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO">
    <d2p1:Key>1</d2p1:Key>
    <d2p1:Value>sample string 2</d2p1:Value>
  </Employee>
  <EmployeeID>2</EmployeeID>
  <Factor>6</Factor>
  <From>2024-03-29T06:07:13.1796496+00:00</From>
  <ID>1</ID>
  <Name>sample string 4</Name>
  <To>2024-03-29T06:07:13.1796496+00:00</To>
  <Type xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO">
    <d2p1:Key>1</d2p1:Key>
    <d2p1:Value>sample string 2</d2p1:Value>
  </Type>
  <TypeID>3</TypeID>
  <Value>5</Value>
</TaxBreak>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TaxBreak'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.