Show / Hide Table of Contents

    WorkIntervals

    Queryable, Introduced in version 2.25

    GET https://localhost:8001/sv/001.1/api/v1/TimeRecording/WorkIntervals
    

    Represents a work interval.

    GUID

    1063170E-A961-4F6C-A3D9-DE062CC98371
    

    Required permission

    Show recording items
    

    Properties

    Name Type Summary Introduced in
    Id Int64 The business key identifier of a work interval.
    IntervalStart DateTimeOffset The start of the interval.
    IntervalEnd DateTimeOffset The end of the interval.
    IsClosedInterval Boolean Indicatates if the interval was ended.
    If false the interval is considered an active interval on the day which a future work recording is supposed to end.
    BundleId Guid Identifier to detect what work was recorded in the same bundle.
    WorkRecordingType Int32 What type of work this recording represents. Indicates which id is relevant on the interval.

    • Indirect: 0
    • OperationSetup: 1
    • OperationUnit: 2
    • ProjectActivity: 3
    IndirectWorkCodeId Int64? The business key identifier to an indirect work code. Defined if is indirect work.

    • References IndirectWorkCodes
    OperationId Int64? The business key identifier to a manufacturing order operation. Defined if it is an operation unit or a setup recording.

    • References ManufacturingOrderOperations
    TimeCalculationType Int32 The time calculation type for this interval.

    • RecordedTime: 0
    • PreCalculatedTime: 1
    • BundleDistributedRecordedTime: 2
    ReportingEmployeeId Int64 The business key identifier to the employee making the recording.
    When machine recording this key will represent the operator if defined.
    Otherwise this will be the same as the person owning the recording day.

    • References Persons
    WorkCenterId Int64? The business key identifier to the workcenter associated with the recording.

    • References WorkCenters
    WorkedTime TimeSpan The calculated work time for this interval.
    OfWichOvertime TimeSpan How much of the worked time that was considered overtime.
    ReportedQuantity Decimal The reported quantity for this recording.
    RejectedQuantity Decimal The rejected quantity for this recording.
    ActivityId Int64? The business key identifier to a project activity. Defined if it is a project activity.

    • References ProjectActivities
    Introduced in version 22.6
    CommentId Int64? The business key identifier of the work interval comment.

    References Comments
    Introduced in version 23.8
    Comment Comments The comment of the work interval.

    • Expandable
    Introduced in version 23.8

    Example

    {
      "Id": 0,
      "IntervalStart": "0001-01-01T00:00:00+00:00",
      "IntervalEnd": "0001-01-01T00:00:00+00:00",
      "IsClosedInterval": false,
      "BundleId": "00000000-0000-0000-0000-000000000000",
      "WorkRecordingType": 0,
      "IndirectWorkCodeId": null,
      "OperationId": null,
      "TimeCalculationType": 0,
      "ReportingEmployeeId": 0,
      "WorkCenterId": null,
      "WorkedTime": "00:00:00",
      "OfWichOvertime": "00:00:00",
      "ReportedQuantity": 0.0,
      "RejectedQuantity": 0.0,
      "ActivityId": null,
      "CommentId": null,
      "Comment": null
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB