Maintenance API Event Driven (0.1.0)

Download OpenAPI specification:Download

Maintenance API Event Driven is an event driven architecture covering the Operation & Maintenance Area in Equinor.

Introduction

Maintenance API Event Driven is a companion solution to Maintenance API. Whilst Maintenance API provides a REST-based synchronous API, this is event driven and publishes maintenance events consumer solution can subscribe and react to.

"Event-driven architecture is a software architecture paradigm promoting the production, detection, consumption of, and reaction to events". The events represent "a signifcant change in state" for a business object and in our case are produced from the Equinor's ERP system.

Examples of maintenance events:

  • Corrective work order created from failure report
  • Preventive work order created from maintenance program
  • Work order of type SAS Change, Project, Modification or Subsea created
  • Work order status activation (REL, TECO most important ones)
  • Work order modified
    • Work order header fields updated
    • Work order operation fields updated
    • Confirmation of operation
    • Time writing/confirmations
    • Work order component added, updated or removed
    • Equipment reserved/unreserved for Subsea work order
  • Work order operation scheduling (planned dates adjusted or added/removed from baseline plan)
  • Delay in logistics for parts required for work order (parts of SCM Logistics so outside of Maintenance scope)

Consumer setup

Overview

Azure Service Bus is a key component in the Maintenance API event driven architecture and runs in Equinor's Azure tenant. This is a mature product with advanced functionality and excellent library support for consumers especially on the .NET platform.

Subscriber setup

Subscriber setup will be performed by the Maintenance API team.

As part of this, the following will be configured:

  • A subscription in Azure Service bus with filter matching the events of interest to the specific consumer
  • A consumer specific queue in Azure Service Bus which will receive a copy of all events matching the subscription filter
  • A Shared Access Signature the consumer will use for authorization
  • Firewall allow rules for the ip-adresses used by the consumer

Client event consumption

Events

Client event consumption

Consumers will use typically use libraries such as Azure.Messaging.ServiceBus for reading events from their subscriptions through a persistent TCP/IP connection (Azure Service Bus also provides a synchronous based REST interface for reading events in special cases).

We recommend the consumer uses a Peek-Lock message pattern and actively confirm messages once successfully processed.

Dead-letter-queues can hold failed events and must be monitored by the consumer.

Events

Overview

Events originate from Equinor's ERP system. They will use common terminology from across the Oil&Gas and Renewables industry for the maintenance process in the same way as the Maintenance API (Norsok standard NS-EN 13306 and ISO 14224 are key resource).

The events will contain the full state of the modified resource just after the event occured. The full state is identical to what will be returned on a lookup request for the individual resource in Maintenance API

Data model

The event data will follow the cloudevents standard.

Quality of Service

Due to underlying depdencies, we cannot guarantee the correct ordering of the events and cannot guarantee a event is delivered only once. However, due to the relatively low volume of events published, we expect these two conditions to normally hold true.

Feature requests

Feature requests are welcomed and can be submitted through https://github.com/equinor/maintenance-api-event-driven

Activity reports

Used to report work performed for a maintenance activity against a tag

Activity report - Event created Webhook

Overview

Event published when a activity report has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.activity-reports.created"

Event type

subject
string

Activity report recordId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.activity-reports.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ActivityReport)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.activity-reports.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "activities": [
      ],
    • "attachments": [
      ],
    • "urlReferences": [],
    • "statuses": [
      ],
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "title": "Endre skalering på PDT",
    • "text": "Multi-line text based on template",
    • "isOpen": true,
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "activeStatusIds": "OSNO CRTE",
    • "createdDateTime": "2019-08-24T14:15:22Z"
    }
}

Activity report - Event modified Webhook

Overview

Event published when a activity report has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.activity-reports.modified"

Event type

subject
string

Activity report recordId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.activity-reports.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ActivityReport)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.activity-reports.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "activities": [
      ],
    • "attachments": [
      ],
    • "urlReferences": [],
    • "statuses": [
      ],
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "title": "Endre skalering på PDT",
    • "text": "Multi-line text based on template",
    • "isOpen": true,
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "activeStatusIds": "OSNO CRTE",
    • "createdDateTime": "2019-08-24T14:15:22Z"
    }
}

Activity report - Event completed Webhook

Overview

Event published when a activity report has been completed

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.activity-reports.completed"

Event type

subject
string

Activity report recordId which was completed

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.activity-reports.completed"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ActivityReport)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.activity-reports.completed",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "activities": [
      ],
    • "attachments": [
      ],
    • "urlReferences": [],
    • "statuses": [
      ],
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "title": "Endre skalering på PDT",
    • "text": "Multi-line text based on template",
    • "isOpen": true,
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "activeStatusIds": "OSNO CRTE",
    • "createdDateTime": "2019-08-24T14:15:22Z"
    }
}

Failure reports

Used when an equipment fault/degradation is detected or when there is need for work that is not related to equipment fault.

Failure report - Event created Webhook

Overview

Event published when a failure report has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.failure-reports.created"

Event type

subject
string

Failure report recordId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.failure-reports.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (FailureReport)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.failure-reports.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "activities": [
      ],
    • "tasks": [
      ],
    • "attachments": [
      ],
    • "urlReferences": [],
    • "tagDetails": {
      },
    • "additionalMetadata": [
      ],
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "equipment": "Strainer at inlet Recirc Pmp",
    • "title": "Endre skalering på PDT",
    • "text": "Multi-line text based on template",
    • "workCenterId": "SPIAUT",
    • "workCenter": "AI Automasjon",
    • "workCenterPlantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "plannerGroup": "Plattform PV",
    • "locationId": "CD2",
    • "location": "METERING DECK",
    • "areaId": "Deprecated - Use locationId",
    • "area": "Deprecated - Use location",
    • "systemId": "11",
    • "failureImpactId": "D",
    • "failureImpact": "Unwell (InF)",
    • "priorityId": "D",
    • "isBreakdown": false,
    • "hasUnsafeFailureMode": true,
    • "unsafeFailureModeStatus": "OUTSTANDING",
    • "requiredEndDate": "2019-08-24",
    • "failureModeId": "STC",
    • "failureMode": "CST Struct. deficiency containment risk",
    • "failureModeGroupId": "PMMO-080",
    • "failureModeGroup": "ISO Piping",
    • "detectionMethodId": "3",
    • "detectionMethod": "ISO Inspection",
    • "detectionMethodGroupId": "PMDM-005",
    • "detectionMethodGroup": "ISO Scheduled activities",
    • "failureMechanismId": "2.9",
    • "failureMechanism": "CST Corrosion external",
    • "failureMechanismGroupId": "PMMC-010",
    • "failureMechanismGroup": "ISO Material failure",
    • "correctiveWorkOrderExist": false,
    • "correctiveWorkOrderId": "24871954",
    • "activeStatusIds": "OSNO CRTE",
    • "isOpen": true,
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "completedDateTime": "2019-08-24T14:15:22Z",
    • "failureStartDateTime": "2019-08-24T14:15:22Z",
    • "failureEndDateTime": "2019-08-24T14:15:22Z"
    }
}

Failure report - Event modified Webhook

Overview

Event published when a failure report has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.failure-reports.modified"

Event type

subject
string

Failure report recordId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.failure-reports.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (FailureReport)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.failure-reports.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "activities": [
      ],
    • "tasks": [
      ],
    • "attachments": [
      ],
    • "urlReferences": [],
    • "tagDetails": {
      },
    • "additionalMetadata": [
      ],
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "equipment": "Strainer at inlet Recirc Pmp",
    • "title": "Endre skalering på PDT",
    • "text": "Multi-line text based on template",
    • "workCenterId": "SPIAUT",
    • "workCenter": "AI Automasjon",
    • "workCenterPlantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "plannerGroup": "Plattform PV",
    • "locationId": "CD2",
    • "location": "METERING DECK",
    • "areaId": "Deprecated - Use locationId",
    • "area": "Deprecated - Use location",
    • "systemId": "11",
    • "failureImpactId": "D",
    • "failureImpact": "Unwell (InF)",
    • "priorityId": "D",
    • "isBreakdown": false,
    • "hasUnsafeFailureMode": true,
    • "unsafeFailureModeStatus": "OUTSTANDING",
    • "requiredEndDate": "2019-08-24",
    • "failureModeId": "STC",
    • "failureMode": "CST Struct. deficiency containment risk",
    • "failureModeGroupId": "PMMO-080",
    • "failureModeGroup": "ISO Piping",
    • "detectionMethodId": "3",
    • "detectionMethod": "ISO Inspection",
    • "detectionMethodGroupId": "PMDM-005",
    • "detectionMethodGroup": "ISO Scheduled activities",
    • "failureMechanismId": "2.9",
    • "failureMechanism": "CST Corrosion external",
    • "failureMechanismGroupId": "PMMC-010",
    • "failureMechanismGroup": "ISO Material failure",
    • "correctiveWorkOrderExist": false,
    • "correctiveWorkOrderId": "24871954",
    • "activeStatusIds": "OSNO CRTE",
    • "isOpen": true,
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "completedDateTime": "2019-08-24T14:15:22Z",
    • "failureStartDateTime": "2019-08-24T14:15:22Z",
    • "failureEndDateTime": "2019-08-24T14:15:22Z"
    }
}

Failure report - Event completed Webhook

Overview

Event published when a failure report has been completed

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.failure-reports.completed"

Event type

subject
string

Failure report recordId which was completed

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.failure-reports.completed"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (FailureReport)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.failure-reports.completed",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "activities": [
      ],
    • "tasks": [
      ],
    • "attachments": [
      ],
    • "urlReferences": [],
    • "tagDetails": {
      },
    • "additionalMetadata": [
      ],
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "equipment": "Strainer at inlet Recirc Pmp",
    • "title": "Endre skalering på PDT",
    • "text": "Multi-line text based on template",
    • "workCenterId": "SPIAUT",
    • "workCenter": "AI Automasjon",
    • "workCenterPlantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "plannerGroup": "Plattform PV",
    • "locationId": "CD2",
    • "location": "METERING DECK",
    • "areaId": "Deprecated - Use locationId",
    • "area": "Deprecated - Use location",
    • "systemId": "11",
    • "failureImpactId": "D",
    • "failureImpact": "Unwell (InF)",
    • "priorityId": "D",
    • "isBreakdown": false,
    • "hasUnsafeFailureMode": true,
    • "unsafeFailureModeStatus": "OUTSTANDING",
    • "requiredEndDate": "2019-08-24",
    • "failureModeId": "STC",
    • "failureMode": "CST Struct. deficiency containment risk",
    • "failureModeGroupId": "PMMO-080",
    • "failureModeGroup": "ISO Piping",
    • "detectionMethodId": "3",
    • "detectionMethod": "ISO Inspection",
    • "detectionMethodGroupId": "PMDM-005",
    • "detectionMethodGroup": "ISO Scheduled activities",
    • "failureMechanismId": "2.9",
    • "failureMechanism": "CST Corrosion external",
    • "failureMechanismGroupId": "PMMC-010",
    • "failureMechanismGroup": "ISO Material failure",
    • "correctiveWorkOrderExist": false,
    • "correctiveWorkOrderId": "24871954",
    • "activeStatusIds": "OSNO CRTE",
    • "isOpen": true,
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "completedDateTime": "2019-08-24T14:15:22Z",
    • "failureStartDateTime": "2019-08-24T14:15:22Z",
    • "failureEndDateTime": "2019-08-24T14:15:22Z"
    }
}

Modification proposals

Modification proposal initiates the processing of a modification, replacement or maintenance project. In Equinor for upstream offshore, a modification proposal initiates the business processes 'OM103.01 - Initiate projects on plants in operation' or 'OM103.70.01 - Propose simple modifications in safety and automation systems'.

Modification proposal - Event created Webhook

Overview

Event published when a modification proposal has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.modification-proposal.created"

Event type

subject
string

Modification proposal recordId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.modification-proposals.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ModificationProposal)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.modification-proposal.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "attachments": [
      ],
    • "tasks": [
      ],
    • "statuses": [
      ],
    • "text": "Multi-line text based on template",
    • "plannerGroup": "Anleggsintegritet",
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "reasonGroupId": "PMB-PRIM",
    • "reasonId": "MA70",
    • "priorityId": "H",
    • "title": "Endre skalering på PDT",
    • "isSimpleProposal": false,
    • "activeStatusIds": "OSNO CRTE",
    • "plannerGroupId": "SPI",
    • "planningPlantId": "1100",
    • "plannerGroupPlantId": "1100",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "requiredStartDate": "2019-08-24",
    • "requiredEndDate": "2019-08-24",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "completedDateTime": "2019-08-24T14:15:22Z"
    }
}

Modification proposal - Event modified Webhook

Overview

Event published when a modification proposal has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.modification-proposal.modified"

Event type

subject
string

Modification proposal recordId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.modification-proposals.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ModificationProposal)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.modification-proposal.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "attachments": [
      ],
    • "tasks": [
      ],
    • "statuses": [
      ],
    • "text": "Multi-line text based on template",
    • "plannerGroup": "Anleggsintegritet",
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "reasonGroupId": "PMB-PRIM",
    • "reasonId": "MA70",
    • "priorityId": "H",
    • "title": "Endre skalering på PDT",
    • "isSimpleProposal": false,
    • "activeStatusIds": "OSNO CRTE",
    • "plannerGroupId": "SPI",
    • "planningPlantId": "1100",
    • "plannerGroupPlantId": "1100",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "requiredStartDate": "2019-08-24",
    • "requiredEndDate": "2019-08-24",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "completedDateTime": "2019-08-24T14:15:22Z"
    }
}

Modification proposal - Event completed Webhook

Overview

Event published when a modification proposal has been completed

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.modification-proposal.completed"

Event type

subject
string

Modification proposal recordId which was completed

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.modification-proposals.completed"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ModificationProposal)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.modification-proposal.completed",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "attachments": [
      ],
    • "tasks": [
      ],
    • "statuses": [
      ],
    • "text": "Multi-line text based on template",
    • "plannerGroup": "Anleggsintegritet",
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "reasonGroupId": "PMB-PRIM",
    • "reasonId": "MA70",
    • "priorityId": "H",
    • "title": "Endre skalering på PDT",
    • "isSimpleProposal": false,
    • "activeStatusIds": "OSNO CRTE",
    • "plannerGroupId": "SPI",
    • "planningPlantId": "1100",
    • "plannerGroupPlantId": "1100",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "requiredStartDate": "2019-08-24",
    • "requiredEndDate": "2019-08-24",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "completedDateTime": "2019-08-24T14:15:22Z"
    }
}

Certification reports

Used to represent the results of a certification such as PSV or lifting certificate

Certification Report - Event created Webhook

Overview

Event published when a certification report has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.certification-reports.created"

Event type

subject
string

Certification report recordId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.certification-reports.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (CertificationReport)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.certification-reports.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagDetails": {
      },
    • "measuringPoints": [
      ],
    • "text": "Multi-line text based on template",
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "title": "Endre skalering på PDT",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "plannerGroup": "Plattform PV",
    • "locationId": "CD2",
    • "location": "METERING DECK",
    • "requiredEndDate": "2019-08-24",
    • "failureModeId": "STC",
    • "failureMode": "CST Struct. deficiency containment risk",
    • "failureModeGroupId": "PMMO-080",
    • "failureModeGroup": "ISO Piping",
    • "detectionMethodId": "3",
    • "detectionMethod": "ISO Inspection",
    • "detectionMethodGroupId": "PMDM-005",
    • "detectionMethodGroup": "ISO Scheduled activities",
    • "failureMechanismId": "2.9",
    • "failureMechanism": "CST Corrosion external",
    • "failureMechanismGroupId": "PMMC-010",
    • "failureMechanismGroup": "ISO Material failure",
    • "workOrderExist": false,
    • "workOrderId": "24871954",
    • "activeStatusIds": "OSNO CRTE",
    • "createdDateTime": "2019-08-24T14:15:22Z"
    }
}

Certification Report - Event modified Webhook

Overview

Event published when a certification report has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.certification-reports.modified"

Event type

subject
string

Certification report recordId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.certification-reports.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (CertificationReport)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.certification-reports.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagDetails": {
      },
    • "measuringPoints": [
      ],
    • "text": "Multi-line text based on template",
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "title": "Endre skalering på PDT",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "plannerGroup": "Plattform PV",
    • "locationId": "CD2",
    • "location": "METERING DECK",
    • "requiredEndDate": "2019-08-24",
    • "failureModeId": "STC",
    • "failureMode": "CST Struct. deficiency containment risk",
    • "failureModeGroupId": "PMMO-080",
    • "failureModeGroup": "ISO Piping",
    • "detectionMethodId": "3",
    • "detectionMethod": "ISO Inspection",
    • "detectionMethodGroupId": "PMDM-005",
    • "detectionMethodGroup": "ISO Scheduled activities",
    • "failureMechanismId": "2.9",
    • "failureMechanism": "CST Corrosion external",
    • "failureMechanismGroupId": "PMMC-010",
    • "failureMechanismGroup": "ISO Material failure",
    • "workOrderExist": false,
    • "workOrderId": "24871954",
    • "activeStatusIds": "OSNO CRTE",
    • "createdDateTime": "2019-08-24T14:15:22Z"
    }
}

Certification Report - Event completed Webhook

Overview

Event published when a certification report has been completed

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.certification-reports.completed"

Event type

subject
string

Certification report recordId which was completed

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.certification-reports.completed"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (CertificationReport)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.certification-reports.completed",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagDetails": {
      },
    • "measuringPoints": [
      ],
    • "text": "Multi-line text based on template",
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "title": "Endre skalering på PDT",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "plannerGroup": "Plattform PV",
    • "locationId": "CD2",
    • "location": "METERING DECK",
    • "requiredEndDate": "2019-08-24",
    • "failureModeId": "STC",
    • "failureMode": "CST Struct. deficiency containment risk",
    • "failureModeGroupId": "PMMO-080",
    • "failureModeGroup": "ISO Piping",
    • "detectionMethodId": "3",
    • "detectionMethod": "ISO Inspection",
    • "detectionMethodGroupId": "PMDM-005",
    • "detectionMethodGroup": "ISO Scheduled activities",
    • "failureMechanismId": "2.9",
    • "failureMechanism": "CST Corrosion external",
    • "failureMechanismGroupId": "PMMC-010",
    • "failureMechanismGroup": "ISO Material failure",
    • "workOrderExist": false,
    • "workOrderId": "24871954",
    • "activeStatusIds": "OSNO CRTE",
    • "createdDateTime": "2019-08-24T14:15:22Z"
    }
}

Technical information update requests

Used to request for update of technical information or maintenance programs

Technical Information Update Request - Event created Webhook

Overview

Event published when a technical information update request has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.technical-information-update-requests.created"

Event type

subject
string

Technical information update request recordId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.technical-information-update-requests.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (TechnicalInformationUpdateRequest)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.technical-information-update-requests.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagDetails": {
      },
    • "tasks": [
      ],
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "title": "Endre skalering på PDT",
    • "text": "Multi-line text based on template",
    • "hasPersonResponsible": true,
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "plannerGroup": "Plattform PV",
    • "locationId": "CD2",
    • "location": "METERING DECK",
    • "systemId": "BS",
    • "system": "PM-PROG.SYST.",
    • "requiredEndDate": "2019-08-24",
    • "priorityId": "H",
    • "sortField": "RETUR",
    • "costWBSId": "T.O265C.GA.00007",
    • "costWBS": "Vedlikehold - System PV",
    • "workOrderExist": false,
    • "workOrderId": "24871954",
    • "activeStatusIds": "OSNO CRTE",
    • "createdDateTime": "2019-08-24T14:15:22Z"
    }
}

Technical Information Update Request - Event modified Webhook

Overview

Event published when a technical information update request has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.technical-information-update-requests.modified"

Event type

subject
string

Technical information update request recordId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.technical-information-update-requests.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (TechnicalInformationUpdateRequest)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.technical-information-update-requests.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagDetails": {
      },
    • "tasks": [
      ],
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "title": "Endre skalering på PDT",
    • "text": "Multi-line text based on template",
    • "hasPersonResponsible": true,
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "plannerGroup": "Plattform PV",
    • "locationId": "CD2",
    • "location": "METERING DECK",
    • "systemId": "BS",
    • "system": "PM-PROG.SYST.",
    • "requiredEndDate": "2019-08-24",
    • "priorityId": "H",
    • "sortField": "RETUR",
    • "costWBSId": "T.O265C.GA.00007",
    • "costWBS": "Vedlikehold - System PV",
    • "workOrderExist": false,
    • "workOrderId": "24871954",
    • "activeStatusIds": "OSNO CRTE",
    • "createdDateTime": "2019-08-24T14:15:22Z"
    }
}

Technical Information Update Request - Event completed Webhook

Overview

Event published when a technical information update request has been completed

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.technical-information-update-requests.completed"

Event type

subject
string

Technical information update request recordId which was completed

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.technical-information-update-requests.completed"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (TechnicalInformationUpdateRequest)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.technical-information-update-requests.completed",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagDetails": {
      },
    • "tasks": [
      ],
    • "recordId": "45894100",
    • "tagId": "PX",
    • "tagPlantId": "1100",
    • "equipmentId": "12410072",
    • "title": "Endre skalering på PDT",
    • "text": "Multi-line text based on template",
    • "hasPersonResponsible": true,
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "plannerGroup": "Plattform PV",
    • "locationId": "CD2",
    • "location": "METERING DECK",
    • "systemId": "BS",
    • "system": "PM-PROG.SYST.",
    • "requiredEndDate": "2019-08-24",
    • "priorityId": "H",
    • "sortField": "RETUR",
    • "costWBSId": "T.O265C.GA.00007",
    • "costWBS": "Vedlikehold - System PV",
    • "workOrderExist": false,
    • "workOrderId": "24871954",
    • "activeStatusIds": "OSNO CRTE",
    • "createdDateTime": "2019-08-24T14:15:22Z"
    }
}

Technical clarifications

Used to request technical clarification when not covered by other maintenance records (such as failure reports)

Technical Clarification - Event created Webhook

Overview

Event published when a technical clarification has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.technical-clarifications.created"

Event type

subject
string

Technical clarification recordId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.technical-clarifications.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (TechnicalClarification)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.technical-clarifications.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagDetails": {
      },
    • "tasks": [
      ],
    • "recordId": "45894100",
    • "tagId": "D-13L35001A",
    • "tagPlantId": "1902",
    • "equipmentId": "",
    • "title": "Material vurdering FD100 Vanninj service",
    • "text": "Multi-line text\nbased on template",
    • "hasPersonResponsible": true,
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "workCenterId": "SPIMEK",
    • "workCenterPlantId": "1901",
    • "planningPlantId": "1901",
    • "plannerGroupId": "SPIAUT",
    • "plannerGroup": "AI Mekanisk",
    • "locationId": "DC132",
    • "location": "Wellbay Area Center Cellar Deck",
    • "systemId": "13",
    • "system": "RISER/WELL TOP",
    • "requiredEndDate": "2019-08-24",
    • "priorityId": "H",
    • "sortField": "RETUR",
    • "costWBSId": "T.O265C.GA.00007",
    • "costWBS": "Vedlikehold - System PV",
    • "workOrderExist": false,
    • "workOrderId": "24871954",
    • "activeStatusIds": "ATCO OSNO RPRI",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "plannedEndDate": "2019-08-24",
    • "completedDateTime": "2019-08-24"
    }
}

Technical Clarification - Event modified Webhook

Overview

Event published when a technical clarification has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.technical-clarifications.modified"

Event type

subject
string

Technical clarification recordId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.technical-clarifications.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (TechnicalClarification)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.technical-clarifications.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagDetails": {
      },
    • "tasks": [
      ],
    • "recordId": "45894100",
    • "tagId": "D-13L35001A",
    • "tagPlantId": "1902",
    • "equipmentId": "",
    • "title": "Material vurdering FD100 Vanninj service",
    • "text": "Multi-line text\nbased on template",
    • "hasPersonResponsible": true,
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "workCenterId": "SPIMEK",
    • "workCenterPlantId": "1901",
    • "planningPlantId": "1901",
    • "plannerGroupId": "SPIAUT",
    • "plannerGroup": "AI Mekanisk",
    • "locationId": "DC132",
    • "location": "Wellbay Area Center Cellar Deck",
    • "systemId": "13",
    • "system": "RISER/WELL TOP",
    • "requiredEndDate": "2019-08-24",
    • "priorityId": "H",
    • "sortField": "RETUR",
    • "costWBSId": "T.O265C.GA.00007",
    • "costWBS": "Vedlikehold - System PV",
    • "workOrderExist": false,
    • "workOrderId": "24871954",
    • "activeStatusIds": "ATCO OSNO RPRI",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "plannedEndDate": "2019-08-24",
    • "completedDateTime": "2019-08-24"
    }
}

Technical Clarification - Event completed Webhook

Overview

Event published when a technical clarification has been completed

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.maintenance-records.technical-clarifications.completed"

Event type

subject
string

Technical clarification recordId which was completed

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.maintenance-records.technical-clarifications.completed"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (TechnicalClarification)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.maintenance-records.technical-clarifications.completed",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagDetails": {
      },
    • "tasks": [
      ],
    • "recordId": "45894100",
    • "tagId": "D-13L35001A",
    • "tagPlantId": "1902",
    • "equipmentId": "",
    • "title": "Material vurdering FD100 Vanninj service",
    • "text": "Multi-line text\nbased on template",
    • "hasPersonResponsible": true,
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "workCenterId": "SPIMEK",
    • "workCenterPlantId": "1901",
    • "planningPlantId": "1901",
    • "plannerGroupId": "SPIAUT",
    • "plannerGroup": "AI Mekanisk",
    • "locationId": "DC132",
    • "location": "Wellbay Area Center Cellar Deck",
    • "systemId": "13",
    • "system": "RISER/WELL TOP",
    • "requiredEndDate": "2019-08-24",
    • "priorityId": "H",
    • "sortField": "RETUR",
    • "costWBSId": "T.O265C.GA.00007",
    • "costWBS": "Vedlikehold - System PV",
    • "workOrderExist": false,
    • "workOrderId": "24871954",
    • "activeStatusIds": "ATCO OSNO RPRI",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "plannedEndDate": "2019-08-24",
    • "completedDateTime": "2019-08-24"
    }
}

Corrective Work orders

Used for all corrective maintenance, i.e. all maintenance that is intended to restore the equipment's technical condition, so that it can perform its assigned function. Corrective work orders can also be used for activities not directly connected with equipment failure (corrective), but as follows same work process for prioritisation and scheduling.

Corrective work order - Event created Webhook

Overview

Event published when a corrective work order has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.corrective-work-orders.created"

Event type

subject
string

Corrective work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.corrective-work-orders.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (CorrectiveWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.corrective-work-orders.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "correctiveWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24983466",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "failureReportId": "45836077",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "requiredEndDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "priorityId": "L"
    }
}

Corrective work order - Event released Webhook

Overview

Event published when a corrective work order has been released

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.corrective-work-orders.released"

Event type

subject
string

Corrective work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.corrective-work-orders.released"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (CorrectiveWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.corrective-work-orders.released",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "correctiveWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24983466",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "failureReportId": "45836077",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "requiredEndDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "priorityId": "L"
    }
}

Corrective work order - Event modified Webhook

Overview

Event published when a corrective work order has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.corrective-work-orders.modified"

Event type

subject
string

Corrective work order workOrderId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.corrective-work-orders.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (CorrectiveWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.corrective-work-orders.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "correctiveWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24983466",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "failureReportId": "45836077",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "requiredEndDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "priorityId": "L"
    }
}

Corrective work order - Event technical complete Webhook

Overview

Event published when a corrective work order has been technical complete (TECO)

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.corrective-work-orders.technical-complete"

Event type

subject
string

Corrective work order workOrderId which was technical complete (TECO)

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.corrective-work-orders.technical-complete"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (CorrectiveWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.corrective-work-orders.technical-complete",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "correctiveWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24983466",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "failureReportId": "45836077",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "requiredEndDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "priorityId": "L"
    }
}

Preventive Work orders

Used for work orders generated from pre-defined preventive maintenance programs.

Preventive work order - Event created Webhook

Overview

Event published when a preventive work order has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.preventive-work-orders.created"

Event type

subject
string

Preventive work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.preventive-work-orders.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (PreventiveWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.preventive-work-orders.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "maintenancePlan": {
      },
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "preventiveWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24597659",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "plannedDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "ProductionCritical": false,
    • "HSECritical": false
    }
}

Preventive work order - Event released Webhook

Overview

Event published when a preventive work order has been released

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.preventive-work-orders.released"

Event type

subject
string

Preventive work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.preventive-work-orders.released"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (PreventiveWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.preventive-work-orders.released",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "maintenancePlan": {
      },
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "preventiveWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24597659",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "plannedDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "ProductionCritical": false,
    • "HSECritical": false
    }
}

Preventive work order - Event modified Webhook

Overview

Event published when a preventive work order has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.preventive-work-orders.modified"

Event type

subject
string

Preventive work order workOrderId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.preventive-work-orders.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (PreventiveWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.preventive-work-orders.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "maintenancePlan": {
      },
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "preventiveWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24597659",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "plannedDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "ProductionCritical": false,
    • "HSECritical": false
    }
}

Preventive work order - Event technical complete Webhook

Overview

Event published when a preventive work order has been technical complete (TECO)

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.preventive-work-orders.technical-complete"

Event type

subject
string

Preventive work order workOrderId which was technical complete (TECO)

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.preventive-work-orders.technical-complete"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (PreventiveWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.preventive-work-orders.technical-complete",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "maintenancePlan": {
      },
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "preventiveWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24597659",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "plannedDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "ProductionCritical": false,
    • "HSECritical": false
    }
}

SAS Change Work orders

Used as a tool to ensure change control of software changes to Safety and Automation Systems.

SAS Change work order - Event created Webhook

Overview

Event published when a SAS Change work order has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.sas-change-work-orders.created"

Event type

subject
string

SAS Change work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.sas-change-work-orders.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (SASChangeWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.sas-change-work-orders.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "sasChangeWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "systemId": "11",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "Z06",
    • "maintenanceType": "SAS Change Activity",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "sortField": "PRS10239.WP12"
    }
}

SAS Change work order - Event released Webhook

Overview

Event published when a SAS Change work order has been released

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.sas-change-work-orders.released"

Event type

subject
string

SAS Change work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.sas-change-work-orders.released"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (SASChangeWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.sas-change-work-orders.released",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "sasChangeWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "systemId": "11",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "Z06",
    • "maintenanceType": "SAS Change Activity",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "sortField": "PRS10239.WP12"
    }
}

SAS Change work order - Event modified Webhook

Overview

Event published when a SAS Change work order has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.sas-change-work-orders.modified"

Event type

subject
string

SAS Change work order workOrderId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.sas-change-work-orders.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (SASChangeWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.sas-change-work-orders.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "sasChangeWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "systemId": "11",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "Z06",
    • "maintenanceType": "SAS Change Activity",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "sortField": "PRS10239.WP12"
    }
}

SAS Change work order - Event technical complete Webhook

Overview

Event published when a SAS Change work order has been technical complete (TECO)

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.sas-change-work-orders.technical-complete"

Event type

subject
string

SAS Change work order workOrderId which was technical complete (TECO)

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.sas-change-work-orders.technical-complete"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (SASChangeWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.sas-change-work-orders.technical-complete",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "sasChangeWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "systemId": "11",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "Z06",
    • "maintenanceType": "SAS Change Activity",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "sortField": "PRS10239.WP12"
    }
}

Project Work orders

Used for modification projects that are controlled and managed using standard modification project structures that include WBS, network orders and activities.

Project work order - Event created Webhook

Overview

Event published when a project work order has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.project-work-orders.created"

Event type

subject
string

Project work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.project-work-orders.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ProjectWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.project-work-orders.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "projectWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "isTimeOnlyWorkOrder": false,
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "systemId": "11",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "015",
    • "maintenanceType": "Project work",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "sortField": "PRS10239.WP12"
    }
}

Project work order - Event released Webhook

Overview

Event published when a project work order has been released

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.project-work-orders.released"

Event type

subject
string

Project work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.project-work-orders.released"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ProjectWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.project-work-orders.released",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "projectWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "isTimeOnlyWorkOrder": false,
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "systemId": "11",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "015",
    • "maintenanceType": "Project work",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "sortField": "PRS10239.WP12"
    }
}

Project work order - Event modified Webhook

Overview

Event published when a project work order has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.project-work-orders.modified"

Event type

subject
string

Project work order workOrderId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.project-work-orders.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ProjectWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.project-work-orders.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "projectWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "isTimeOnlyWorkOrder": false,
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "systemId": "11",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "015",
    • "maintenanceType": "Project work",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "sortField": "PRS10239.WP12"
    }
}

Project work order - Event technical complete Webhook

Overview

Event published when a project work order has been technical complete (TECO)

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.project-work-orders.technical-complete"

Event type

subject
string

Project work order workOrderId which was technical complete (TECO)

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.project-work-orders.technical-complete"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ProjectWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.project-work-orders.technical-complete",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "projectWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "isTimeOnlyWorkOrder": false,
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "areaId": "Deprecated - Use locationId",
    • "systemId": "11",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "015",
    • "maintenanceType": "Project work",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "sortField": "PRS10239.WP12"
    }
}

Modification Work orders

Used for simple modification of installation.

Modification work order - Event created Webhook

Overview

Event published when a modification work order has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.modification-work-orders.created"

Event type

subject
string

Modification work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.modification-work-orders.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ModificationWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.modification-work-orders.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "modificationWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "modificationProposalId": "46415269",
    • "locationId": "CD17OU",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "006",
    • "maintenanceType": "Improvement / minor modificat.",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "sortField": "PRS10239.WP12"
    }
}

Modification work order - Event released Webhook

Overview

Event published when a modification work order has been released

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.modification-work-orders.released"

Event type

subject
string

Modification work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.modification-work-orders.released"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ModificationWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.modification-work-orders.released",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "modificationWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "modificationProposalId": "46415269",
    • "locationId": "CD17OU",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "006",
    • "maintenanceType": "Improvement / minor modificat.",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "sortField": "PRS10239.WP12"
    }
}

Modification work order - Event modified Webhook

Overview

Event published when a modification work order has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.modification-work-orders.modified"

Event type

subject
string

Modification work order workOrderId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.modification-work-orders.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ModificationWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.modification-work-orders.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "modificationWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "modificationProposalId": "46415269",
    • "locationId": "CD17OU",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "006",
    • "maintenanceType": "Improvement / minor modificat.",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "sortField": "PRS10239.WP12"
    }
}

Modification work order - Event technical complete Webhook

Overview

Event published when a modification work order has been technical complete (TECO)

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.modification-work-orders.technical-complete"

Event type

subject
string

Modification work order workOrderId which was technical complete (TECO)

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.modification-work-orders.technical-complete"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (ModificationWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.modification-work-orders.technical-complete",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "operations": [
      ],
    • "statuses": [
      ],
    • "tagsRelated": [
      ],
    • "maintenanceRecords": [
      ],
    • "tagDetails": {
      },
    • "attachments": [
      ],
    • "text": "Beskrivelse av prosjekt modifikasjon\n",
    • "workOrderTypeId": "modificationWorkOrder",
    • "costWBS": "Conc.: Well A10 GL hook-up FL",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "workOrderId": "24684145",
    • "tagId": "LZ1012",
    • "tagPlantId": "1100",
    • "tag": "A10 OIL PRODUCTION WELL",
    • "title": "1416/Installerer Flowlinw A10",
    • "workCenterId": "PPMAUT",
    • "workCenterPlantId": "1100",
    • "modificationProposalId": "46415269",
    • "locationId": "CD17OU",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "006",
    • "maintenanceType": "Improvement / minor modificat.",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "costWBSId": "M.O037C.20.A.0002.A2",
    • "projectId": "M.O037C.20.A.0002",
    • "sortField": "PRS10239.WP12"
    }
}

Subsea Work orders

Used for Subsea projects.

Subsea work order - Event created Webhook

Overview

Event published when a subsea work order has been created

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.subsea-work-orders.created"

Event type

subject
string

Subsea work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.subsea-work-orders.created"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (SubseaWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.subsea-work-orders.created",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "operations": [
      ],
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagsRelated": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "subseaWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "hasPersonResponsible": true,
    • "costWBSId": "T.O089E.WI.00007",
    • "projectId": "T.O089E",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "workOrderId": "24983466",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "isObsoleteSubseaWorkOrderType": false,
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "failureReportId": "45836077",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "requiredEndDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "priorityId": "L"
    }
}

Subsea work order - Event released Webhook

Overview

Event published when a subsea work order has been released

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.subsea-work-orders.released"

Event type

subject
string

Subsea work order workOrderId which was created

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.subsea-work-orders.released"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (SubseaWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.subsea-work-orders.released",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "operations": [
      ],
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagsRelated": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "subseaWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "hasPersonResponsible": true,
    • "costWBSId": "T.O089E.WI.00007",
    • "projectId": "T.O089E",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "workOrderId": "24983466",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "isObsoleteSubseaWorkOrderType": false,
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "failureReportId": "45836077",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "requiredEndDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "priorityId": "L"
    }
}

Subsea work order - Event modified Webhook

Overview

Event published when a subsea work order has been modified

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.subsea-work-orders.modified"

Event type

subject
string

Subsea work order workOrderId which was modified

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.subsea-work-orders.modified"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (SubseaWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.subsea-work-orders.modified",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "operations": [
      ],
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagsRelated": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "subseaWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "hasPersonResponsible": true,
    • "costWBSId": "T.O089E.WI.00007",
    • "projectId": "T.O089E",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "workOrderId": "24983466",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "isObsoleteSubseaWorkOrderType": false,
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "failureReportId": "45836077",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "requiredEndDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "priorityId": "L"
    }
}

Subsea work order - Event technical complete Webhook

Overview

Event published when a subsea work order has been technical complete (TECO)

Request Body schema: application/json
type
string
Value: "com.equinor.maintenance-events.work-orders.subsea-work-orders.technical-complete"

Event type

subject
string

Subsea work order workOrderId which was technical complete (TECO)

source
string <uri>
Value: "https://equinor.github.io/maintenance-api-event-driven/#operation/com.equinor.maintenance-events.work-orders.subsea-work-orders.technical-complete"
specversion
string
Value: "1.0"

Cloudevents version

id
string

Unique id of the message

time
string <date-time>

Datetime the event was created

datacontenttype
string
Value: "application/json"

Content type for the data property (always application/json)

object (SubseaWorkOrder)

Request samples

Content type
application/json
{
  • "type": "com.equinor.maintenance-events.work-orders.subsea-work-orders.technical-complete",
  • "subject": "45689000",
  • "specversion": "1.0",
  • "id": "A234-1234-1111",
  • "time": "2023-04-05T17:31:00Z",
  • "datacontenttype": "application/json",
  • "data": {
    • "personResponsibleId": "433937",
    • "personResponsibleEmail": "shortname@equinor.com",
    • "operations": [
      ],
    • "statuses": [
      ],
    • "attachments": [
      ],
    • "tagsRelated": [
      ],
    • "text": "OBSERVERT FEILTILSTAND FYLLES UT AV INNMELDER:\nBeskriv feilen så godt som mulig (legg gjerne med bilde):\nHvor er utstyret fysisk plassert (legg gjerne med bilde)?\n-\n\nHvordan påvirker feilen utstyrets funksjon? ...\n",
    • "workOrderTypeId": "subseaWorkOrder",
    • "plannerGroup": "Plattform PV",
    • "workCenter": "AI Automasjon",
    • "hasPersonResponsible": true,
    • "costWBSId": "T.O089E.WI.00007",
    • "projectId": "T.O089E",
    • "costNetworkId": "9045173",
    • "costNetworkOperationId": "0010",
    • "workOrderId": "24983466",
    • "tagId": "BF",
    • "tagPlantId": "1100",
    • "tag": "CT5023/24 - POT.WATER PH PROBE.",
    • "title": "Modifikasjon av brannmur",
    • "isObsoleteSubseaWorkOrderType": false,
    • "workCenterId": "SPIAUT",
    • "workCenterPlantId": "1100",
    • "locationId": "CD17OU",
    • "failureReportId": "45836077",
    • "plantId": "1100",
    • "planningPlantId": "1100",
    • "plannerGroupId": "PPM",
    • "activeStatusIds": "OSNO CRTE",
    • "maintenanceTypeId": "002",
    • "maintenanceType": "Periodic maintenance",
    • "requiredEndDate": "2019-08-24",
    • "revisionId": "PS02_21",
    • "revision": "FV 26A/RIA",
    • "basicStartDateTime": "2019-08-24T14:15:22Z",
    • "basicEndDateTime": "2019-08-24T14:15:22Z",
    • "createdDateTime": "2019-08-24T14:15:22Z",
    • "changedDateTime": "2019-08-24T14:15:22Z",
    • "sortField": "PRS10239.WP12",
    • "priorityId": "L"
    }
}