Create an event instance

post

/fscmRestApi/resources/11.13.18.05/eventInstances

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Error Message
    Maximum Length: 4000
    The error message regarding delivery of the event instance.
  • Title: Event Code
    The unique code for the event, such as ADMINADDENRLL.
  • Title: Event ID
    The unique identifier for the event, for example, an identifier for student enrollment event.
  • Title: Event Instance Date
    The date when the event instance was created.
  • Title: Event Instance ID
    The unique identifier for the event instance.
  • Title: Event Instance Status Code
    Maximum Length: 30
    The status code of event instance, such as ORA_HEY_EVENT_PUBLISHED or ORA_HEY_EVENT_UNATTEMPTED. A list of accepted values is defined in the lookup type ORA_HEY_EVENT_INSTANCE_STATUS.
  • Title: Occurrence Date
    The date when the event instance occurred.
  • Title: Event Publish Date
    The date when the event instance was published.
  • Title: Expired Indicator
    Maximum Length: 1
    Indicates whether the event instance has expired and no longer needs to be tracked.
  • Title: Payload
    The payload sent by the event publisher, for example, a payload that contains the list of recipients who are impacted by the event occurrence and to whom communication should be sent.
  • Title: Publish Retry Count
    The number of retries that have been performed to deliver the event payload.
  • Title: Subscriber Error Message
    The error message regarding receipt of event instance by the subscriber.
  • Title: Subscriber Status Code
    The status code of the event instance being delivered to and processed by the subscriber, such as ORA_HEY_SUBSCRIBER_SUCCESS or ORA_HEY_SUBSCRIBER_FAILED. A list of accepted values is defined in the lookup type ORA_HEY_EVENT_SUBSCRIBER_STATUS.
  • Title: Subscriber Status ID
    The unique identifier for the event instance subscriber status.
  • Title: Tracking ID
    The unique identifier for tracking the delivery of the event instance.
  • Title: Tracking Message
    Maximum Length: 900
    The tracking message regarding delivery of the event instance. The tracking message contains details such as whether the event was accepted for delivery to subscribers.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : eventInstances-item-response
Type: object
Show Source
  • Title: Error Message
    Maximum Length: 4000
    The error message regarding delivery of the event instance.
  • Title: Event Code
    The unique code for the event, such as ADMINADDENRLL.
  • Title: Event ID
    The unique identifier for the event, for example, an identifier for student enrollment event.
  • Title: Event Instance Date
    The date when the event instance was created.
  • Title: Event Instance ID
    The unique identifier for the event instance.
  • Title: Event Instance Status Code
    Maximum Length: 30
    The status code of event instance, such as ORA_HEY_EVENT_PUBLISHED or ORA_HEY_EVENT_UNATTEMPTED. A list of accepted values is defined in the lookup type ORA_HEY_EVENT_INSTANCE_STATUS.
  • Title: Event Status
    Read Only: true
    Maximum Length: 80
    The status of event instance, such as published or not attempted. A list of accepted values is defined in the lookup type ORA_HEY_EVENT_INSTANCE_STATUS.
  • Title: Event Name
    Read Only: true
    Maximum Length: 50
    The name of the event, such as Add Enrollment.
  • Title: Occurrence Date
    The date when the event instance occurred.
  • Title: Event Publish Date
    The date when the event instance was published.
  • Title: Expired Indicator
    Maximum Length: 1
    Indicates whether the event instance has expired and no longer needs to be tracked.
  • Links
  • Title: Payload
    The payload sent by the event publisher, for example, a payload that contains the list of recipients who are impacted by the event occurrence and to whom communication should be sent.
  • Title: Publish Retry Count
    The number of retries that have been performed to deliver the event payload.
  • Title: Subscriber Error Message
    The error message regarding receipt of event instance by the subscriber.
  • Title: Subscriber Status Code
    The status code of the event instance being delivered to and processed by the subscriber, such as ORA_HEY_SUBSCRIBER_SUCCESS or ORA_HEY_SUBSCRIBER_FAILED. A list of accepted values is defined in the lookup type ORA_HEY_EVENT_SUBSCRIBER_STATUS.
  • Title: Subscriber Status ID
    The unique identifier for the event instance subscriber status.
  • Title: Tracking ID
    The unique identifier for tracking the delivery of the event instance.
  • Title: Tracking Message
    Maximum Length: 900
    The tracking message regarding delivery of the event instance. The tracking message contains details such as whether the event was accepted for delivery to subscribers.
Back to Top