YTIME_PUNCH_CORRECTION
Self-service web service that allows the user to submit missing in and out punches.
More information: https://it.byu.edu
Contact Info: api@byu.edu
Base URL: /domains/erp/hr/ytime_punch_correction
Version: v1
Default request content-types: application/json
Default response content-types: application/json
Schemes: https
Summary
Path | Operation | Description |
---|---|---|
/* | POST |
Paths
POST /*
Uses default content-types: application/json
Punch Information
Uses default content-types: application/json
- 200 OK
-
The punch correction was accepted.
Example for application/json{
"status": {
"success": "Posted"
}
}
Schema definitions
- employee_record: string , must match ^[0-9]{1,3}$
-
Employee Record Number
- punch_date: string (date)
-
Punch Date
- punch_type: string , x ∈ { I , O }
-
Punch Type
- punch_time: string , must match ^(0[0-9]|1[0-9]|2[0-3]).([0-5][0-9]).([0-5][0-9])$
-
Punch Time
- internet_address: string , must match ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$
-
IP Address
- latitude: string , must match ^-?(\d\.\d{1,7}|[1-8]\d\.\d{1,7}|90\.0{1,7})$
-
Latitude
- longitude: string , must match ^-?((([1]?[0-7][0-9]|[1-9]?[0-9])\.{1}\d{1,7}$)|[1]?[1-8][0]\.{1}0{1,7})$
-
Longitude
- source: string , x ∈ { MBL , IOT , WEB }
-
Punch Source
- timesheet: object
-
- punch: punch
-
- status: status
-
Service Path:
/domains/erp/hr/ytime_punch_correction
Domain or University API:
/domains/erp/hr/ytime_punch_correction