PUT api/Survey/GetSurveys
Request Information
URI Parameters
None.
Body Parameters
APISurveyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UserUniqueId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UserUniqueId": 2
}
application/xml, text/xml
Sample:
<APISurveyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>1</CustomerId> <UserUniqueId>2</UserUniqueId> </APISurveyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APISurveyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of APISurvey |
None. |
|
| Status | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"List": [
{
"Id": 1,
"Title": "sample string 2",
"Description": "sample string 3"
},
{
"Id": 1,
"Title": "sample string 2",
"Description": "sample string 3"
}
],
"Status": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<APISurveyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<List>
<APISurvey>
<Description>sample string 3</Description>
<Id>1</Id>
<Title>sample string 2</Title>
</APISurvey>
<APISurvey>
<Description>sample string 3</Description>
<Id>1</Id>
<Title>sample string 2</Title>
</APISurvey>
</List>
<Message>sample string 2</Message>
<Status>true</Status>
</APISurveyResponse>