Create a Lightbox presentation session display event

post

/crmRestApi/resources/11.13.18.05/presentationSessions/{PresentationSessionId}/child/sessionDisplayEvents

Request

Path Parameters
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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
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 : presentationSessions-sessionDisplayEvents-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to create a Lightbox presentation session display event by submitting a POST request on the REST resource using cURL.

cURL Command

curl -u <username:password> \ -X POST -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/presentationSessions/300100110457468/child/sessionDisplayEvents

Example of Request Body

The following shows an example of the request body in JSON format.

{
"LightboxDocumentId":"bc6c78fa-556a-4d31-86c1-0b522f539333",
"PageSequenceNumber":4,
"DisplayEventStartTime":"2017-02-21T04:08:09",
"DisplayEventStopTime":"2017-02-21T04:59:20"
}

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
  "DisplayEventId": 300100110471627,
  "PresentationSessionId": "300100110457468",
  "LightboxDocumentId": "bc6c78fa-556a-4d31-86c1-0b522f539333",
  "LightboxDocumentPageId": "d1a5d658-49bd-4961-ad3c-4ccfd748bfcd",
  "LightboxDocumentVersion": "1",
  "PageSequenceNumber": 4,
  "DisplayEventStartTime": "2017-02-20T20:08:09-08:00",
  "DisplayEventStopTime": "2017-02-20T20:59:20-08:00",
  "CreatedBy": "KRyan",
  "CreationDate": "2017-02-21T03:20:21-08:00",
  "LastUpdateDate": "2017-02-21T03:20:21-08:00",
  "LastUpdateLogin": "4904BE299F5E24C4E053780CF10A4363",
  "LastUpdatedBy": "KRyan",
  "links": 
  ...
}
Back to Top