Get one idea
get
/fscmRestApi/resources/11.13.18.05/ideas/{IdeaId}
Request
Path Parameters
-
IdeaId(required): integer(int64)
Value that uniquely identifies an idea.
Query Parameters
-
dependency: string
This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2
Format: <attr1>=<val1>,<attr2>=<value2> -
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : ideas-item-response
Type:
Show Source
object-
AllowAccesstoEveryone: string
Maximum Length:
1Default Value:YContains one of the following values: true or false. If true, then access is allowed for all users. If false, then access is not allowed for all users. The default value is false. -
Attachments: array
Idea Attachments
Title:
Idea AttachmentsThe Idea Attachments resource manages the attachments for an idea. -
CommentsCnt: integer
Total number of comments on the idea.
-
CommentsCount: integer
Read Only:
trueTotal number of comments. -
Content: string
(byte)
Title:
DescriptionDetailed description of the idea along with pictures and images. -
CreatedBy: string
Title:
Posted ByRead Only:trueMaximum Length:64User who created the idea. -
CreationDate: string
(date-time)
Title:
Posted OnRead Only:trueDate and time when the user created the idea. -
Customers: string
Title:
CustomersRead Only:trueList of customers who have provided the idea. -
Description: string
Title:
DescriptionDescription of the idea. -
DisLikeCount: integer
(int64)
Read Only:
trueTotal number of users who have disliked the idea. -
HasMyVote: boolean
Contains one of the following values: true or false. If true, then the user has voted in favor of the idea. If false, then the user has not voted in favor of the idea. The default value is false.
-
IdeaComment: array
Idea Comments
Title:
Idea CommentsThe Idea Comments resource manages the comments for an idea. -
IdeaId: integer
(int64)
Value that uniquely identifies an idea.
-
IdeaNumber: string
Title:
NumberRead Only:trueMaximum Length:100Number that uniquely identifies the idea. -
IdeaTeam: array
Idea Team Members
Title:
Idea Team MembersThe Idea Team Members resource manages the users who are authorized to access the idea. -
IdeaVote: array
Idea Votes
Title:
Idea VotesThe Idea Votes resource manages the votes for an idea. The values are Like or Dislike. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueDate and time when the user most recently updated the idea. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64User who most recently updated the idea. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32Login session associated with the login of the user who most recently updated the idea. -
LikeCount: integer
Read Only:
trueTotal number of users who have liked the idea. -
LikeIt: integer
Value that indicates the number of users who have liked the idea.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Name: string
Title:
IdeaMaximum Length:400Name of the idea. -
NoVoteCnt: integer
Total number of users that have voted No.
-
ObjectVersionNumber: integer
(int32)
Title:
Object Version NumberNumber that identifies the version of the record in the database. -
Popularity: integer
Value that indicates the popularity of the idea.
-
ReferencesCnt: integer
Title:
ReferencesValue that indicates the count of references for an idea. The references to an idea are typically other objects that are linked to this idea. -
Status: string
Title:
StatusMaximum Length:30Status of the idea. Review and update the value for this attribute using the Setup and Maintenance work area, and the Manage Product Idea Statuses task. -
StatusDisplayValue: string
Read Only:
trueName of the status associated with the idea. -
Tags: string
Title:
TagsRead Only:trueAlternate names or other values provided by users for the idea. -
Type: string
Title:
TypeMaximum Length:80Value that indicates the type of idea. Review and update the value for this attribute using the Setup and Maintenance work area, and the Manage Product Idea Classes task. -
TypeDisplayValue: string
Read Only:
trueName of the type of idea. -
VoteSummaryAsText: string
Title:
Vote SummaryRead Only:trueSummary text of the vote on the idea. -
YesVoteCnt: integer
Total number of users that have voted Yes.
Nested Schema : Idea Attachments
Type:
arrayTitle:
Idea AttachmentsThe Idea Attachments resource manages the attachments for an idea.
Show Source
Nested Schema : Idea Comments
Type:
arrayTitle:
Idea CommentsThe Idea Comments resource manages the comments for an idea.
Show Source
Nested Schema : Idea Team Members
Type:
arrayTitle:
Idea Team MembersThe Idea Team Members resource manages the users who are authorized to access the idea.
Show Source
Nested Schema : Idea Votes
Type:
arrayTitle:
Idea VotesThe Idea Votes resource manages the votes for an idea. The values are Like or Dislike.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : ideas-Attachments-item-response
Type:
Show Source
object-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAn identifier used for tracking the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:255User who created the attachment. -
CreatedByUserName: string
Title:
Created By User NameRead Only:trueLogin that the user used when creating the attachment for the specification. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the user created the attachment record. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type of the attachment. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Repository folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the contents in the attachment expire. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048File name of the attachment. -
FileUrl: string
Title:
File UrlURL (Uniform Resource Locator) of the attached file. -
FileWebImage: string
(byte)
Title:
File Web ImageRead Only:trueThe base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate and time when the user most recently updated the attached document. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:255User who most recently updated the attached document. -
LastUpdatedByUserName: string
Title:
Last Updated By UserRead Only:trueLogin that the user used when updating the attachment for the specification. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeLength of the attached file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attached file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000URI (Uniform Resource Identifier) of the attachment. -
Url: string
Title:
UrlMaximum Length:4000URL (Uniform Resource Locator) of the attachment. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255Login that the user used when adding the attachment.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : ideas-IdeaComment-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the comment. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the comment record. -
DisplayName: string
Read Only:
trueDisplay name of the user who added the comment. -
IdeaComment: string
(byte)
Text that describes the comment.
-
IdeaCommentId: integer
(int64)
Value that uniquely identifies the comment.
-
IdeaId: integer
(int64)
Value that uniquely identifies the idea.
-
IdeaName: string
Read Only:
trueName of the idea. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the comment. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the comment. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Number that identifies the version of the record in the database.
-
PersonId: integer
Read Only:
trueValue that uniquely identifies the user. -
UserName: string
Read Only:
trueMaximum Length:100Login that the user used when adding the comment.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : ideas-IdeaTeam-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the team member. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the team member. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the team member. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the team member. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
UserId: integer
(int64)
Value that uniquely identifies the user, who is a team member.
-
UserName: string
Name of the user, who is a team member.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : ideas-IdeaVote-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the vote. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the vote. -
IdeaId: integer
(int64)
Value that uniquely identifies the idea.
-
IdeaName: string
Read Only:
trueName of the idea. -
IdeaVoteId: integer
(int64)
Value that uniquely identifies the vote.
-
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the vote. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the vote. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Number that identifies the version of the vote in the database.
-
UserName: string
Maximum Length:
100Login that the user used when adding the vote. -
Vote: string
Maximum Length:
1Value that indicates whether the user liked the idea or not.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- Attachments
-
Parameters:
- IdeaId:
$request.path.IdeaId
The Idea Attachments resource manages the attachments for an idea. - IdeaId:
- IdeaComment
-
Parameters:
- IdeaId:
$request.path.IdeaId
The Idea Comments resource manages the comments for an idea. - IdeaId:
- IdeaTeam
-
Parameters:
- IdeaId:
$request.path.IdeaId
The Idea Team Members resource manages the users who are authorized to access the idea. - IdeaId:
- IdeaVote
-
Parameters:
- IdeaId:
$request.path.IdeaId
The Idea Votes resource manages the votes for an idea. The values are Like or Dislike. - IdeaId:
Examples
This example describes how to get one idea.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -u username:password "https://servername/fscmRestApi/resources/version/ideas/IdeaId"
For example, the following command gets one idea:
curl -u username:password "https://servername/fscmRestApi/resources/version/ideas/300100240921318"
Example Response Body
The following shows an example of the response body in JSON format.
{
"IdeaId": 300100240921318,
"Type": "New_Product",
"TypeDisplayValue": "New Product",
"Name": "Flying-Bike-Idea-202012110938",
"CreatedBy": "PRODUCT_MANAGER",
"ObjectVersionNumber": 1,
"CreationDate": "2020-12-11T08:42:25+00:00",
"LastUpdateDate": "2020-12-11T08:42:26.531+00:00",
"LastUpdatedBy": "PRODUCT_MANAGER",
"Status": "New_Rejected",
"StatusDisplayValue": "New_Rejected",
"LastUpdateLogin": "B6177046A48AB950E053D48DF50AAD04",
"VoteSummaryAsText": "0% like it 0 out of 0",
"AllowAccesstoEveryone": "Y",
"Description": null,
"Tags": "",
"YesVoteCnt": null,
"NoVoteCnt": null,
"LikeIt": 0,
"ReferencesCnt": 0,
"Popularity": 0,
"HasMyVote": "true",
"CommentsCnt": null,
"Customers": "",
"CommentsCount": 0,
"LikeCount": 0,
"DisLikeCount": 0,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/ideas/300100240921318",
"name": "ideas",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/ideas/300100240921318",
"name": "ideas",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/ideas/300100240921318/child/Attachments",
"name": "Attachments",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/ideas/300100240921318/child/IdeaComment",
"name": "IdeaComment",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/ideas/300100240921318/child/IdeaTeam",
"name": "IdeaTeam",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/ideas/300100240921318/child/IdeaVote",
"name": "IdeaVote",
"kind": "collection"
},
{
"rel": "enclosure",
"href": "https://servername/fscmRestApi/resources/version/ideas/300100240921318/enclosure/Content",
"name": "Content",
"kind": "other"
}
]
}