# 360Learning

> Invite users, manage groups and enrollments, and follow course and learning path progress in 360Learning.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/three-sixty-learning

## Actions

### Activate user

Activate an invited user's account, so they can sign in without the invitation.

**Inputs**

- User (`member_id`, text, required): The 360Learning user.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "_id": "example",
    "custom": "example",
    "deletedAt": [
      "example"
    ],
    "firstName": "example",
    "job": "example",
    "lang": "example",
    "lastLoginDate": "example",
    "lastName": "example",
    "mail": "example",
    "organization": "example",
    "phone": "example",
    "primaryGroupId": "example",
    "profileImageId": "example",
    "reactivatedAt": [
      "example"
    ],
    "status": "example",
    "toBeDeactivatedAt": "example",
    "username": "example"
  }
}
```

### Add manager

Make one user the manager of another, so they can follow their progress.

**Inputs**

- User (`member_id`, text, required): The 360Learning user.
- Manager (`manager_id`, text, required): The user who becomes the manager.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {}
}
```

### Add user to group

Give a user a role in a group, adding them to it if they are not a member yet.

**Inputs**

- Group (`group_id`, text, required): The 360Learning group.
- Role (`role`, text, required): The role in the group. Learner lets them take the group's courses and paths. One of: `learner`, `admin`, `analyst`, `coach`, `contributor`, `editor`, `user-admin` (User admin).
- User (`member_id`, text, required): The 360Learning user.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {}
}
```

### Delete user

Delete a user from 360Learning. Inviting the same email again restores them.

**Inputs**

- User (`member_id`, text, required): The 360Learning user.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {}
}
```

### Enroll user in path session

Add a user to a path session's audience, so they are enrolled. Works on sessions that use the Audience Builder.

**Inputs**

- Path (`path_id`, text, required): The learning path.
- Session (`session_id`, text, required): The session of the path.
- User (`member_id`, text, required): The 360Learning user.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "filters": [
      {
        "ids": [
          "example"
        ],
        "type": "example"
      }
    ],
    "mode": "example"
  }
}
```

### Get course

Get a course's title, description, status, authors and languages.

**Inputs**

- Course (`course_id`, text, required): The course.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "_id": "example",
    "authorId": "example",
    "coAuthorIds": [
      "example"
    ],
    "collaborativeLearning": true,
    "createdAt": "example",
    "currentVersionNumber": 1,
    "defaultLang": "example",
    "description": "example",
    "duration": 1,
    "externalPlatform": "example",
    "groupId": "example",
    "modifiedAt": "example",
    "name": "example",
    "sourceLang": "example",
    "status": "example",
    "translations": [
      {
        "lang": "example",
        "published": true,
        "translatorIds": [
          "example"
        ]
      }
    ],
    "type": "example"
  }
}
```

### Get path

Get a learning path's title, description, status and steps.

**Inputs**

- Path (`path_id`, text, required): The learning path.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "_id": "example",
    "additionalInformation": "example",
    "authorId": "example",
    "certificateId": "example",
    "coAuthorIds": [
      "example"
    ],
    "coverPicture": "example",
    "createdAt": "example",
    "defaultLang": "example",
    "description": "example",
    "estimatedDuration": {
      "unit": "example",
      "value": 1
    },
    "estimatedWeeklyCommitment": {
      "max": 1,
      "min": 1
    },
    "groupId": "example",
    "modifiedAt": "example",
    "name": "example",
    "sourceLang": "example",
    "status": "example",
    "steps": [
      {
        "_id": "example",
        "type": "example"
      }
    ]
  }
}
```

### Get path session

Get a path session's name, dates, instructors and enrollment settings.

**Inputs**

- Path (`path_id`, text, required): The learning path.
- Session (`session_id`, text, required): The session of the path.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "_id": "example",
    "additionalInformation": "example",
    "createdAt": "example",
    "endDate": "example",
    "groupId": "example",
    "instructorIds": [
      "example"
    ],
    "isAudienceBuilder": true,
    "mainInstructorId": "example",
    "modifiedAt": "example",
    "name": "example",
    "pathId": "example",
    "rootSessionId": "example",
    "startDate": "example",
    "userLimit": 1
  }
}
```

### Get user

Get a user's profile: name, email, status, job, language and last sign-in.

**Inputs**

- User (`member_id`, text, required): The 360Learning user.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "_id": "example",
    "custom": "example",
    "deletedAt": [
      "example"
    ],
    "firstName": "example",
    "job": "example",
    "lang": "example",
    "lastLoginDate": "example",
    "lastName": "example",
    "mail": "example",
    "organization": "example",
    "phone": "example",
    "primaryGroupId": "example",
    "profileImageId": "example",
    "reactivatedAt": [
      "example"
    ],
    "status": "example",
    "toBeDeactivatedAt": "example",
    "username": "example"
  }
}
```

### Invite user

Create a user in 360Learning with the invited status, as a member of a group. A previously deleted user with the same email is restored.

**Inputs**

- Email (`mail`, text): The user's email address. Enter this or a username.
- Username (`username`, text): A username to sign in with, if your platform allows it. Enter this or an email address.
- Group (`group_id`, text, required): The group the user joins.
- Role (`role`, text): The user's role in that group. One of: `learner`, `admin`, `analyst`, `coach`, `contributor`, `editor`, `userAdmin` (User admin). Default: `learner`.
- First name (`first_name`, text): The user's first name.
- Last name (`last_name`, text): The user's last name.
- Job title (`job`, text): The user's job title.
- Organization (`organization`, text): The organization or department the user belongs to.
- Phone (`phone`, text): The user's phone number.
- Language (`lang`, text): The language 360Learning shows the user. English when left empty. One of: `en` (English), `fr` (French), `de` (German), `es` (Spanish), `it` (Italian), `pt` (Portuguese), `nl` (Dutch), `nl_BE` (Dutch (Belgium)), `bg` (Bulgarian), `cs` (Czech), and 28 more.
- Primary group (`primary_group_id`, text): The user's primary group.
- Deactivate on (`deactivate_at`, date and time): When 360Learning deactivates the user's account. It must be in the future.
- Additional information (`additional_information`, text): Text for the Additional information field of the user's profile.
- Send invitation email (`send_invitation_email`, true/false): Email the user an invitation to activate their account. On unless you turn it off.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "_id": "example",
    "custom": "example",
    "deletedAt": [
      "example"
    ],
    "firstName": "example",
    "job": "example",
    "lang": "example",
    "lastLoginDate": "example",
    "lastName": "example",
    "mail": "example",
    "organization": "example",
    "phone": "example",
    "primaryGroupId": "example",
    "profileImageId": "example",
    "reactivatedAt": [
      "example"
    ],
    "status": "example",
    "toBeDeactivatedAt": "example",
    "username": "example"
  }
}
```

### List course results

List learners' attempts at courses, with progress, score, time spent and completion date, 500 to a page.

**Inputs**

- Course (`course_id`, text): Only attempts at this course.
- User (`learner_id`, text): Only this user's attempts.
- Completed on or after (`completed_after`, date and time): Only attempts completed at or after this time.
- Completed before (`completed_before`, date and time): Only attempts completed before this time.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "_id": "example",
        "completedAt": "example",
        "courseId": "example",
        "firstActivityAt": "example",
        "lang": "example",
        "lastActivityAt": "example",
        "pathId": "example",
        "pathSessionId": "example",
        "progress": 1,
        "score": 1,
        "timeSpent": 1,
        "userId": "example",
        "versionNumber": 1
      }
    ],
    "next_page": "example"
  }
}
```

### List courses

List the courses of your platform, 500 to a page.

**Inputs**

- Status (`status`, text): Only courses with this status. One of: `published`, `archived`, `deleted`.
- Type (`type`, text): Only courses of this kind. One of: `native` (360Learning course), `elearning standard` (eLearning standard (SCORM, AICC)), `external` (External course).
- Group (`group_id`, text): Only courses created in this group.
- Created on or after (`created_after`, date and time): Only courses created at or after this time.
- Created before (`created_before`, date and time): Only courses created before this time.
- Changed on or after (`modified_after`, date and time): Only courses changed at or after this time.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "_id": "example",
        "authorId": "example",
        "coAuthorIds": [
          "example"
        ],
        "collaborativeLearning": true,
        "createdAt": "example",
        "currentVersionNumber": 1,
        "defaultLang": "example",
        "description": "example",
        "duration": 1,
        "externalPlatform": "example",
        "groupId": "example",
        "modifiedAt": "example",
        "name": "example",
        "sourceLang": "example",
        "status": "example",
        "translations": [
          {
            "lang": "example",
            "published": true,
            "translatorIds": [
              "example"
            ]
          }
        ],
        "type": "example"
      }
    ],
    "next_page": "example"
  }
}
```

### List group members

List the members of a group with their roles, 1,000 to a page.

**Inputs**

- Group (`group_id`, text, required): The 360Learning group.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "role": "example",
        "userId": "example"
      }
    ],
    "next_page": "example"
  }
}
```

### List groups

List the groups of your 360Learning platform, 500 to a page.

**Inputs**

- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "_id": "example",
        "backgroundImageId": "example",
        "bannerImageId": "example",
        "custom": "example",
        "faviconImageId": "example",
        "imprint": {
          "explicitConsent": true,
          "url": "example"
        },
        "logoImageId": "example",
        "moderationCharter": {
          "explicitConsent": true,
          "url": "example"
        },
        "name": "example",
        "parentId": "example",
        "privacyPolicy": {
          "explicitConsent": true,
          "url": "example"
        },
        "public": true,
        "subdomain": "example",
        "termsOfUse": {
          "explicitConsent": true,
          "url": "example"
        },
        "url": "example"
      }
    ],
    "next_page": "example"
  }
}
```

### List path enrollments

List who is enrolled in a learning path's sessions, 5,000 to a page.

**Inputs**

- Path (`path_id`, text, required): The learning path.
- Session (`session_id`, text): Only enrollments in this session.
- Status (`status`, text): Current enrollments (Published) or ones archived from the session. One of: `published`, `archived`.
- Enrolled on or after (`created_after`, date and time): Only enrollments made at or after this time.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "_id": "example",
        "archivedAt": "example",
        "createdAt": "example",
        "isSelfEnrolled": true,
        "modifiedAt": "example",
        "sessionId": "example",
        "status": "example",
        "userId": "example"
      }
    ],
    "next_page": "example"
  }
}
```

### List path progress

List learners' progress in learning paths: status, progress, score, time spent and completion date, 2,000 to a page.

**Inputs**

- Path (`path_id`, text): Only progress in this path.
- User (`learner_id`, text): Only this user's progress.
- Completed on or after (`completed_after`, date and time): Only learners who completed the path at or after this time.
- Completed before (`completed_before`, date and time): Only learners who completed the path before this time.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "_id": "example",
        "certificateId": "example",
        "completedAt": "example",
        "dueDate": "example",
        "enrolledAt": "example",
        "lockedAt": "example",
        "pathId": "example",
        "progress": 1,
        "score": 1,
        "selfEnrolled": true,
        "sessionId": "example",
        "startedAt": "example",
        "status": {
          "type": "example"
        },
        "timeSpent": 1,
        "unenrolledAt": "example",
        "userId": "example"
      }
    ],
    "next_page": "example"
  }
}
```

### List path sessions

List the sessions of your learning paths, with their dates and instructors, 500 to a page.

**Inputs**

- Path (`path_id`, text): Only sessions of this path.
- Starts on or after (`starts_after`, date and time): Only sessions starting at or after this time.
- Created on or after (`created_after`, date and time): Only sessions created at or after this time.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "_id": "example",
        "additionalInformation": "example",
        "createdAt": "example",
        "endDate": "example",
        "groupId": "example",
        "instructorIds": [
          "example"
        ],
        "isAudienceBuilder": true,
        "mainInstructorId": "example",
        "modifiedAt": "example",
        "name": "example",
        "pathId": "example",
        "rootSessionId": "example",
        "startDate": "example",
        "userLimit": 1
      }
    ],
    "next_page": "example"
  }
}
```

### List paths

List the learning paths of your platform, 200 to a page.

**Inputs**

- Status (`status`, text): Only paths with this status. One of: `published`, `archived`.
- Created on or after (`created_after`, date and time): Only paths created at or after this time.
- Changed on or after (`modified_after`, date and time): Only paths changed at or after this time.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "_id": "example",
        "additionalInformation": "example",
        "authorId": "example",
        "certificateId": "example",
        "coAuthorIds": [
          "example"
        ],
        "coverPicture": "example",
        "createdAt": "example",
        "defaultLang": "example",
        "description": "example",
        "estimatedDuration": {
          "unit": "example",
          "value": 1
        },
        "estimatedWeeklyCommitment": {
          "max": 1,
          "min": 1
        },
        "groupId": "example",
        "modifiedAt": "example",
        "name": "example",
        "sourceLang": "example",
        "status": "example",
        "steps": [
          {
            "_id": "example",
            "type": "example"
          }
        ]
      }
    ],
    "next_page": "example"
  }
}
```

### List user's groups

List the groups a user belongs to, with their role in each.

**Inputs**

- User (`member_id`, text, required): The 360Learning user.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "groupId": "example",
        "role": "example"
      }
    ],
    "next_page": "example"
  }
}
```

### List user's managers

List the IDs of a user's managers.

**Inputs**

- User (`member_id`, text, required): The 360Learning user.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      "example"
    ],
    "next_page": "example"
  }
}
```

### List users

List the users of your 360Learning platform, 500 to a page.

**Inputs**

- Email (`email`, text): Only the user with this email address.
- Username (`username`, text): Only the user with this username.
- Status (`status`, text): Only users with this status. Invited users have not signed in yet. One of: `active`, `invited`, `deleted`.
- Next page (`next_page`, text): To read the next page, the next_page value a previous list step returned.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "_id": "example",
        "custom": "example",
        "deletedAt": [
          "example"
        ],
        "firstName": "example",
        "job": "example",
        "lang": "example",
        "lastLoginDate": "example",
        "lastName": "example",
        "mail": "example",
        "organization": "example",
        "phone": "example",
        "primaryGroupId": "example",
        "profileImageId": "example",
        "reactivatedAt": [
          "example"
        ],
        "status": "example",
        "toBeDeactivatedAt": "example",
        "username": "example"
      }
    ],
    "next_page": "example"
  }
}
```

### Remove manager

Stop one user being the manager of another.

**Inputs**

- User (`member_id`, text, required): The 360Learning user.
- Manager (`manager_id`, text, required): The manager to remove.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {}
}
```

### Remove user from group

Take a role in a group away from a user. Removing the learner role also removes it from the group's public subgroups.

**Inputs**

- Group (`group_id`, text, required): The 360Learning group.
- Role (`role`, text, required): The role to take away. One of: `learner`, `admin`, `analyst`, `coach`, `contributor`, `editor`, `user-admin` (User admin).
- User (`member_id`, text, required): The 360Learning user.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {}
}
```

### Unenroll user from path session

Take a user out of a path session's audience. Someone enrolled through one of the session's groups stays enrolled.

**Inputs**

- Path (`path_id`, text, required): The learning path.
- Session (`session_id`, text, required): The session of the path.
- User (`member_id`, text, required): The 360Learning user.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "filters": [
      {
        "ids": [
          "example"
        ],
        "type": "example"
      }
    ],
    "mode": "example"
  }
}
```

### Update user

Change a user's profile. Anything left empty stays as it is.

**Inputs**

- User (`member_id`, text, required): The 360Learning user.
- Email (`mail`, text): The new email address. No other user may have it.
- Username (`username`, text): The new username: lowercase letters, numbers and . _ - only.
- First name (`first_name`, text): The user's new first name.
- Last name (`last_name`, text): The user's new last name.
- Job title (`job`, text): The user's new job title.
- Organization (`organization`, text): The new organization or department the user belongs to.
- Phone (`phone`, text): The user's new phone number.
- Language (`lang`, text): The new language 360Learning shows the user. One of: `en` (English), `fr` (French), `de` (German), `es` (Spanish), `it` (Italian), `pt` (Portuguese), `nl` (Dutch), `nl_BE` (Dutch (Belgium)), `bg` (Bulgarian), `cs` (Czech), and 28 more.
- Primary group (`primary_group_id`, text): The user's new primary group.
- Deactivate on (`deactivate_at`, date and time): When 360Learning deactivates the user's account. It must be in the future.
- Additional information (`additional_information`, text): Text for the Additional information field of the user's profile.

**Outputs**

- `data` (object): The response from 360Learning.

**Example output**

```json
{
  "data": {
    "_id": "example",
    "custom": "example",
    "deletedAt": [
      "example"
    ],
    "firstName": "example",
    "job": "example",
    "lang": "example",
    "lastLoginDate": "example",
    "lastName": "example",
    "mail": "example",
    "organization": "example",
    "phone": "example",
    "primaryGroupId": "example",
    "profileImageId": "example",
    "reactivatedAt": [
      "example"
    ],
    "status": "example",
    "toBeDeactivatedAt": "example",
    "username": "example"
  }
}
```
