EmailTranscriptAPI

The purpose of the EmailTranscriptAPI is to allow the customer to receive a transcript of their conversation via email.

You should not directly instantiate the EmailTranscriptAPI class. Instead use the following EmailTranscriptBuilder builder class.

  1. Using the EmailTranscriptBuilder
  2. EmailTranscriptAPI methods
  3. Accessing Response
  4. Code Example
Public Methods

You can use the following builder public methods to setup the parameters needed to send the request to the Nuance Messaging System. The emailAddress API public methods must be called before you call the Builder instance build method.

To create an EmailTranscriptAPI object, you must invoke the Builder instance build method.

Public Methods
Public Methods
  • public int getStatusCode()

    getStatusCode method returns following values which denotes the status of this request.


    200: Request was accepted by server

    400: Request has incorrect parameters.

    403: The user does not have sufficient privileges to use the API or to access the requested site.

    500: Server error.



	 EmailTranscriptAPI emailTranscriptApi = EmailTranscriptAPI.builder().emailAddress("testaccount@gmail.com").build();
                emailTranscriptApi.sendTranscriptByEmail();