GET api/Job/{employeeNo}
Get a list of all job details for an employee
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
employeeNo |
Employee Number |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
All Job Details
Collection of JobDetailName | Description | Type | Additional information |
---|---|---|---|
StartDate | date |
Required |
|
JobTitle | string |
None. |
|
WeeklyHoursWorked | decimal number |
None. |
|
DailyRate |
Only stored for WorkerPayType Hourly |
decimal number |
None. |
HourlyRate |
Only stored for WorkerPayType Hourly |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "StartDate": "2024-12-23T06:54:56.6403781+00:00", "JobTitle": "sample string 2", "WeeklyHoursWorked": 1.0, "DailyRate": 1.0, "HourlyRate": 1.0 }, { "StartDate": "2024-12-23T06:54:56.6403781+00:00", "JobTitle": "sample string 2", "WeeklyHoursWorked": 1.0, "DailyRate": 1.0, "HourlyRate": 1.0 } ]
application/xml, text/xml
Sample:
<ArrayOfJobDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServicesRESTful.Models"> <JobDetail> <DailyRate>1</DailyRate> <HourlyRate>1</HourlyRate> <JobTitle>sample string 2</JobTitle> <StartDate>2024-12-23T06:54:56.6403781+00:00</StartDate> <WeeklyHoursWorked>1</WeeklyHoursWorked> </JobDetail> <JobDetail> <DailyRate>1</DailyRate> <HourlyRate>1</HourlyRate> <JobTitle>sample string 2</JobTitle> <StartDate>2024-12-23T06:54:56.6403781+00:00</StartDate> <WeeklyHoursWorked>1</WeeklyHoursWorked> </JobDetail> </ArrayOfJobDetail>