ICE Email APIs

Compose Email

The module helps to compose email. The Service URL of the module is given by the following link-

https://www.enterice.com/ICEAPI/api/Email/ComposeEmail

•Allowed for-

Agent

•Json Formats-

1. Code snippet for Web Service Use-

ComposeEmail(SendTicketResponse)

Note: Pass below input parameters as form-data

“Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdpZCI6MTI4LCJ1c2VybmFtZSI6ImFAYS5jb20iLCJleHAiOjE0ODI3OTUzNDF9.DxqNpmQ4SemX5C0URnE0hrhc_dtThHJfSfuB0eiEh24”

“MailboxID”:25,

 “To”:”steve.robins@etechtexas.com“,

 “Cc”:””,

 “Bcc”:””,

 “Subject”:”Regarding-Closing my Account”,

 “BodyDetail”:”Please close my account.”,

 “HasAttachment”: “1”,

 “UserID”:”654″,

 “OrgID”:”59″,

 “File “: “file.docx”

  Note:Pass actual file as input.

2. Description for Request Parameters-

S.No Name Type Description
1 MailboxID Int Id of mail box
2 To String To email Id
3 Cc String Cc email Id
4 Bcc String Bcc email Id
5 Subject String Subject of email
6 BodyDetail String Body of email
7 HasAttachment Bit Check if attachment exists or not
8 UserID Int Id of user
9 OrgID Int Id of organization
10 File File File has an attachment
11 Token String Authentication Token

3. Response Example-

Success:

{

“Message”:”Email has been sent successfully”

}

Fail:

{“Message”:”The request is invalid.”}

 

    ×

    Contact Us