Retrieve PY E-Timesheets By Code
    • 04 Jul 2025
    • 1 Minute to read
    • Dark
      Light

    Retrieve PY E-Timesheets By Code

    • Dark
      Light

    Article summary

    Get
    /hcm-rest-api/rest/1/pyetimesheet

    Query Standards

    Finder

    Following row finders are available for data filtering and optimizing request performance.

    • Select E-Time Sheet
    • By UUID

    Select E-Time Sheet

    Recommended finder parameters. Refer to Query Parameters for example.

    ParameterDescriptionSample
    PrnCodePay Run Code / FrequencySM
    PeriodPay Period5
    CompCodeCompany Code001
    YearYear2015

    By UUID

    This is an optional finder for querying a specific E-Timesheet by row ID.

    ParameterDescriptionSample
    /VUUIDThe VUuid attribute is the Unique row ID/hcm-rest-api/rest/1/pyetimesheet/B41F554B69E1A908E053B08610AC2C73
    Security
    HTTP
    Type basic

    Basic authentication

    Query parameters
    finder
    string
    ExampleselectETimeSheet; PrnCode=SM, Period=5, CompCode=001, Year=2015
    limit
    integer
    Example500
    offset
    integer
    Example0
    totalResults
    boolean
    Exampletrue
    orderBy
    string
    ExampleTshVUuid:desc
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourcecollection+json
    {
      "items": [
        {
          "TshAccessCode": null,
          "TshAprvStatus": "A",
          "TshCategory": "L",
          "TshComment": null,
          "TshCompCode": "001",
          "TshDate": "2015-03-01",
          "TshDeptCode": "113",
          "TshDocumentNo": "MASTER201505",
          "TshEmpNo": "1010",
          "TshGlAccCode": "50010",
          "TshHours": null,
          "TshHoursCode": "NWHR",
          "TshJobCode": "14001",
          "TshOhType": null,
          "TshPhase": "00020",
          "TshPprPeriod": 5,
          "TshPprYear": 2015,
          "TshPrnCode": "SM",
          "TshSeqNo": 73323,
          "TshSubmitFlag": "Y",
          "TshVUuid": "B41F554B69E1A908E053B08610AC2C73",
          "TshWorkCompCode": "001",
          "TshBatchFlag": null,
          "TshTradeCode": "DIR2",
          "TshUnionCode": null,
          "TshWbsvCode1": null,
          "TshWbsvCode2": null,
          "TshWbsvCode3": null,
          "TshWbsvCode4": null,
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyetimesheet/B41F554B69E1A908E053B08610AC2C73",
              "name": "pyetimesheet",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyetimesheet/B41F554B69E1A908E053B08610AC2C73",
              "name": "pyetimesheet",
              "kind": "item"
            }
          ]
        }
      ],
      "count": 1,
      "hasMore": false,
      "limit": 25,
      "offset": 0,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyetimesheet",
          "name": "pyetimesheet",
          "kind": "collection"
        }
      ]
    }
    object