POST v1/Employees/IssueFingercheckPayCard
Generate and link a Pay Card for specific Employee, parameter is EmployeePayCardData Object. Employee Number is the Data Key for proper updating.
Request Information
URI Parameters
None.
Body Parameters
The EmployeePayCardData Object.
EmployeePayCardDataName | Description | Type | Additional information |
---|---|---|---|
EmployeeNumber | string |
None. |
|
CalculationType | DDCalculationType |
None. |
|
Amount | decimal number |
None. |
|
ModifiedOn | date |
None. |
|
UseNewAddress | boolean |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
Zip | string |
None. |
|
CardID |
Enter a Card ID if you want to register existing card. Leave blank to issue new card. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeNumber": "sample string 1", "CalculationType": 0, "Amount": 2.0, "ModifiedOn": "2023-12-05T04:07:27.7181983-05:00", "UseNewAddress": true, "Address1": "sample string 5", "Address2": "sample string 6", "City": "sample string 7", "State": "sample string 8", "Zip": "sample string 9", "CardID": "sample string 10" }
application/xml, text/xml
Sample:
<EmployeePayCardData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models"> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <Amount>2</Amount> <CalculationType>Flat</CalculationType> <CardID>sample string 10</CardID> <City>sample string 7</City> <EmployeeNumber>sample string 1</EmployeeNumber> <ModifiedOn>2023-12-05T04:07:27.7181983-05:00</ModifiedOn> <State>sample string 8</State> <UseNewAddress>true</UseNewAddress> <Zip>sample string 9</Zip> </EmployeePayCardData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |