GET api/feedback/{feedbackTypeId}/categories
Returns feedback categories from server against provided feedback type Id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
feedbackTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns
Collection of FeedbackCategoryName | Description | Type | Additional information |
---|---|---|---|
Name |
Gets or sets category name |
string |
None. |
Description |
Gets or sets category description |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "name": "sample string 1", "description": "sample string 2" }, { "name": "sample string 1", "description": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfFeedbackCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <FeedbackCategory> <Description>sample string 2</Description> <Name>sample string 1</Name> </FeedbackCategory> <FeedbackCategory> <Description>sample string 2</Description> <Name>sample string 1</Name> </FeedbackCategory> </ArrayOfFeedbackCategory>