0 Replies Latest reply on Oct 25, 2018 2:09 AM by santosh@1994

    Create a User with address using Api

    santosh@1994

      i am getting an error while creating user with api and the error is:

       

      {

          "error": {

              "message": "Invalid field name Address",

              "context": "peopleInvalidFieldName",

              "status": 400

          }

      }

       

      and my Json is

       

      {

         "emails" : [ {

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

             "jive_label" : "Email"

         } ],

         "jive" : {

             "password" : "xyz123",

             "username" : "sampleuser1"

         },

         "name" : {

             "familyName" : "sampleuser1",

             "givenName" : "sampleuser1"

         },

        "addresses": [ {

        "value" : {

          "streetAddress" : "915 SW Stark St",

          "locality" : "Portland",

          "region" : "Oregon",

          "postalCode" : "97205",

          "country" : "USA"

        },

        "jive_label" : "Address",

        "primary" : true

        } ]

       

      }

       

      Thanks

      Santosh