GET v1/on-demand-pay/export/employees/{employeeNumber}?companyCode={companyCode}&divisionCode={divisionCode}&asOf={asOf}
Retrieve OnDemandPay Employee by Division
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode |
The company code. |
string |
Required |
| divisionCode |
The division code. |
string |
Required |
| employeeNumber |
The employee number. |
string |
Required |
| asOf | date |
None. |
Body Parameters
None.
Response Information
Resource Description
OnDemandPayEmployeeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeNumber | string |
None. |
|
| EmployeeKey | GlobalEntityKeyOfIEmployee |
None. |
|
| LastName | string |
None. |
|
| FirstName | string |
None. |
|
| MiddleInitial | character |
None. |
|
| SSN | string |
None. |
|
| BirthDate | date |
None. |
|
| EmployeeStatus | EmployeeStatus |
None. |
|
| HireDate | date |
None. |
|
| RehireDate | date |
None. |
|
| TerminationDate | date |
None. |
|
| BaseRate | decimal number |
None. |
|
| PayType | PayType |
None. |
|
| PayFrequency | PayFrequency |
None. |
|
| StandardHours | decimal number |
None. |
|
| ClockNumber | string |
None. |
|
| WorkPhone | string |
None. |
|
| WorkExtension | string |
None. |
|
| HomePhone | string |
None. |
|
| MobilePhone | string |
None. |
|
| string |
None. |
||
| Department | string |
None. |
|
| LocationCode | string |
None. |
|
| PersonalId | EntityKeyOfIEmployeePersonalAndInt32 |
None. |
|
| DirectDeposits | Collection of OnDemandPayDirectDepositDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"employeeNumber": "sample string 1",
"employeeKey": "<empty>",
"lastName": "sample string 2",
"firstName": "sample string 3",
"middleInitial": "A",
"ssn": "sample string 5",
"birthDate": "0001-02-03",
"employeeStatus": "Active",
"hireDate": "0001-02-03",
"rehireDate": "0001-02-03",
"terminationDate": "0001-02-03",
"baseRate": 6.0,
"payType": "Salary",
"payFrequency": "YEAR",
"standardHours": 1.0,
"clockNumber": "sample string 7",
"workPhone": "sample string 8",
"workExtension": "sample string 9",
"homePhone": "sample string 10",
"mobilePhone": "sample string 11",
"email": "sample string 12",
"department": "sample string 13",
"locationCode": "sample string 14",
"personalId": "<empty>",
"directDeposits": [
{
"accountNumberLast4Digits": "sample string 1",
"transABA": "sample string 2",
"achAccountTypeCode": "sample string 3",
"achAccountType": "Savings"
},
{
"accountNumberLast4Digits": "sample string 1",
"transABA": "sample string 2",
"achAccountTypeCode": "sample string 3",
"achAccountType": "Savings"
}
]
}
text/xml
Sample:
<OnDemandPayEmployeeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.ServiceContracts.Data.Models">
<BaseRate>6</BaseRate>
<BirthDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates">
<d2p1:Year>1</d2p1:Year>
<d2p1:Month>2</d2p1:Month>
<d2p1:Day>3</d2p1:Day>
</BirthDate>
<ClockNumber>sample string 7</ClockNumber>
<Department>sample string 13</Department>
<DirectDeposits>
<OnDemandPayDirectDepositDTO>
<ACHAccountType>Savings</ACHAccountType>
<ACHAccountTypeCode>sample string 3</ACHAccountTypeCode>
<AccountNumberLast4Digits>sample string 1</AccountNumberLast4Digits>
<TransABA>sample string 2</TransABA>
</OnDemandPayDirectDepositDTO>
<OnDemandPayDirectDepositDTO>
<ACHAccountType>Savings</ACHAccountType>
<ACHAccountTypeCode>sample string 3</ACHAccountTypeCode>
<AccountNumberLast4Digits>sample string 1</AccountNumberLast4Digits>
<TransABA>sample string 2</TransABA>
</OnDemandPayDirectDepositDTO>
</DirectDeposits>
<Email>sample string 12</Email>
<EmployeeKey xmlns:d2p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
<d2p1:_entityKey>
<d2p1:_hasValue>false</d2p1:_hasValue>
<d2p1:_value>00000000-0000-0000-0000-000000000000</d2p1:_value>
</d2p1:_entityKey>
</EmployeeKey>
<EmployeeNumber>sample string 1</EmployeeNumber>
<EmployeeStatus>Active</EmployeeStatus>
<FirstName>sample string 3</FirstName>
<HireDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates">
<d2p1:Year>1</d2p1:Year>
<d2p1:Month>2</d2p1:Month>
<d2p1:Day>3</d2p1:Day>
</HireDate>
<HomePhone>sample string 10</HomePhone>
<LastName>sample string 2</LastName>
<LocationCode>sample string 14</LocationCode>
<MiddleInitial>65</MiddleInitial>
<MobilePhone>sample string 11</MobilePhone>
<PayFrequency>YEAR</PayFrequency>
<PayType>Salary</PayType>
<PersonalId xmlns:d2p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
<d2p1:_hasValue>false</d2p1:_hasValue>
<d2p1:_value>0</d2p1:_value>
</PersonalId>
<RehireDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates">
<d2p1:Year>1</d2p1:Year>
<d2p1:Month>2</d2p1:Month>
<d2p1:Day>3</d2p1:Day>
</RehireDate>
<SSN>sample string 5</SSN>
<StandardHours>1</StandardHours>
<TerminationDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates">
<d2p1:Year>1</d2p1:Year>
<d2p1:Month>2</d2p1:Month>
<d2p1:Day>3</d2p1:Day>
</TerminationDate>
<WorkExtension>sample string 9</WorkExtension>
<WorkPhone>sample string 8</WorkPhone>
</OnDemandPayEmployeeDTO>