POST api/pto_accrual

Request Information

URI Parameters

None.

Body Parameters

pto_accrual
NameDescriptionTypeAdditional information
id

integer

None.

employee_external_id

string

None.

start_date

date

None.

end_date

date

None.

year

integer

None.

type

string

None.

accrual

decimal number

None.

available_date

date

None.

entered_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "employee_external_id": "sample string 2",
  "start_date": "2025-02-06T16:55:46.4332534+00:00",
  "end_date": "2025-02-06T16:55:46.4332534+00:00",
  "year": 1,
  "type": "sample string 3",
  "accrual": 1.1,
  "available_date": "2025-02-06T16:55:46.4332534+00:00",
  "entered_date": "2025-02-06T16:55:46.4332534+00:00"
}

application/xml, text/xml

Sample:
<pto_accrual xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EvokeAPI">
  <accrual>1.1</accrual>
  <available_date>2025-02-06T16:55:46.4332534+00:00</available_date>
  <employee_external_id>sample string 2</employee_external_id>
  <end_date>2025-02-06T16:55:46.4332534+00:00</end_date>
  <entered_date>2025-02-06T16:55:46.4332534+00:00</entered_date>
  <id>1</id>
  <start_date>2025-02-06T16:55:46.4332534+00:00</start_date>
  <type>sample string 3</type>
  <year>1</year>
</pto_accrual>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

pto_accrual
NameDescriptionTypeAdditional information
id

integer

None.

employee_external_id

string

None.

start_date

date

None.

end_date

date

None.

year

integer

None.

type

string

None.

accrual

decimal number

None.

available_date

date

None.

entered_date

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "employee_external_id": "sample string 2",
  "start_date": "2025-02-06T16:55:46.4332534+00:00",
  "end_date": "2025-02-06T16:55:46.4332534+00:00",
  "year": 1,
  "type": "sample string 3",
  "accrual": 1.1,
  "available_date": "2025-02-06T16:55:46.4332534+00:00",
  "entered_date": "2025-02-06T16:55:46.4332534+00:00"
}

application/xml, text/xml

Sample:
<pto_accrual xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EvokeAPI">
  <accrual>1.1</accrual>
  <available_date>2025-02-06T16:55:46.4332534+00:00</available_date>
  <employee_external_id>sample string 2</employee_external_id>
  <end_date>2025-02-06T16:55:46.4332534+00:00</end_date>
  <entered_date>2025-02-06T16:55:46.4332534+00:00</entered_date>
  <id>1</id>
  <start_date>2025-02-06T16:55:46.4332534+00:00</start_date>
  <type>sample string 3</type>
  <year>1</year>
</pto_accrual>