3 Replies Latest reply on Aug 23, 2017 2:06 AM by gopi.gorantala

    Is it possible to add skill to a person using rest api

    npanta@italentcorp.com

      Hi all,

       

      I would like to know the possibility of adding skills to a person using rest api.

      As per this document Jive REST API v3.14 → Tag service  i don't think so we can create tags/skills using Rest apis.

       

      Correct me if i am wrong.

       

      Please guide us how to do this.

       

      Thanks,

      Narsi.

        • Re: Is it possible to add skill to a person using rest api
          gopi.gorantala

          This can be done with PUT, but the problem is it overrides the existing skills of a user. You can do a work around, get the current skills of a user and then iterate it and add the new one which you wish to add.

           

          Your request should contain this, I tried this with basic auth through REST client and it worked but it removed my existing skills and update with the below one's.

          {

                      "emails" : [ {

                      "value" : "XXXXXXXXXXXXXXXX",

                              "type" : "work",

                              "primary" : true,

                              "jive_label" : "Email"

                  } ],

                      "jive" : {

                              "username" : "XXXXXX",

                              

                                "enabled" : true,

                                "profile" : [ {

                                      "jive_label" : "Title",

                                      "value" : "test",

                                      "jive_displayOrder" : 0,

                                      "jive_showSummaryLabel" : false

                                          }]

                                 

                  },

                      "name" : {

                      "familyName" : "Gopi",

                              "givenName" : "Gorantala"

                  },

                    "tags" : [ "aaa" , "test"]

                  }

          1 person found this helpful