Create a lightbox presentation session feedback item

post

/crmRestApi/resources/11.13.18.05/presentationSessionFeedback

Request

Header Parameters
  • This header accepts a string value. The string is a semi-colon separated list of =. It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers.
  • 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: Contact ID
    The unique identifier of the contact providing the feedback.
  • Title: Contact
    Maximum Length: 450
    The name of the contact providing the feedback.
  • Title: Currency
    Maximum Length: 30
    The currency code associated with presentation session feedback. A list of valid values are defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY.
  • Title: Document Title
    Maximum Length: 255
    The title of the Lightbox document.
  • Title: Version
    Maximum Length: 64
    The version of the Lightbox document for this feedback.
  • Title: Comment
    Maximum Length: 240
    The comment on the session feedback.
  • Title: Rating
    The rating of the session feedback.
  • Title: Document ID
    Maximum Length: 64
    The unique identifier of the Sales Lightbox document.
  • Title: Document Page ID
    Maximum Length: 64
    The unique identifier of the Lightbox document page. Optionally, you can use LightbocDocumentId and DocumentVersion to specify the document page. The value will be null when the session feedback for the entire document is requested.
  • Title: Page Sequence Number
    The page sequence number of the Lightbox document page. The value will be null when the session feedback for the entire document is requested.
  • Title: Page Title
    Maximum Length: 255
    The page title of the Lightbox document page. The value will be null when the session feedback for the entire document is requested.
  • Title: Session ID
    The unique identifier of the presentation session for this feedback.
  • Title: Feedback ID
    The unique identifier of the session feedback.
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 : presentationSessionFeedback-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to create a lightbox presentation session feedback item by submitting a POST request on the REST resource using cURL.

Create a lightbox presentation session feedback for a Lightbox document

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/presentationSessionFeedback

Example of Request Body

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

{
"PresentationSessionId":300100110457468,
"ContactId":300100049609065,
"LightboxDocumentId":"bc6c78fa-556a-4d31-86c1-0b522f539333",
"FeedbackRating":"3",
"FeedbackComment":"Good document!"
}

Example of Response Body

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

{
  "SessionFeedbackId": 300100110457880,
  "PresentationSessionId": 300100110457468,
  "SessionDate": "2017-02-15T16:30:00-08:00",
  "ContactId": 300100049609065,
  "ContactPartyNumber": "CDRM_79483",
  "ContactName": "Nicolas Cage",
  "ContactTitle": null,
  "ContactJobTitle": null,
  "LightboxDocumentId": "bc6c78fa-556a-4d31-86c1-0b522f539333",
  "FileName": "16x4 Template.pptx",
  "DocumentTitle": "16x4 Template",
  "PageCount": 7,
  "DocumentVersion": "1",
  "PageSequenceNumber": null,
  "LightboxDocumentPageId": null,
  "PageTitle": null,
  "FeedbackComment": "Good document!",
  "FeedbackRating": 3,
  "ActivityId": 300100110456944,
  "ActivitySubject": "Payload Examples",
  "AccountId": 1004,
  "AccountName": "Hilman and Associates",
  "AccountPartyNumber": "1004",
  "SessionOwnerId": 100010032752947,
  "SessionOwnerName": "Ryan,Katy",
  "SessionOwnerEmailAddress": "email@your_organization.com",
  "SessionOwnerTitle": null,
  "CreatedBy": "KRyan",
  "CreationDate": "2017-02-21T01:30:29-08:00",
  "LastUpdatedBy": "KRyan",
  "LastUpdateDate": "2017-02-21T01:30:30-08:00",
  "LastUpdateLogin": "490390FD885C4E55E053780CF10ADBC8",
  "CurrencyCode": "USD",
  "TotalTimeAttendeeViewedDocumentPage": 0,
  "TotalTimeAttendeeViewedDocument": 0,
  "TotalTimeAttendeeViewedSession": 0,
  "TotalTimeDocumentPresented": 0,
  "TotalTimeDocumentPagePresented": 0,
  "DeleteFlag": true,
  "UpdateFlag": true,
  "links": 
  ...
}

Create a lightbox presentation session feedback for a Lightbox document page

cURL Command

curl --basic --user user_name:passwd -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X POST -d https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/presentationSessionFeedback

Example of Request Body

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

{
"PresentationSessionId":300100110457468,
"ContactId":300100011501118,
"LightboxDocumentPageId":"19a8ff7d-8126-451d-b9fd-b934e0dfed92",
"FeedbackComment":"excellent diagram",
"FeedbackRating":"4"
}

Example of Response Body

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

{
  "SessionFeedbackId": 300100110457882,
  "PresentationSessionId": 300100110457468,
  "SessionDate": "2017-02-15T16:30:00-08:00",
  "ContactId": 300100011501118,
  "ContactPartyNumber": "CDRM_2897",
  "ContactName": "AFrst8282012101218183692 ALast8282012101218183693",
  "ContactTitle": null,
  "ContactJobTitle": null,
  "LightboxDocumentId": "bc6c78fa-556a-4d31-86c1-0b522f539333",
  "FileName": "16x4 Template.pptx",
  "DocumentTitle": "16x4 Template",
  "PageCount": 7,
  "DocumentVersion": "1",
  "PageSequenceNumber": 5,
  "LightboxDocumentPageId": "19a8ff7d-8126-451d-b9fd-b934e0dfed92",
  "PageTitle": "5 of 7",
  "FeedbackComment": "excellent diagram",
  "FeedbackRating": 4,
  "ActivityId": 300100110456944,
  "ActivitySubject": "Payload Examples",
  "AccountId": 1004,
  "AccountName": "Hilman and Associates",
  "AccountPartyNumber": "1004",
  "SessionOwnerId": 100010032752947,
  "SessionOwnerName": "Ryan,Katy",
  "SessionOwnerEmailAddress": "email@your_organization.com",
  "SessionOwnerTitle": null,
  "CreatedBy": "KRyan",
  "CreationDate": "2017-02-21T01:31:23-08:00",
  "LastUpdatedBy": "KRyan",
  "LastUpdateDate": "2017-02-21T01:31:23-08:00",
  "LastUpdateLogin": "490390FD885C4E55E053780CF10ADBC8",
  "CurrencyCode": "USD",
  "TotalTimeAttendeeViewedDocumentPage": 0,
  "TotalTimeAttendeeViewedDocument": 0,
  "TotalTimeAttendeeViewedSession": 0,
  "TotalTimeDocumentPresented": 0,
  "TotalTimeDocumentPagePresented": 0,
  "DeleteFlag": true,
  "UpdateFlag": true,
  "links": 
  ...
}
Back to Top