Email Transcript API

The Email Transcript API allows a messaging customer to receive a transcript of their conversation content via email.

You should not directly instantiate EmailTranscriptAPI class. Instead use init method with a block parameter, which returns an instance of EmailTranscriptAPI class.

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

You can use the following builder public properties to setup the parameters need to send this request to Nuance Messaging System.

Finally invoke EmailTranscriptAPI emailTranscript method to get a copy of trascript in email.

Public Methods
Public Properties
  • NSString* getStatusCode

    statusCode property has one of following values which denotes the status of this request.


    200: Request was accepted by server

    400: Request has incorrect parameters.

    403: User hasn't privileges to use api or to see requested site.

    500: Server error.


	 
	let email = EmailTranscriptAPI.init(block:{ (builder) in
		builder?.customerName = "your email address";
		builder?.customerAddress = "mithunjohny@gmail.com";
		
	 });
	 
	 email?.emailTranscript({ (success, error) in
	    if(error != nil) {
		
		} else {
		     
		})