Update a specific PY Employee Timesheet
    • 06 Jan 2025
    • 1 Minute to read
    • Dark
      Light

    Update a specific PY Employee Timesheet

    • Dark
      Light

    Article summary

    Patch
    /hcm-rest-api/rest/1/pyemptimesheet/F2A4A14B8AAD7A24E05316821FACC292
    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    Body parameters
    object
    Example{ "TshDocumentNo": "2022SM001" }
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "TshCatexpId": "L",
      "TshCompCode": "001",
      "TshDate": "2022-01-01",
      "TshDocumentNo": "2022SM001",
      "TshDotHours": null,
      "TshEmpNo": "1003",
      "TshJobdeptwoId": "14001",
      "TshNormalHours": 8,
      "TshOhType": null,
      "TshOtHours": null,
      "TshOtherHours": 0,
      "TshPhsacctwiId": "00020",
      "TshPprPeriod": 1,
      "TshPprYear": 2022,
      "TshPrnCode": "SM",
      "TshSeqNo": 48615791,
      "TshTypeCode": "J",
      "TshVUuid": "F2A4A14B8AAD7A24E05316821FACC292",
      "TshWcbCode": "5510",
      "TshWorkCompCode": "001",
      "TshUserField3": "00020",
      "TshUserField2": "14001",
      "TshUserField1": "001",
      "TshUnionCode": null,
      "TshTradeCode": "PM1",
      "TshShiftCode": null,
      "TshSectorCode": null,
      "TshScheduleCode": null,
      "TshExpAmount": null,
      "TshExpCode": null,
      "TshExpQuantity": null,
      "TshExpRate": null,
      "TshBatchPostFlag": null,
      "TshWbsvCode1": null,
      "TshWbsvCode2": null,
      "TshWbsvCode3": null,
      "TshWbsvCode4": null,
      "TshIuCreateDate": "2023-01-19T20:54:56Z",
      "TshIuUpdateDate": null,
      "TshIuLastUpdateDate": "2023-01-19T20:54:56Z",
      "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