ICE Email APIs

Create Response Template

The module helps to create auto response template. The Service URL of the module is given through the following link-

https://www.enterice.com/ICEAPI/api/EmailAdmin/CreateResponseTemplate

•Allowed for-

Admin

•Json Formats-

1. Code snippet for Web Service Use-

CreateResponseTemplate

{

 “OrgId”: 59,

 “SkillId”: 331,

 “TemplateId”: 1,

 “Name”: “Acknowledgement Email”,

 “Description”: “Acknowledgement Email”,

 “Subject”: “Acknowledgement Email”,

 “HTMLText”: “Thank you for the email.”,

 “PlainText”: “Thank you for the email.”,

 “Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdpZCI6MTI4LCJ1c2VybmFtZSI6ImFkbWluQHRlc3QuY29tIiwiZXhwIjoxNDgyMjQ4NjEyfQ.QPFE4_KVrbVPcGauASfjyWrABIF_vVs9ENf4qPYYHB0”

}

2. Description for Request Parameters-

S.No Name Type Description
1 Token String Authentication Token
2 OrgId Int Id of Organization
3 SkillId Int Id of skill
4 TemplateId Int Id of template
5 Name String Name of auto response template
6 Description String Description of auto response template
7 Subject String Subject of auto response template
8 HTMLText String Html text of auto response template
9 Plaintext String Plain text of auto response text

3. Response Example-

Success:

{ “Message”: ” Success”,

“ResponseTemplateId”:51

}

Fail:

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

    ×

    Contact Us