POST (Header:PUT) api.ashx/v2/ideas/category.{json|xml}
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
Id | int | Request Body | Category Id | Required | ||
IdeationId | Guid | Request Body | Id of ideation | Required | ||
Name | string | Request Body | Plain text name of the category | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.put({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/ideas/category.json', data: { 'Id': '6', 'IdeationId': '49fec544-6df7-4a82-872b-f8be586d5e9e' } }).then(function(response) { // use response });
Example Responses
JSON
{ "IdeaCategory": { "Data": {}, "Errors": [ "string", "string" ], "Name": "name" }, "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <IdeaCategory> <Data /> <Errors> <string>string</string> <string>string</string> </Errors> <Name>name</Name> </IdeaCategory> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>