Create a Crewtime Employee Timesheet
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Create a Crewtime Employee Timesheet

    • Dark
      Light

    Article summary

    Post
    /hcm-rest-api/rest/1/pyctimeempint

    Create Crewtime Employee Timesheet

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "TshAccessCode": "MASTER", "TshDocumentNo": "CREW_006", "TshHdrJobCompCode": "PYMJ", "TshWorkCompCode": "PYMJ", "TshHdrJobCode": "PYMJ3", "TshDate": "2022-12-01", "TshDataType": "J", "TshPhase": "02003", "TshCategory": "1000.1", "TshJobCode": "PYMJ3", "TshPrimaryEmpNo": "GL-BW-HR10", "TshHoursCode": "NWHR", "TshSubmitFlag": "N", "TshAprvStatus": "P", "TshTradeCode": "1634", "TshUnionCode": "2000", "TshDay01": 5.0, "TshTimeIn1": "2022-12-01T06:00:00-04:00", "TshTimeIn2": "2022-12-01T10:00:00-05:00", "TshTimeIn3": "2022-12-01T14:00:00-06:00", "TshTimeOut1": "2022-12-01T07:00:00-04:00", "TshTimeOut2": "2022-12-01T11:00:00-05:00", "TshTimeOut3": "2022-12-01T15:00:00-06:00", "TshVUuid": "" }
    TshVUuid
    string
    TshHdrJobCompCode
    string
    TshHdrJobCode
    string
    TshDocumentNo
    string
    TshDate
    date
    TshDataType
    string
    TshWorkCompCode
    string
    TshJobCode
    string
    TshPhase
    string
    TshCategory
    string
    TshSectorCode
    string
    TshScheduleCode
    string
    TshDeptCode
    string
    TshGlAccCode
    string
    TshEquipment
    string

    Equipment code for data type E lines

    TshEquipCategory
    string

    Equipment category code for data type E lines

    TshEquipTranCode
    string

    Equipment transaction code for data type E lines

    TshWoCode
    string

    Work Order Code.

    TshWitmLineNumber
    string

    Work Item number

    TshWoTaskCode
    string
    TshWoExpCode
    string

    Work Order Expense Code

    TshPrimaryEmpNo
    string

    Used to store the primary employee number from employee prfile. emp_primary_emp_no if employee was copied to different company

    TshUnionCode
    string
    TshTradeCode
    string
    TshHoursCode
    string
    TshDay01
    number

    Hours for Day 01 in the pay period for which timesheets are being entered.

    TshSubmitFlag
    string
    TshAprvStatus
    string
    TshProcessFlag
    string
    TshTimeIn1
    string
    TshTimeOut1
    string
    TshTimeIn2
    string
    TshTimeOut2
    string
    TshTimeIn3
    string
    TshTimeOut3
    string
    TshTimeIn4
    string
    TshTimeOut4
    string
    TshTimeIn5
    string
    TshTimeOut5
    string
    TshIuCreateDate
    date
    TshIuUpdateDate
    date
    TshAccessCode
    string
    TshActionCode
    string
    TshRecStatus
    string

    Timesheet record status N for normal record. I for invalid records and O for old records

    TshRecStatusComments
    string
    TshComment
    string
    Responses
    201

    Successful response