Skip to main content
GET
Get one library rule (BO)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
version
integer
required
Required range: 0 < x <= 9007199254740991
name
string
required
Required string length: 1 - 200
description
string | null
required
Maximum string length: 2000
type
enum<string>
required
Available options:
preventive,
training_session,
training_exercise,
training_qualification
workflowType
enum<string>
required
Available options:
calendar,
regulatory
complianceType
enum<string>
required
Available options:
registry,
maintenance
rrule
string | null
required
Required string length: 1 - 500
rruleGap
integer | null
required
Required range: -9007199254740991 <= x <= 9007199254740991
validityDuration
string | null
required
Pattern: ^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$
thresholdPercent
integer | null
required
Required range: 0 <= x <= 100
providerTypes
enum<string>[]
required
Available options:
qualified_technician,
approved_organization,
training_provider
siteScopes
object[]
required
mainLibraryTechnicalInstallationId
string<uuid> | null
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
createdByBoUserId
string<uuid> | null
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
archivedAt
string<date-time> | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
libraryTechnicalInstallations
object[]
createdByBoUser
object | null
_count
object
actions
object