POST api/FrontierWeb/Timesheet/AddEmployeeTimesheet

Request Information

URI Parameters

None.

Body Parameters

AddEmployeeTimesheetRequest
NameDescriptionTypeAdditional information
PayDates

Collection of date

None.

ClockInTime

date

None.

ClockOutTime

date

None.

DaysToAdd

integer

None.

EmployeeIdNo

integer

None.

DepartmentCode

string

None.

GeoLocationIdNo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PayDates": [
    "2025-06-18T08:47:55.0549766-05:00",
    "2025-06-18T08:47:55.0549766-05:00"
  ],
  "ClockInTime": "2025-06-18T08:47:55.0549766-05:00",
  "ClockOutTime": "2025-06-18T08:47:55.0549766-05:00",
  "DaysToAdd": 0,
  "EmployeeIdNo": 2,
  "DepartmentCode": "sample string 3",
  "GeoLocationIdNo": 4
}

text/html

Sample:
{"PayDates":["2025-06-18T08:47:55.0549766-05:00","2025-06-18T08:47:55.0549766-05:00"],"ClockInTime":"2025-06-18T08:47:55.0549766-05:00","ClockOutTime":"2025-06-18T08:47:55.0549766-05:00","DaysToAdd":0,"EmployeeIdNo":2,"DepartmentCode":"sample string 3","GeoLocationIdNo":4}

Response Information

Resource Description

GenericTransactionResponse
NameDescriptionTypeAdditional information
ReturnedObject

Object

None.

IsSuccessful

Indicates if the transaction was successful or not.

boolean

None.

ReturnedMessages

Contains a list of Informational, Warning, and/or Error messages regarding the outcome of the transaction.

Collection of ReturnedMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnedObject": {},
  "IsSuccessful": true,
  "ReturnedMessages": null
}

text/html

Sample:
{"ReturnedObject":{},"IsSuccessful":true,"ReturnedMessages":null}