Get all Lightbox presentation sessions
get
/crmRestApi/resources/11.13.18.05/presentationSessions
Request
Query Parameters
-
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- MyPresentationSessionsRF: Finds the Lightbox presentation sessions created by the current user.
Finder Variables: - PresentationSessionSearchRF: Finds the Lightbox presentation sessions by the specified primary key.
Finder Variables:- BindAccountId; integer; The unique identifier of the account.
- BindActivityId; integer; The unique identifier of the activity.
- BindSessionDateFrom; string; Finds a Lightbox presentation session from the earliest specified date.
- BindSessionDateTo; string; Finds a Lightbox presentation session up to the latest specified date.
- BindSessionOwnerId; integer; The unique identifier of the owner.
- PrimaryKey: Finds a Lightbox presentation session by the specified primary key.
Finder Variables:- PresentationSessionId; integer; The unique identifier of the Lightbox presentation session.
- MyPresentationSessionsRF: Finds the Lightbox presentation sessions created by the current user.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2
You can use these queryable attributes to filter this collection resource using the q query parameter:- AccountId; integer; The unique identifier of the account for which the presentation session was conducted. The default value is obtained from Activity unless specified during create.
- AccountName; string; The name of the account for which the presentation session was conducted.
- AccountPartyNumber; string; The registry identifier for the account for which the presentation session was conducted.
- ActivityAccountId; integer; The unique identifier of the activity account. This attribute is not available for ad-hoc presentation sessions.
- ActivityAccountName; string; The name of the activity account for the presentation session. This attribute is not available for ad-hoc presentation sessions.
- ActivityAccountPartyNumber; string; The registry identifier for the activity account for the presentation session. This attribute is not available for ad-hoc presentation sessions.
- ActivityId; integer; The unique identifier of the activity for the presentation session.
- ActivityNumber; string; The activity number for the presentation session.
- ActivitySubject; string; The subject of the activity for the presentation session.
- CreatedBy; string; The user who created the record.
- CreationDate; string; The date when the record was created.
- LastUpdateDate; string; The date when the record was last updated.
- LastUpdateLogin; string; The login of the user who last updated the record.
- LastUpdatedBy; string; The user who last updated the record.
- PresentationSessionId; integer; The unique identifier of the Lightbox presentation session.
- SessionDate; string; The date and time when the Lightbox presentation session was conducted. The default value is obtained from Activity unless specified during create.
- SessionOwnerEmailAddress; string; The e-mail address of the owner of the presentation session.
- SessionOwnerId; integer; The unique identifier of the owner of the presentation session. This person is the primary presenter of Lightbox documents. The default value is obtained from the user's PartyId unless specified during create.
- SessionOwnerName; string; The name of the owner of the presentation session.
- SessionOwnerTitle; string; The title of the owner of the presentation session.
- TotalSessionDisplayDuration; number; The summed duration of all presentation session display events of all Lightbox document pages presented during the presentation session. The value is in seconds.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
-
Metadata-Context: string
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".
-
REST-Framework-Version: string
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.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : presentationSessions
Type:
Show Source
object-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
ItemsThe items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
LinksThe link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : presentationSessions-item-response
Type:
Show Source
object-
AccountId: integer
(int64)
Title:
Account IDThe unique identifier of the account for which the presentation session was conducted. The default value is obtained from Activity unless specified during create. -
AccountName: string
Title:
AccountMaximum Length:360The name of the account for which the presentation session was conducted. -
AccountPartyNumber: string
Title:
Registry IDRead Only:trueMaximum Length:30The registry identifier for the account for which the presentation session was conducted. -
ActivityAccountId: integer
(int64)
Title:
Activity Account IDRead Only:trueThe unique identifier of the activity account. This attribute is not available for ad-hoc presentation sessions. -
ActivityAccountName: string
Title:
Activity AccountRead Only:trueMaximum Length:900The name of the activity account for the presentation session. This attribute is not available for ad-hoc presentation sessions. -
ActivityAccountPartyNumber: string
Title:
Activity Registry IDRead Only:trueMaximum Length:30The registry identifier for the activity account for the presentation session. This attribute is not available for ad-hoc presentation sessions. -
ActivityId: integer
(int64)
Title:
Activity IDThe unique identifier of the activity for the presentation session. -
ActivityNumber: string
Title:
Activity NumberRead Only:trueMaximum Length:64The activity number for the presentation session. -
ActivitySubject: string
Title:
SubjectRead Only:trueMaximum Length:500The subject of the activity for the presentation session. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
DeleteFlag: boolean
Read Only:
trueIndicates whether the record can be deleted. The default value is true. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login of the user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PresentationSessionId: integer
(int64)
Title:
Session IDThe unique identifier of the Lightbox presentation session. -
sessionAttendanceEvents: array
Presentation Session Attendance Events
Title:
Presentation Session Attendance EventsThe presentation session attendance events resource is used to view and create the event attendance. Presentation session events attendance is used to keep track of the audience who attended a session when a Lightbox document was displayed. -
SessionDate: string
(date-time)
Title:
Session DateThe date and time when the Lightbox presentation session was conducted. The default value is obtained from Activity unless specified during create. -
sessionDisplayEvents: array
Presentation Session Display Events
Title:
Presentation Session Display EventsThe presentation session display events resource is used to view and create the display events. Display events log the start and stop times during which a Lightbox document page was displayed during a presentation session. -
SessionOwnerEmailAddress: string
Title:
Owner Primary EmailRead Only:trueMaximum Length:320The e-mail address of the owner of the presentation session. -
SessionOwnerId: integer
(int64)
Title:
Session Owner IDThe unique identifier of the owner of the presentation session. This person is the primary presenter of Lightbox documents. The default value is obtained from the user's PartyId unless specified during create. -
SessionOwnerName: string
Title:
Owner NameRead Only:trueMaximum Length:360The name of the owner of the presentation session. -
SessionOwnerTitle: string
Title:
Owner TitleRead Only:trueMaximum Length:60The title of the owner of the presentation session. -
TotalSessionDisplayDuration: number
Title:
Total Session Display DurationRead Only:trueDefault Value:1The summed duration of all presentation session display events of all Lightbox document pages presented during the presentation session. The value is in seconds. -
UpdateFlag: boolean
Read Only:
trueIndicates whether the record can be updated. The default value is true.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Presentation Session Attendance Events
Type:
arrayTitle:
Presentation Session Attendance EventsThe presentation session attendance events resource is used to view and create the event attendance. Presentation session events attendance is used to keep track of the audience who attended a session when a Lightbox document was displayed.
Show Source
Nested Schema : Presentation Session Display Events
Type:
arrayTitle:
Presentation Session Display EventsThe presentation session display events resource is used to view and create the display events. Display events log the start and stop times during which a Lightbox document page was displayed during a presentation session.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : presentationSessions-sessionAttendanceEvents-item-response
Type:
Show Source
object-
AttendanceEventId: integer
(int64)
Title:
Attendance Event IDThe unique identifier of the attendance event. -
AttendanceEventStartTime: string
(date-time)
Title:
Attendance Event Start TimeThe start time for the attendance event. -
AttendanceEventStopTime: string
(date-time)
Title:
Attendance Event Stop TimeThe stop time for the attendance event. -
AttendeeId: integer
(int64)
Title:
Attendee IDThe unique identifier of the attendee. -
ContactId: integer
Title:
Contact IDThe unique identifier of the contact. -
ContactName: string
Title:
ContactRead Only:trueMaximum Length:450The name of the contact for the attendance event. -
ContactPartyNumber: string
Title:
Party NumberRead Only:trueMaximum Length:30The party number of the contact. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login of the user who last updated the record. -
LightboxDocumentId: string
Title:
Document IDMaximum Length:64The unique identifier of the Lightbox document. -
LightboxDocumentPageId: string
Title:
Document Page IDThe unique identifier of the Lightbox document page. The value is obtained from LightboxDocumentId, DocumentVersion and PageSequenceNumber unless specified during create. -
LightboxDocumentVersion: string
Title:
VersionMaximum Length:64The version of the Lightbox document. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PageSequenceNumber: integer
(int32)
Title:
Page Sequence NumberThe page sequence number of the Lightbox document page. -
PresentationSessionId: string
Title:
Session IDMaximum Length:1000The unique identifier of the presentation session.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : presentationSessions-sessionDisplayEvents-item-response
Type:
Show Source
object-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
DisplayEventId: integer
(int64)
Title:
Display Event IDThe unique identifier of the presentation session display event. -
DisplayEventStartTime: string
(date-time)
Title:
Display Event Start TimeThe start time for the display event. -
DisplayEventStopTime: string
(date-time)
Title:
Display Event Stop TimeThe stop time for the display event. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login of the user who last updated the record. -
LightboxDocumentId: string
Title:
Document IDMaximum Length:64The unique identifier of the Lightbox document. -
LightboxDocumentPageId: string
Title:
Document Page IDThe unique identifier of the Lightbox document page. The value is obtained from LightboxDocumentId, DocumentVersion and PageSequenceNumber unless specified during create. -
LightboxDocumentVersion: string
Title:
VersionMaximum Length:64The version of the Lightbox document. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PageSequenceNumber: integer
(int32)
Title:
Page Sequence NumberThe page sequence number of the Lightbox document page. -
PresentationSessionId: string
Title:
Session IDMaximum Length:1000The unique identifier of the presentation session.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Examples
The following example shows how to get all Lightbox presentation sessions by submitting a GET request on the REST resource using cURL.
cURL Command
curl -u <username:password> \ -X GET https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/presentationSessions
Example of Response Body
The following example shows the contents of the response body in JSON format.
{
"items": [
{
"PresentationSessionId": 300100089786735,
"SessionDate": "2017-02-21T05:48:17+00:00",
"ActivityId": null,
"ActivitySubject": null,
"ActivityNumber": null,
"AccountId": null,
"AccountName": null,
"AccountPartyNumber": null,
"ActivityAccountId": null,
"ActivityAccountName": null,
"ActivityAccountPartyNumber": null,
"SessionOwnerId": 100010032752947,
"SessionOwnerName": "Ryan,Katy",
"SessionOwnerEmailAddress": "email@your_organization.com",
"SessionOwnerTitle": null,
"CreatedBy": "KRyan",
"CreationDate": "2017-02-21T05:48:27+00:00",
"LastUpdateDate": "2017-02-21T05:48:27+00:00",
"LastUpdateLogin": "4904EDC6284F3784E0533DD7F00A5CB2",
"LastUpdatedBy": "KRyan",
"TotalSessionDisplayDuration": null,
"DeleteFlag": true,
"UpdateFlag": true,
"links":
...
},
{
"PresentationSessionId": 300100089786740,
"SessionDate": "2017-02-16T00:30:00+00:00",
"ActivityId": 300100089786738,
"ActivitySubject": "Payload Examples",
"ActivityNumber": "CDRM_56153",
"AccountId": 1004,
"AccountName": "Hilman and Associates",
"AccountPartyNumber": "1004",
"ActivityAccountId": 1004,
"ActivityAccountName": "Hilman and Associates US)",
"ActivityAccountPartyNumber": "1004",
"SessionOwnerId": 100010032752947,
"SessionOwnerName": "Ryan,Katy",
"SessionOwnerEmailAddress": "email@your_organization.com",
"SessionOwnerTitle": null,
"CreatedBy": "KRyan",
"CreationDate": "2017-02-21T06:07:55+00:00",
"LastUpdateDate": "2017-02-21T06:07:55+00:00",
"LastUpdateLogin": "4904EDC6284F3784E0533DD7F00A5CB2",
"LastUpdatedBy": "KRyan",
"TotalSessionDisplayDuration": null,
"DeleteFlag": true,
"UpdateFlag": true,
"links":
...
}
],
"count": 2,
"hasMore": false,
"limit": 25,
"offset": 0,
"links":
...
}