Create a HR Employee Relation
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Create a HR Employee Relation

    • Dark
      Light

    Article summary

    Post
    /hcm-rest-api/rest/1/hrrelations

    Create Employee Relations

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "RelaCode": "S", "RelaDescription": "Employee's son", "RelaVUuid": "" }
    RelaVUuid
    string

    Unique ID of Row, Leave Blank

    RelaDescription
    string

    Relation Description

    RelaCode
    string

    Relation Code

    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "RelaCode": "S",
      "RelaDescription": "Employee's son",
      "RelaVUuid": "F31A71AB5163409BE05316821FAC5E4B",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/hrrelations/F31A71AB5163409BE05316821FAC5E4B",
          "name": "hrrelations",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/hrrelations/F31A71AB5163409BE05316821FAC5E4B",
          "name": "hrrelations",
          "kind": "item"
        }
      ]
    }
    object