API Docs
HomeDocsWebsite
  • Home
  • Introduction
    • Authorization
      • Authorize
      • Get a Token
      • Third-Party Login
    • Field Types and Validation
      • Field Types
      • Validation
    • Query Manipulation
      • Constraints
      • Result Control
      • Value Filters
    • Entity Permissions
      • Restricted Scope
  • API reference
    • Infoboard
      • InfoboardChannels
      • InfoboardPosts
      • InfoboardPostSeenUsers
      • InfoboardPostReadUsers
      • InfoboardComments
      • InfoboardDepartmentSettings
    • Manual
      • ManualChapters
      • ManualEntries
      • ManualEntrySeenUsers
    • Calendar
      • Calendars
      • CalendarEvents
    • Filemanager
      • FilemanagerDirectories
      • FilemanagerFiles
    • Files
    • Forms
      • Forms
      • FormFields
      • FormFieldTypes
      • FormFieldValidations
      • FormFieldValidationTypes
      • FormMessages
      • FormMessageFields
    • Layouts
      • Layouts
      • LayoutRows
      • LayoutColumns
      • LayoutColumnLayoutElements
    • Tasks 2.0
      • TaskTemplates
      • TaskFields
      • TaskAssignments
      • TaskExecutions
      • TaskProgressFields
    • Departments
    • Roles
    • Permissions
    • Users
    • EntityPermissions
    • Notifications
    • Reactions
    • Icons
    • Folders
    • SharedItems
    • UrlContext
  • Resources
    • Release Notes
      • v2.106.0
      • v2.102.0
Powered by GitBook
On this page
  • Introduction
  • Model Definition
  • Relations
  • List
  • Create
  1. API reference
  2. Manual

ManualEntrySeenUsers

PreviousManualEntriesNextCalendar

Last updated 10 months ago

Introduction

When a has seen the content of a , intratool will track this as a ManualEntrySeenUser.

Model Definition

Relations

Key
Relation
Type
Relation Field(s)

user

Belongs to

user_id

entry

Belongs to

entry_id

List

Get a list of ManualEntrySeenUsers by .

Definition

GET /api/manual/chapters/entries/{entryId}/seen-users

Example Request

$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('GET', '/api/manual/chapter/entries/1/seen-users', [
    'headers' => ['Authorization' => "Bearer {accessToken}"]
]);

Example Response Body

[
  {
    "id": 1,
    "user_id": 4,
    "entry_id": 1,
    "created_at": "2019-01-25 16:23:45"
  },
  {
    "id": 2,
    "user_id": 5,
    "entry_id": 1,
    "created_at": "2019-01-25 16:31:29"
  }
]

Create

Definition

GET /api/manual/chapters/entries/{entryId}/seen-users

Request Keys

Key
Type
Default
Description

entry_id*

integer

-

Keys with * are required. Keys with ** are normalized to the information given by the route.

Example Request

$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('POST', '/api/manual/chapters/entries/1/seen-users', [
    'headers' => ['Authorization' => "Bearer {accessToken}"],
    'json' => [
        'user_id' => 6
    ]
]);

Example Response Body

{
  "status": "success",
  "data": {
    "id": 3,
    "user_id": 6,
    "entry_id": 1,
    "created_at": "2019-01-25 16:35:25"
  }
}

Create a new ManualEntrySeenUser by .

The related .

User
ManualEntry
ManualEntry
ManualEntry
User
ManualEntry
ManualEntry