Patch a Crewtime Crew
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Patch a Crewtime Crew

    • Dark
      Light

    Article summary

    Patch
    /hcm-rest-api/rest/1/pyctimecrew/{PycrCode}
    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Path parameters
    PycrCode
    stringRequired
    Body parameters
    object
    Example{ "PycrResponsibleEmpNo": "GL-BW-HR18" }
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "PycrVUuid": "E06F4FC760B14F05E053508010ACF694",
      "PycrCode": "CREW_002",
      "PycrName": "test002",
      "PycrForemanEmpNo": "GL-BW-HR10",
      "PycrResponsibleEmpNo": "GL-BW-HR18",
      "PycrJobCompCode": "ZZ",
      "PycrJobCode": "TESTJAN11",
      "PycrShiftCode": "*",
      "PycrMaxEmpHours": null,
      "PycrScheduleCode": "AFTERNOON",
      "PycrReqSignoffsignatureFlag": "N",
      "PycrReqForemanSignFlag": "N",
      "PycrRequireInoutTimesFlag": "N",
      "PycrStartDate": "2022-06-01",
      "PycrEndDate": null,
      "PycrIuCreateDate": "2022-06-02T03:07:53Z",
      "PycrIuUpdateDate": "2022-06-02T03:26:41Z",
      "PycrAccessCode": null,
      "links": [
        {
          "rel": "self",
          "href": "http://127.0.0.1:7101/hcm-rest-api/rest/1/pyctimecrew/CREW_002",
          "name": "pyctimecrew",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://127.0.0.1:7101/hcm-rest-api/rest/1/pyctimecrew/CREW_002",
          "name": "pyctimecrew",
          "kind": "item"
        },
        {
          "rel": "child",
          "href": "http://127.0.0.1:7101/hcm-rest-api/rest/1/pyctimecrew/CREW_002/child/PyCtimeCrewActivityViewObj",
          "name": "PyCtimeCrewActivityViewObj",
          "kind": "collection"
        },
        {
          "rel": "child",
          "href": "http://127.0.0.1:7101/hcm-rest-api/rest/1/pyctimecrew/CREW_002/child/PyCtimeCrewEmployeeViewObj",
          "name": "PyCtimeCrewEmployeeViewObj",
          "kind": "collection"
        },
        {
          "rel": "child",
          "href": "http://127.0.0.1:7101/hcm-rest-api/rest/1/pyctimecrew/CREW_002/child/PyCtimeCrewEquipmentViewObj",
          "name": "PyCtimeCrewEquipmentViewObj",
          "kind": "collection"
        },
        {
          "rel": "child",
          "href": "http://127.0.0.1:7101/hcm-rest-api/rest/1/pyctimecrew/CREW_002/child/PyCtimeEmpIntViewObj",
          "name": "PyCtimeEmpIntViewObj",
          "kind": "collection"
        },
        {
          "rel": "child",
          "href": "http://127.0.0.1:7101/hcm-rest-api/rest/1/pyctimecrew/CREW_002/child/PyCtimeEqpIntViewObj",
          "name": "PyCtimeEqpIntViewObj",
          "kind": "collection"
        }
      ]
    }
    object