Skip to main content
Known Participant
Oct 20, 2022 6:16 AM UTC
Answered

captivateprime user api

How to add manager for a user through user create api

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Anupam22771585mlvnCorrect answer
    Participant
    Oct 20, 2022 7:52 PM UTC

    To add a manager while creating a user you will need to mention the manager ID on the manager value
    on the below payload if you are using the endpoint POST /users as an admin

    {
      "data": {
        "id": "string",
        "type": "string",
        "attributes": {
          "avatarUrl": "string",
          "binUserId": "string",
          "bio": "string",
          "contentLocale": "string",
          "email": "string",
          "enrollOnClick": true,
          "fields": {},
          "gamificationEnabled": true,
          "lastLoginDate": "string",
          "metadata": {},
          "name": "string",
          "pointsEarned": 0,
          "pointsRedeemed": 0,
          "profile": "string",
          "roles": [
            "string"
          ],
          "state": "string",
          "timeZoneCode": "string",
          "type": "string",
          "uiLocale": "string",
          "userType": "string",
          "userUniqueId": "string"
        },
        "relationships": {
          "account": {
            "data": {
              "type": "string",
              "id": "string"
            }
          },
          "manager": {
            "data": {
              "type": "string",
              "id": "string"
            }
          }
        }
      }
    }

    Refer to the Adobe Learning Manager's API page for more details. 
    https://learningmanager.adobe.com/docs/primeapi/v2/

    3 replies

    Anupam22771585mlvnCorrect answer
    Participant
    Oct 20, 2022 7:52 PM UTC

    To add a manager while creating a user you will need to mention the manager ID on the manager value
    on the below payload if you are using the endpoint POST /users as an admin

    {
      "data": {
        "id": "string",
        "type": "string",
        "attributes": {
          "avatarUrl": "string",
          "binUserId": "string",
          "bio": "string",
          "contentLocale": "string",
          "email": "string",
          "enrollOnClick": true,
          "fields": {},
          "gamificationEnabled": true,
          "lastLoginDate": "string",
          "metadata": {},
          "name": "string",
          "pointsEarned": 0,
          "pointsRedeemed": 0,
          "profile": "string",
          "roles": [
            "string"
          ],
          "state": "string",
          "timeZoneCode": "string",
          "type": "string",
          "uiLocale": "string",
          "userType": "string",
          "userUniqueId": "string"
        },
        "relationships": {
          "account": {
            "data": {
              "type": "string",
              "id": "string"
            }
          },
          "manager": {
            "data": {
              "type": "string",
              "id": "string"
            }
          }
        }
      }
    }

    Refer to the Adobe Learning Manager's API page for more details. 
    https://learningmanager.adobe.com/docs/primeapi/v2/

    Translate
    Known Participant
    Oct 21, 2022 9:16 AM UTC

    Thank you

    Translate
    Lilybiri
    Legend
    Oct 20, 2022 8:21 AM UTC

    I will move your question to the appropriate forum 'Adobe Learning Manager'. That is since a while the new name for Captivate Prime. This forum is for Adobe Captivate which is the authoring tool, not the LMS.

    Translate