Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    ching siang neo
    Accessing and updating myProfile from backend API
    Topic posted October 2, 2018 by ching siang neo, tagged OMCE 
    67 Views, 2 Comments
    Title:
    Accessing and updating myProfile from backend API
    Summary:
    Accessing myProfile from backend API
    Content:

    Using req.oracleMobile.ums.getMe in the Oracle Mobile Cloud to get the login user profile from IDCS. But it is not retrieving the other attributes (e.g organization, cost center) from schema urn:ietf:params:scim:schemas:extension:enterprise:2.0:User or urn:ietf:params:scim:schemas:idcs:extension:custom:User.

    req.oracleMobile.ums.updateUser also don't allow updates to the enterprise and custom attributes.

    Kindly advise what the other options to retrieve and update these attributes within the Oracle Mobile Cloud Backend.

    Version:
    Oracle Mobile Cloud Enterprise 18.2.3

    Comment

     

    • Frank Nimphius

      According to the documentation there is no access to extended properties

      https://docs.oracle.com/en/cloud/paas/mobile-autonomous-cloud/develop/calling-apis-custom-code.html#GUID-FBBF0BD5-054F-480B-B640-9DC600A937B9

      For updating properties, the same document recommends the IDCS properties

      https://docs.oracle.com/en/cloud/paas/identity-cloud/rest-api/index.html

      The equivalent call to ums.getMe in IDCS is

      https://docs.oracle.com/en/cloud/paas/identity-cloud/rest-api/api-self-service-me.html

      Frank