PUT payroll/periods

Request Information

URI Parameters

None.

Body Parameters

Period
NameDescriptionTypeAdditional information
ID

integer

None.

From

date

None.

To

date

None.

OrganizationalUnitID

integer

None.

Name

string

None.

PaymentDate

date

None.

PointValue

decimal number

None.

FundHours

integer

None.

IsApproved

boolean

None.

IsPosted

boolean

None.

IsProtected

boolean

None.

IsEditable

boolean

None.

PaymentStatus

integer

None.

Audit

Audit

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "From": "2024-04-19T06:44:13.3511314+00:00",
  "To": "2024-04-19T06:44:13.3511314+00:00",
  "OrganizationalUnitID": 1,
  "Name": "sample string 4",
  "PaymentDate": "2024-04-19T06:44:13.3511314+00:00",
  "PointValue": 6.0,
  "FundHours": 7,
  "IsApproved": true,
  "IsPosted": true,
  "IsProtected": true,
  "IsEditable": true,
  "PaymentStatus": 12,
  "Audit": {
    "AddUser": 1,
    "AddTime": "2024-04-19T06:44:13.3511314+00:00",
    "EditUser": 1,
    "EditTime": "2024-04-19T06:44:13.3511314+00:00"
  }
}

text/xml

Sample:
<Period xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Payroll.Calculations">
  <Audit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO">
    <d2p1:AddTime>2024-04-19T06:44:13.3511314+00:00</d2p1:AddTime>
    <d2p1:AddUser>1</d2p1:AddUser>
    <d2p1:EditTime>2024-04-19T06:44:13.3511314+00:00</d2p1:EditTime>
    <d2p1:EditUser>1</d2p1:EditUser>
  </Audit>
  <From>2024-04-19T06:44:13.3511314+00:00</From>
  <FundHours>7</FundHours>
  <ID>1</ID>
  <IsApproved>true</IsApproved>
  <IsEditable>true</IsEditable>
  <IsPosted>true</IsPosted>
  <IsProtected>true</IsProtected>
  <Name>sample string 4</Name>
  <OrganizationalUnitID>1</OrganizationalUnitID>
  <PaymentDate>2024-04-19T06:44:13.3511314+00:00</PaymentDate>
  <PaymentStatus>12</PaymentStatus>
  <PointValue>6</PointValue>
  <To>2024-04-19T06:44:13.3511314+00:00</To>
</Period>

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 'Period'.

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.