---
title: "Create a PY Employee Timesheet"
slug: "create-a-py-employee-timesheet"
updated: 2026-05-26T12:53:14Z
published: 2026-05-26T12:53:48Z
canonical: "developers.cmicglobal.com/create-a-py-employee-timesheet"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developers.cmicglobal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a PY Employee Timesheet

Post/hcm-rest-api/rest/1/pyemptimesheet

## Create Employee Timesheets

### 

SecurityHTTPType basic

Basic authentication

Header parametersContent-TypestringExampleapplication/vnd.oracle.adf.resourceItem+json

Body parameters<select class='api-response-data' aria-label='Media type'><option value='aa499001-6ad8-481f-9d09-910cd114825f'>application/json</option>
</select>object  Example{
  "TshCompCode": "001",
  "TshEmpNo": "1003",
  "TshPrnCode": "SM",
  "TshPprYear": 2022.0,
  "TshPprPeriod": 1.0,
  "TshDate": "2022-01-01",
  "TshTypeCode": "J",
  "TshJobdeptwoId": "14001",
  "TshPhsacctwiId": "00020",
  "TshCatexpId": "L",
  "TshNormalHours": 8.0,
  "TshVUuid": ""
}TshEmpNostring    Required

Employee Number

💻 UI Fieldname: TshEmpNo

Max length16
TshDocumentNostring    

Document Number - this is an optional field

💻 UI Fieldname: TshDocumentNo

Max length30
TshDatestring    

Date of entry

💻 UI Fieldname: TshDate

Max length7
TshCompCodestring    Required

Company Code

💻 UI Fieldname: TshCompCode

Max length8
TshWorkCompCodestring    

Work Company Code

💻 UI Fieldname: TshWorkCompCode

Max length60
TshJobdeptwoIdstring    

Job number / Dept Number / Work Order number

💻 UI Fieldname: TshJobdeptwoId

Max length60
TshPhsacctwiIdstring    

Phase Number / Account Number / Work Item Number

💻 UI Fieldname: TshPhsacctwiId

Max length60
TshCatexpIdstring    

Category Code / Expense Code

💻 UI Fieldname: TshCatexpId

Max length60
TshTypeCodestring    

J - Job / G - / W - / E - Equipment + Equipment Code

💻 UI Fieldname: TshTypeCode

Max length3
TshNormalHoursnumber    

Normal Hours worked through the week

💻 UI Fieldname: TshNormalHours

Max length22
TshOtHoursnumber    

Over time hours completed

💻 UI Fieldname: TshOtHours

Max length22
TshDotHoursnumber    

Double over time hours completed

💻 UI Fieldname: TshDotHours

Max length22
TshOtherHoursnumber    

Number of Other hours worked

💻 UI Fieldname: TshOtherHours

Max length22
TshOhTypestring    

Identify the Other Hours Type

💻 UI Fieldname: TshOhType

Max length4
TshWcbCodestring    

💻 UI Fieldname: TshWcbCode

Max length4
TshPrnCodestring    Required

Identify the Pay Run Code

💻 UI Fieldname: TshPrnCode

Max length4
TshPprYearnumber    Required

Identify the Year related to the Pay

💻 UI Fieldname: TshPprYear

Max length22
TshPprPeriodnumber    Required

Indentify the Pay Period

💻 UI Fieldname: TshPprPeriod

Max length22
TshVUuidstring    

Unique uuid of row

💻 UI Fieldname: TshVUuid

Max length64
TshUnionCodestring    

Indicate the Union Code if different than default Union

💻 UI Fieldname: TshUnionCode

Max length4
TshTradeCodestring    

Identify the Trade Code if different from default Trade

💻 UI Fieldname: TshTradeCode

Max length30
TshExpCodestring    

💻 UI Fieldname: TshExpCode

Max length4
TshExpQuantitynumber    

💻 UI Fieldname: TshExpQuantity

Max length22
TshExpRatenumber    

💻 UI Fieldname: TshExpRate

Max length22
TshExpAmountnumber    

💻 UI Fieldname: TshExpAmount

Max length22
TshSectorCodestring    

💻 UI Fieldname: TshSectorCode

Max length10
TshScheduleCodestring    

💻 UI Fieldname: TshScheduleCode

Max length10
TshShiftCodestring    

Shift code. Null or D/E/N for Day/Evening/Night shift.

💻 UI Fieldname: TshShiftCode

Max length1
TshActualWorkDatestring    

This is the Actual Date that Employee Worked on

💻 UI Fieldname: TshActualWorkDate

Max length7
TshBatchPostFlagstring    

Indicates whether the timesheet needs to be posted or not (Y/N)

💻 UI Fieldname: TshBatchPostFlag

Max length1
TshUserField5string    

Field for - WBS Code1(For UserType 'J'), TAC Code 1(For UserType 'G')

💻 UI Fieldname: TshUserField5

Max length60
TshUserField6string    

Field for - WBS Code2(For UserType 'J'), TAC Code 2(For UserType 'G')

💻 UI Fieldname: TshUserField6

Max length60
TshUserField7string    

Field for - WBS Code3(For UserType 'J'), TAC Code 3(For UserType 'G')

💻 UI Fieldname: TshUserField7

Max length60
TshUserField8string    

Field for - WBS Code4(For UserType 'J'), TAC Code 4(For UserType 'G')

💻 UI Fieldname: TshUserField8

Max length60
TshNhPayRatenumber    

Double Overtime Hours Pay Rate

💻 UI Fieldname: TshDotPayRate

Max length22
TshNhChargeRatenumber    

Double Overtime Hours CHarge Rate

💻 UI Fieldname: TshDotChargeRate

Max length22
TshNhBillRatenumber    

Double Overtime Hours Bill Rate

💻 UI Fieldname: TshDotBillRate

Max length22
TshOhPayRatenumber    

Other Hours Pay Rate

💻 UI Fieldname: TshOhPayRate

Max length22
TshOhChargeRatenumber    

Other Hours CHarge Rate

💻 UI Fieldname: TshOhChargeRate

Max length22
TshOhBillRatenumber    

Other Hours Bill Rate

💻 UI Fieldname: TshOhBillRate

Max length22
TshOtPayRatenumber    

Overtime Hours Pay Rate

💻 UI Fieldname: TshOtPayRate

Max length22
TshOtChargeRatenumber    

Overtime Hours CHarge Rate

💻 UI Fieldname: TshOtChargeRate

Max length22
TshOtBillRatenumber    

Overtime Hours Bill Rate

💻 UI Fieldname: TshOtBillRate

Max length22

Responses201

Created

HeadersContent-TypestringExampleapplication/vnd.oracle.adf.resourceitem+json
<select class='api-response-data' aria-label='Media type'><option value='c18cf456-43ec-4002-81d4-18127e2d1166'>application/json</option>
</select>

```json
{
  "TshCatexpId": "L",
  "TshCompCode": "001",
  "TshDate": "2022-01-01",
  "TshDocumentNo": null,
  "TshDotHours": null,
  "TshEmpNo": "1003",
  "TshJobdeptwoId": "14001",
  "TshNormalHours": 8,
  "TshOhType": null,
  "TshOtHours": null,
  "TshOtherHours": null,
  "TshPhsacctwiId": "00020",
  "TshPprPeriod": 1,
  "TshPprYear": 2022,
  "TshPrnCode": "SM",
  "TshSeqNo": null,
  "TshTypeCode": "J",
  "TshVUuid": "F2A4A14B8AAD7A24E05316821FACC292",
  "TshWcbCode": null,
  "TshWorkCompCode": null,
  "TshUserField3": null,
  "TshUserField2": null,
  "TshUserField1": null,
  "TshUnionCode": null,
  "TshTradeCode": null,
  "TshShiftCode": null,
  "TshSectorCode": null,
  "TshScheduleCode": null,
  "TshExpAmount": null,
  "TshExpCode": null,
  "TshExpQuantity": null,
  "TshExpRate": null,
  "TshBatchPostFlag": "N",
  "TshWbsvCode1": null,
  "TshWbsvCode2": null,
  "TshWbsvCode3": null,
  "TshWbsvCode4": null,
  "TshIuCreateDate": null,
  "TshIuUpdateDate": null,
  "TshIuLastUpdateDate": null,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyemptimesheet/F2A4A14B8AAD7A24E05316821FACC292",
      "name": "pyemptimesheet",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyemptimesheet/F2A4A14B8AAD7A24E05316821FACC292",
      "name": "pyemptimesheet",
      "kind": "item"
    }
  ]
}
```

object
