Service Request Events

The following service request events can be specified as part of the request for creating a subscription:

Event Description

customerRequestCreated

The event occurs after creating a service request assigned to an activity.

inventoryRequestCreated

The event occurs after creating a service request assigned to an inventory.

resourceRequestCreated

The event occurs after creating a service request assigned to a resource.

Event Fields

The service request events contain the following fields:

  • applicationId: The ID of the application that performed the operation which generated the event. It is only present if the operation was performed by an Application.
  • time: The time of the event in UTC time standard (string). The time format is YYYY-MM-DD HH:MM:SS.
  • user: The user who performed this event (string).
  • requestDetails: A record containing the following fields:
    • requestId: The identifier of the request.
    • requestType: The type label of the request.
    • resourceId: The resource of the request.
    • resourceInternalId: The resource ID in Oracle Field Service. This field is read-only.
    • date: The date of this request.
  • requestChanges: A record containing the following fields:
    • requestId: The identifier of the request.
    • requestType: The type label of the request.
    • resourceId: The resource of the request.
    • date: The date of this request.
    • created: The time when the request was created.
    • resourceInternalId: The resource ID in Oracle Field Service. This field is read-only.
  • activityDetails: A record containing the following activity-related key fields:
    • activityId: The identifier of the activity (integer). This is a mandatory field.
    • resourceId: The identifier of the resource to which the activity is assigned (string). This is a mandatory field. The field maps to the external_id field.
    • resourceInternalId: The resource ID in Oracle Field Service. This field is read-only.
    • date: The date the activity is scheduled in the format YYYY-MM-DD. If the activity isn't scheduled, the value is NULL.
    • apptNumber: This field is used by integrations to hold the external ID of the activity. The external ID is the identifier of the activity in the origin system. This is an optional field.
    • customerNumber: This field is used by integrations to hold the external ID of the account. The external ID is the identifier of the account in the origin system. This is an optional field.
  • inventoryDetails: A record containing the following inventory-related key fields:
    • inventoryId: The identifier of the inventory (integer). This is a mandatory field.
    • inventoryType: One of the inventory types defined in the Configuration > Inventory types page in the Field Service Manage interface.
    • status: The status, such as customer, resource, installed, and deinstalled.