Create a Crewtime Employee Timesheet
    • 06 Jan 2025
    • 2 Minutes 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

    💻 UI Fieldname: TshVUuid

    Max length64
    TshHdrJobCompCode
    string

    💻 UI Fieldname: TshHdrJobCompCode

    Max length8
    TshHdrJobCode
    string

    💻 UI Fieldname: TshHdrJobCode

    Max length10
    TshDocumentNo
    string

    💻 UI Fieldname: TshDocumentNo

    Max length30
    TshDate
    string

    💻 UI Fieldname: TshDate

    Max length7
    TshDataType
    string

    💻 UI Fieldname: TshDataType

    Max length1
    TshWorkCompCode
    string

    💻 UI Fieldname: TshWorkCompCode

    Max length8
    TshJobCode
    string

    💻 UI Fieldname: TshJobCode

    Max length10
    TshPhase
    string

    💻 UI Fieldname: TshPhase

    Max length16
    TshCategory
    string

    💻 UI Fieldname: TshCategory

    Max length16
    TshSectorCode
    string

    💻 UI Fieldname: TshSectorCode

    Max length10
    TshScheduleCode
    string

    💻 UI Fieldname: TshScheduleCode

    Max length10
    TshDeptCode
    string

    💻 UI Fieldname: TshDeptCode

    Max length6
    TshGlAccCode
    string

    💻 UI Fieldname: TshGlAccCode

    Max length16
    TshEquipment
    string

    Equipment code for data type E lines

    💻 UI Fieldname: TshEquipment

    Max length10
    TshEquipCategory
    string

    Equipment category code for data type E lines

    💻 UI Fieldname: TshEquipCategory

    Max length16
    TshEquipTranCode
    string

    Equipment transaction code for data type E lines

    💻 UI Fieldname: TshEquipTranCode

    Max length4
    TshWoCode
    string

    Work Order Code.

    💻 UI Fieldname: TshWoCode

    Max length10
    TshWitmLineNumber
    string

    Work Item number

    💻 UI Fieldname: TshWitmLineNumber

    Max length16
    TshWoTaskCode
    string

    💻 UI Fieldname: TshWoTaskCode

    Max length10
    TshWoExpCode
    string

    Work Order Expense Code

    💻 UI Fieldname: TshWoExpCode

    Max length4
    TshPrimaryEmpNo
    string

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

    💻 UI Fieldname: TshPrimaryEmpNo

    Max length16
    TshUnionCode
    string

    💻 UI Fieldname: TshUnionCode

    Max length4
    TshTradeCode
    string

    💻 UI Fieldname: TshTradeCode

    Max length30
    TshHoursCode
    string

    💻 UI Fieldname: TshHoursCode

    Max length4
    TshDay01
    number

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

    💻 UI Fieldname: TshDay01

    Max length22
    TshSubmitFlag
    string

    💻 UI Fieldname: TshSubmitFlag

    Max length1
    TshAprvStatus
    string

    💻 UI Fieldname: TshAprvStatus

    Max length1
    TshProcessFlag
    string

    💻 UI Fieldname: TshProcessFlag

    Max length1
    TshTimeIn1
    string

    💻 UI Fieldname: TshTimeIn1

    Max length200
    TshTimeOut1
    string

    💻 UI Fieldname: TshTimeOut1

    Max length200
    TshTimeIn2
    string

    💻 UI Fieldname: TshTimeIn2

    Max length200
    TshTimeOut2
    string

    💻 UI Fieldname: TshTimeOut2

    Max length200
    TshTimeIn3
    string

    💻 UI Fieldname: TshTimeIn3

    Max length200
    TshTimeOut3
    string

    💻 UI Fieldname: TshTimeOut3

    Max length200
    TshTimeIn4
    string

    💻 UI Fieldname: TshTimeIn4

    Max length200
    TshTimeOut4
    string

    💻 UI Fieldname: TshTimeOut4

    Max length200
    TshTimeIn5
    string

    💻 UI Fieldname: TshTimeIn5

    Max length200
    TshTimeOut5
    string

    💻 UI Fieldname: TshTimeOut5

    Max length200
    TshIuCreateDate
    string

    💻 UI Fieldname: TshIuCreateDate

    Max length7
    TshIuUpdateDate
    string

    💻 UI Fieldname: TshIuUpdateDate

    Max length7
    TshAccessCode
    string

    💻 UI Fieldname: TshAccessCode

    Max length100
    TshActionCode
    string

    💻 UI Fieldname: TshActionCode

    Max length100
    TshRecStatus
    string

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

    💻 UI Fieldname: TshRecStatus

    Max length1
    TshRecStatusComments
    string

    💻 UI Fieldname: TshRecStatusComments

    Max length1000
    TshComment
    string

    💻 UI Fieldname: TshComment

    Max length2000
    Responses
    201

    Successful response