Revision as of 20:07, September 29, 2015 by Jumunn (talk | contribs)
Jump to: navigation, search

ReportStandardResponseUsage FacebookSession

This operation is part of the Facebook Private Messaging API section of the Genesys Web Services REST API.

Overview

The purpose of this operation is to provide Standard Response data for Universal Contact Server (UCS) reporting. Every request associates Standard Response usage with a specific interaction. This helps administrators determine which Standard Responses are used most often, and so on.

Request URL /api/v2/me/facebooksession/{id}
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName ReportResponseTemplateUsage
responseTemplateId The location of the standardResponse.
responseType The way the response template was used. Possible values are: SystemAutoResponse, SuggestedResponseChoosen, AdministratorResponse, SuggestedResponsesIgnored, SuggestedResponseNotReceived. This is an optional parameter. If this is not provided in the request, the default value is SystemAutoResponse.


Sample

Request

POST api/v2/me/facebooksession/063JOIJjoIFJEW

If the Agent does not have a numeric value for employeeId this operation will not associate the agent with this usage entry.

You cannot report usage on Response Templates that are no longer valid (they have expired, not started yet, or not been approved)

{
  "operationName":"ReportResponseTemplateUsage",
  "responseTemplateId":"9a379217-8c06-4fae-b33b-36c94a54b58c",
  "usageType":"SystemAutoResponse"
}

Response

There is no response to process.

Comments or questions about this documentation? Contact us for support!