ICE Chat API

AddSurveyQuestion

This module has been designed to add a question to the survey. The Service URL of the module is given by the following link-

https://www.enterice.com/ICEAPI/api/ChatAdmin/AddSurveyQuestion

•Request Type-

Post

•Allowed for-

Admin

•Json Formats-

1. Code snippet for Web Service Use

AddSurveyQuestion

{

 “Token”:”sdfdsavcxdgdfFD”,

 “SurveyId”: 12,

 “QuestionTypeId”: 1,

 “Definition”: “Name”,

 “Required”: “true”,

 “textLength”: “50”,

 “Visible”:”true”,

 “SequenceNo”: 1

}

2. Description for Request Parameters-

S.No Name Type Description
1 Token String Authentication Token
2 SurveyId Int Id of survey
3 QuestionTypeId Int Id of question type
4 Definition String Description of question
5 Required Bit Required question or not
6 textLength Int Length of answer
7 Visible Bit Question visible or not
8 SequenceNo Int Sequence number of question

3. Response Example-

Success:

{ “Message”: ” Success”,

“QuestionId”:”123″

}

Fail:

{ “message”: ” Failed” }

    ×

    Contact Us