POST api/v2.0/Ideation/AddIdeaCategories
Add categories to an idea.
Request Information
URI Parameters
None.
Body Parameters
SetIdeaCategoriesRequestName | Description | Type | Additional information |
---|---|---|---|
IdeationKey |
Key of the idea. |
globally unique identifier |
Required |
IdeationCategoryKeys |
Category keys to add to the idea. |
Collection of globally unique identifier |
Required |
Request Formats
application/json, text/json
{ "IdeationKey": "0c51f833-df20-403f-88f3-eb6d77194925", "IdeationCategoryKeys": [ "aff6ee75-ef41-408d-b706-1afb4df84330", "b92e7f27-5b3e-452f-8b45-2f6ca3cd315c" ] }
application/xml, text/xml
<SetIdeaCategoriesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Ideation"> <IdeationCategoryKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>aff6ee75-ef41-408d-b706-1afb4df84330</d2p1:guid> <d2p1:guid>b92e7f27-5b3e-452f-8b45-2f6ca3cd315c</d2p1:guid> </IdeationCategoryKeys> <IdeationKey>0c51f833-df20-403f-88f3-eb6d77194925</IdeationKey> </SetIdeaCategoriesRequest>
Response Information
Resource Description
Idea updated
IdeaDetailsName | Description | Type | Additional information |
---|---|---|---|
IdeationKey |
Unique identifier of the idea. |
globally unique identifier |
None. |
Title |
Title of the idea. |
string |
None. |
Description |
Description of the idea. |
string |
None. |
LinkToViewIdea |
Direct link to view the idea on the main microsite. |
string |
None. |
Status |
Object containing information about the status of the idea. |
IdeaStatus |
None. |
Categories |
All categories the idea has been associated to. |
Collection of IdeaCategory |
None. |
TotalUpvotes |
Number of upvotes. |
integer |
None. |
TotalDownvotes |
Number of downvotes. |
integer |
None. |
HasOfficialComment |
True if this idea has an official comment from an admin. |
boolean |
None. |
Author |
Information about the author of the idea. |
ContactConcise |
None. |
IsAnonymous |
True if the idea was submitted anonymously. |
boolean |
None. |
CreatedOn |
DateTime the idea was created. |
date |
None. |
UpdatedOn |
Most recent DateTime the idea was updated. |
date |
None. |
AttachmentURLs |
Temporary URLs to view or download any attachments associated with the idea. |
Collection of IdeaAttachment |
None. |
Response Formats
application/json, text/json
{ "IdeationKey": "e9bead11-2598-4a5a-b308-9a1ead716129", "Title": "sample string 2", "Description": "sample string 3", "LinkToViewIdea": "sample string 4", "Status": null, "Categories": null, "TotalUpvotes": 5, "TotalDownvotes": 6, "HasOfficialComment": true, "Author": { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "6229f31c-af87-4d52-9c72-da6507aa19ef", "FirstName": "sample string 4", "LastName": "sample string 5", "DisplayName": "sample string 6", "EmailAddress": "sample string 7", "ContactStatusCode": "sample string 8", "PrefixCode": "sample string 9", "UpdatedOn": "2024-12-26T13:25:04.1378431Z", "UpdatedByContactKey": "08932806-ef6e-4a79-a6d4-8e1e7ae2cffa", "CompanyName": "sample string 12", "CompanyTitle": "sample string 13", "SuffixCode": "sample string 14", "Designation": "sample string 15", "LegacyContactKey": "sample string 16", "InformalName": "sample string 17", "MiddleName": "sample string 18", "IsCompany": true, "CompanyLegacyContactKey": "sample string 20", "AMSDirectoryOptOut": true, "HLDirectoryOptOut": true, "HLContactMeOptOut": true, "LargePictureUrl": "sample string 24", "AgreedToTermsDateTime": "2024-12-26T13:25:04.1378431Z" }, "IsAnonymous": true, "CreatedOn": "2024-12-26T13:25:04.1378431Z", "UpdatedOn": "2024-12-26T13:25:04.1378431Z", "AttachmentURLs": null }
application/xml
Sample not available.
text/xml
Sample not available.