POST api/EmployeePto
Request Information
URI Parameters
None.
Body Parameters
employeePto| Name | Description | Type | Additional information |
|---|---|---|---|
| employeePtoId | globally unique identifier |
None. |
|
| employeeId | globally unique identifier |
None. |
|
| ptoType | string |
None. |
|
| ptoFrom | date |
None. |
|
| ptoTo | date |
None. |
|
| ptoHour | decimal number |
None. |
|
| employeePaymentId | globally unique identifier |
None. |
|
| deductible | decimal number |
None. |
|
| ptoEarned | decimal number |
None. |
|
| ptoCleared | decimal number |
None. |
|
| memo | string |
None. |
|
| employeeInfo | employeeInfo |
None. |
|
| employeePayment | employeePayment |
None. |
Request Formats
application/json, text/json
Sample:
{
"employeePtoId": "435ddac8-ced5-4bb3-bd09-c536b60ead1c",
"employeeId": "bf397b93-7a02-496f-b948-91ac96fe0f7b",
"ptoType": "sample string 2",
"ptoFrom": "2026-10-26T20:44:34.9519039-07:00",
"ptoTo": "2026-10-26T20:44:34.9519039-07:00",
"ptoHour": 1.0,
"employeePaymentId": "c01ca269-14f9-4143-b444-6a3ada38c4ce",
"deductible": 1.0,
"ptoEarned": 1.0,
"ptoCleared": 1.0,
"memo": "sample string 3",
"employeeInfo": {
"employeeId": "ef2af631-ce5f-4a27-a1c3-a879feeba40d",
"name": "sample string 2",
"status": "sample string 3",
"ssn": "sample string 4",
"dob": "2026-10-26T20:44:34.9519039-07:00",
"address": "sample string 5",
"hiredDate": "2026-10-26T20:44:34.9519039-07:00",
"endDate": "2026-10-26T20:44:34.9519039-07:00",
"employeeNo": 1,
"employeePayRates": [
{
"payRateId": "1cd8a5bd-292e-4bd7-9145-40aa672d8313",
"payType": "sample string 2",
"payTerm": "sample string 3",
"grossPay": 1.0,
"payAmount": 1.0,
"effectiveDate": "2026-10-26T20:44:34.9675274-07:00",
"employeeId": "51d949c0-b3fa-401a-8c76-31e6b3f23bad",
"transactionMethod": "sample string 5",
"overTimePay": 1.0,
"isNew": true,
"isCurrent": true
},
{
"payRateId": "1cd8a5bd-292e-4bd7-9145-40aa672d8313",
"payType": "sample string 2",
"payTerm": "sample string 3",
"grossPay": 1.0,
"payAmount": 1.0,
"effectiveDate": "2026-10-26T20:44:34.9675274-07:00",
"employeeId": "51d949c0-b3fa-401a-8c76-31e6b3f23bad",
"transactionMethod": "sample string 5",
"overTimePay": 1.0,
"isNew": true,
"isCurrent": true
}
],
"employeePtoes": [],
"yearFica": 0.0,
"yearFiT": 0.0,
"yearSit": 0.0,
"yearSdi": 0.0,
"yearGross": 0.0,
"ptoSickTotal": 0.0,
"ptoVacationTotal": 0.0,
"ptoTotalSickUsed": 0.0,
"ptoTotalVacationUsed": 0.0
}
}
application/xml, text/xml
Sample:
XML example omitted: automatic generation is unsafe for cyclic entity models. XML API requests and responses remain available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
employeePto| Name | Description | Type | Additional information |
|---|---|---|---|
| employeePtoId | globally unique identifier |
None. |
|
| employeeId | globally unique identifier |
None. |
|
| ptoType | string |
None. |
|
| ptoFrom | date |
None. |
|
| ptoTo | date |
None. |
|
| ptoHour | decimal number |
None. |
|
| employeePaymentId | globally unique identifier |
None. |
|
| deductible | decimal number |
None. |
|
| ptoEarned | decimal number |
None. |
|
| ptoCleared | decimal number |
None. |
|
| memo | string |
None. |
|
| employeeInfo | employeeInfo |
None. |
|
| employeePayment | employeePayment |
None. |
Response Formats
application/json, text/json
Sample:
{
"employeePtoId": "f4e65bda-8cac-41fc-98ea-413072281c3b",
"employeeId": "3a30687b-ea06-4c98-8fe9-9b9a62670a11",
"ptoType": "sample string 2",
"ptoFrom": "2026-10-26T20:44:35.1706532-07:00",
"ptoTo": "2026-10-26T20:44:35.1706532-07:00",
"ptoHour": 1.0,
"employeePaymentId": "346b23ee-6056-4556-9010-cfa4e14eb998",
"deductible": 1.0,
"ptoEarned": 1.0,
"ptoCleared": 1.0,
"memo": "sample string 3",
"employeeInfo": {
"employeeId": "d5a3cfa2-ea1c-4d6b-bf9c-cd9ba1d14ec4",
"name": "sample string 2",
"status": "sample string 3",
"ssn": "sample string 4",
"dob": "2026-10-26T20:44:35.1706532-07:00",
"address": "sample string 5",
"hiredDate": "2026-10-26T20:44:35.1706532-07:00",
"endDate": "2026-10-26T20:44:35.1706532-07:00",
"employeeNo": 1,
"employeePayRates": [
{
"payRateId": "0b89c413-9a57-477e-9ef9-c06ae27b6dfd",
"payType": "sample string 2",
"payTerm": "sample string 3",
"grossPay": 1.0,
"payAmount": 1.0,
"effectiveDate": "2026-10-26T20:44:35.1706532-07:00",
"employeeId": "8f18eece-59f8-4a93-b156-6f7fb593a9a8",
"transactionMethod": "sample string 5",
"overTimePay": 1.0,
"isNew": true,
"isCurrent": true
},
{
"payRateId": "0b89c413-9a57-477e-9ef9-c06ae27b6dfd",
"payType": "sample string 2",
"payTerm": "sample string 3",
"grossPay": 1.0,
"payAmount": 1.0,
"effectiveDate": "2026-10-26T20:44:35.1706532-07:00",
"employeeId": "8f18eece-59f8-4a93-b156-6f7fb593a9a8",
"transactionMethod": "sample string 5",
"overTimePay": 1.0,
"isNew": true,
"isCurrent": true
}
],
"employeePtoes": [],
"yearFica": 0.0,
"yearFiT": 0.0,
"yearSit": 0.0,
"yearSdi": 0.0,
"yearGross": 0.0,
"ptoSickTotal": 0.0,
"ptoVacationTotal": 0.0,
"ptoTotalSickUsed": 0.0,
"ptoTotalVacationUsed": 0.0
}
}
application/xml, text/xml
Sample:
XML example omitted: automatic generation is unsafe for cyclic entity models. XML API requests and responses remain available.