0 Replies Latest reply on Dec 1, 2017 7:30 AM by nlangton

    Not able to create or update a user with an Address via the API?

    nlangton
      1. Based on the information here https://developers.jivesoftware.com/api/v3/cloud/rest/AddressesEntity.html we tried creating the user:

       

      {

         "emails" : [ {

             "value" : "user008@test.com",

              "type" : "work",

             "jive_label" : "Email"

         } ],

         "jive" : {

             "password" : "passwordExample",

             "username" : "user008"

         }, 

         "name" : {

             "familyName" : "Test",

             "givenName" : "User008"

         },

         "addresses" :  [ {

            "value" : {

              "streetAddress" : "915 SW Stark St",

              "locality" : "Portland",

              "region" : "Oregon",

              "postalCode" : "97205",

              "country" : "USA"

            },

            "jive_label" : "Address",

            "type" : "work"

            } ]

      }

       

      And receive the error message:

       

      {

          "error": {

              "message": "Invalid field name Address",

              "context": "peopleInvalidFieldName",

              "status": 400

          }

      }