Hi Devs,

I am using IS and APIM for a project. When I try to register a user in IS
with address field, the response contains the address details that is
included in the request. But when I try to retrieve the user details (using
: curl -v -k --user admin:admin https://localhost:9443/wso2/scim/Users/id),
there is no address field  in the response. Please be kind enough to assist.

Thank You

-- 
Best Regards,
*Supun Madushanka*
[Undergraduate]
University of Moratuwa. http://www.mrt.ac.lk
Department of Computer Science and Engineering. http://cse.mrt.ac.lk
Mobile: +94 71 1135012 <%2B94%280%29%20711135012>
E-mail: [email protected]




-- 
Best Regards,
*Supun Madushanka*
[Undergraduate]
University of Moratuwa. http://www.mrt.ac.lk
Department of Computer Science and Engineering. http://cse.mrt.ac.lk
Mobile: +94 71 1135012 <%2B94%280%29%20711135012>
E-mail: [email protected]




========================================================================================
curl -v -k --user admin:admin --data 
'{"schemas":[],"name":{"familyName":"gunasinghe","givenName":"hasinitg"},"userName":"buddhjlpiffkoooakkphlk","password":"budkkdhika","emails":[{"primary":true,"value":"hasini_home.com","type":"home"},{"value":"hasini_work.com","type":"work"}],"addresses":[{
      "type": "work",
      "streetAddress": "100 Universal City Plaza",
      "locality": "Hollywood",
      "region": "CA",
      "postalCode": "91608",
      "country": "USA",
      "formatted": "100 Universal City Plaza\nHollywood, CA 91608 USA",
      "primary": true
    }]}' --header "Content-Type:application/json" 
https://localhost:9443/wso2/scim/Users

====================================================================================
reponse:

{
        "emails": [{
                "type": "home",
                "value": "hasini_home.com"
        }, {
                "type": "work",
                "value": "hasini_work.com"
        }],
        "addresses": [{
                "country": "USA",
                "streetAddress": "100 Universal City Plaza",
                "formatted": "100 Universal City Plaza\nHollywood, CA 91608 
USA",
                "postalCode": "91608",
                "locality": "Hollywood",
                "region": "CA",
                "type": "work"
        }],
        "meta": {
                "created": "2017-06-02T11:29:09",
                "location": 
"https://localhost:9443/wso2/scim/Users/1a8df290-2751-4787-afe8-852ad915c168";,
                "lastModified": "2017-06-02T11:29:09"
        },
        "schemas": ["urn:scim:schemas:core:1.0"],
        "name": {
                "familyName": "gunasinghe",
                "givenName": "hasinitg"
        },
        "id": "1a8df290-2751-4787-afe8-852ad915c168",
        "userName": "buddhjlpiffkoooakkphlk"
}
===========================================================

curl -v -k --user admin:admin 
https://localhost:9443/wso2/scim/Users/1a8df290-2751-4787-afe8-852ad915c168


========================================================================================
response

{
        "emails": [{
                "type": "home",
                "value": "hasini_home.com"
        }, {
                "type": "work",
                "value": "hasini_work.com"
        }],
        "meta": {
                "created": "2017-06-02T11:29:09",
                "location": 
"https://localhost:9443/wso2/scim/Users/1a8df290-2751-4787-afe8-852ad915c168";,
                "lastModified": "2017-06-02T11:29:09"
        },
        "schemas": ["urn:scim:schemas:core:1.0"],
        "name": {
                "familyName": "gunasinghe",
                "givenName": "hasinitg"
        },
        "id": "1a8df290-2751-4787-afe8-852ad915c168",
        "userName": "buddhjlpiffkoooakkphlk"
}

_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to