Scheduling Audit Public

Note: This page has not yet been converted to the new developer portal format. Please use Swagger to test this API.

Scheduling Audit Public

Data Model

AuditAction ENUM

ValueDescription

CREATE

Audit action for creation of a resource.

UPDATE

Audit action for modification of a resource.

DELETE

Audit action for deletion of a resource.

Changes Object

The object represents the before and after values of a modified property of a
resource.

NameRequired?Data Type?Description

before

y

Object

Value of a resource’s property before modification.

after

y

Object

Value of a resource’s property after modification.

SchedulingAudit Object

The object is used for generating an Audit record for Scheduling resources’
CRUD actions.

NameRequired?Data Type?Description

id

Y

String

(System Generated) The ID of the generated audit.

organizationId

Y

Long

The ID of the EB organization being audited.

calendarId

N

Long

The ID of the Calendar being audited.

shiftScheduleId

Y

Long

The ID of the ShiftSchedule being audited.

staffScheduleId

Y

Long

The ID of the StaffSchedule being audited.

shiftScheduleSubstitudionId

N

Long

The ID of the ShiftScheduleSubstitution being audited.

staffSubstituionId

N

Long

The ID of the StaffSubstitution being audited.

action

Y

AuditAction

The Scheduling CRUD action being audited.

auditResource

Y

ParameterizedBaseMongoObject

The Scheduling resource name being audited. This could be a Calendar, ShiftSchedule, StaffSchedule, ShiftScheduleSubstitution, or StaffSubstitution object with its respective properties that are tracked by Audit.

details

N

Map<String,Changes>

Map of modified properties of the resource being audited with their respective before and after modification values.

includes

N

List

List of resource objects with their static metadata (values at the time of audit) that can be looked up by the IDs in the SchedulingAudit object.

createdDate

Y

Date

Date-time stamp (in UTC +0) of the generation of the audit.

createId

Y

Long

The ID of the User/Contact responsible for the Scheduling CRUD action corresponding to the audit.

createdName

Y

String

The name of the User/Contact responsible for the Scheduling CRUD action corresponding to the audit.