Update an idea

patch

/fscmRestApi/resources/11.13.18.05/ideas/{IdeaId}

Request

Path Parameters
Header Parameters
  • 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".
  • 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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Maximum Length: 1
    Default Value: Y
    Contains 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.
  • Idea Attachments
    Title: Idea Attachments
    The Idea Attachments resource manages the attachments for an idea.
  • Total number of comments on the idea.
  • Title: Description
    Detailed description of the idea along with pictures and images.
  • Title: Description
    Description of the idea.
  • 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.
  • Idea Comments
    Title: Idea Comments
    The Idea Comments resource manages the comments for an idea.
  • Idea Team Members
    Title: Idea Team Members
    The Idea Team Members resource manages the users who are authorized to access the idea.
  • Idea Votes
    Title: Idea Votes
    The Idea Votes resource manages the votes for an idea. The values are Like or Dislike.
  • Value that indicates the number of users who have liked the idea.
  • Title: Idea
    Maximum Length: 400
    Name of the idea.
  • Total number of users that have voted No.
  • Title: Object Version Number
    Number that identifies the version of the record in the database.
  • Value that indicates the popularity of the idea.
  • Title: References
    Value that indicates the count of references for an idea. The references to an idea are typically other objects that are linked to this idea.
  • Title: Status
    Maximum Length: 30
    Status 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.
  • Title: Type
    Maximum Length: 80
    Value 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.
  • Total number of users that have voted Yes.
Nested Schema : Idea Attachments
Type: array
Title: Idea Attachments
The Idea Attachments resource manages the attachments for an idea.
Show Source
Nested Schema : Idea Comments
Type: array
Title: Idea Comments
The Idea Comments resource manages the comments for an idea.
Show Source
Nested Schema : Idea Team Members
Type: array
Title: Idea Team Members
The Idea Team Members resource manages the users who are authorized to access the idea.
Show Source
Nested Schema : Idea Votes
Type: array
Title: Idea Votes
The Idea Votes resource manages the votes for an idea. The values are Like or Dislike.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : ideas-IdeaComment-item-patch-request
Type: object
Show Source
Nested Schema : ideas-IdeaTeam-item-patch-request
Type: object
Show Source
Nested Schema : ideas-IdeaVote-item-patch-request
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : ideas-item-response
Type: object
Show Source
Nested Schema : Idea Attachments
Type: array
Title: Idea Attachments
The Idea Attachments resource manages the attachments for an idea.
Show Source
Nested Schema : Idea Comments
Type: array
Title: Idea Comments
The Idea Comments resource manages the comments for an idea.
Show Source
Nested Schema : Idea Team Members
Type: array
Title: Idea Team Members
The Idea Team Members resource manages the users who are authorized to access the idea.
Show Source
Nested Schema : Idea Votes
Type: array
Title: Idea Votes
The Idea Votes resource manages the votes for an idea. The values are Like or Dislike.
Show Source
Nested Schema : ideas-Attachments-item-response
Type: object
Show Source
Nested Schema : ideas-IdeaComment-item-response
Type: object
Show Source
Nested Schema : ideas-IdeaTeam-item-response
Type: object
Show Source
Nested Schema : ideas-IdeaVote-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to update one idea.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/ideas/IdeaId"

Example Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

 {
  "Name" : "NEW_NAME_FOR_IDEA", 
  "ObjectVersionNumber" : ObjectVersionNumber}

Example Response Body

The following example includes the contents of the response body in JSON format:

{
  "IdeaId" : 300100155534416,
  "Type" : "IDEA",
  "TypeDisplayValue" : "Idea",
  "Name" : "88Idea_New",
  "CreatedBy" : "PRODUCT_MANAGER",
  "ObjectVersionNumber" : 2,
  "CreationDate" : "2018-08-08T10:27:21+00:00",
  "LastUpdateDate" : "2018-08-08T10:30:46.087+00:00",
  "LastUpdatedBy" : "PRODUCT_MANAGER",
  "Status" : "New_Rejected",
  "StatusDisplayValue" : "New_Rejected",
  "LastUpdateLogin" : "72EAA5D819AB1067E05368BFF20AD98E",
  "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,
  "MIB_WS_IDEA_TEXT01_c" : "Text Default",
  "MIB_WS_IDEA_NUMERIC01_c" : 11,
  "MIB_WS_IDEA_DATE01_c" : "2018-02-04",
  "MIB_WS_IDEA_LIST01_c" : "LAPTOP",
  "links" : [ {
    "rel" : "self",
    "href" : "https://servername/fscmRestApi/resources/version/ideas/300100155534416",
    "name" : "ideas",
    "kind" : "item",
    "properties" : {
      "changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
    }
  }, {
    "rel" : "canonical",
    "href" : "https://servername/fscmRestApi/resources/version/ideas/300100155534416",
    "name" : "ideas",
    "kind" : "item"
  }, {
    "rel" : "lov",
    "href" : "https://servername/fscmRestApi/resources/version/ideas/300100155534416/lov/IdeaStatusLookup",
    "name" : "IdeaStatusLookup",
    "kind" : "collection"
  }, {
    "rel" : "lov",
    "href" : "https://servername/fscmRestApi/resources/version/ideas/300100155534416/lov/LOVVA_For_MIB_WS_IDEA_LIST01_c",
    "name" : "LOVVA_For_MIB_WS_IDEA_LIST01_c",
    "kind" : "collection"
  }, {
    "rel" : "lov",
    "href" : "https://servername/fscmRestApi/resources/version/ideas/300100155534416/lov/IdeaTypeForSearchLOV",
    "name" : "IdeaTypeForSearchLOV",
    "kind" : "collection"
  }, {
    "rel" : "child",
    "href" : "https://servername/fscmRestApi/resources/version/ideas/300100155534416/child/IdeaComment",
    "name" : "IdeaComment",
    "kind" : "collection"
  }, {
    "rel" : "child",
    "href" : "https://servername/fscmRestApi/resources/version/ideas/300100155534416/child/Attachments",
    "name" : "Attachments",
    "kind" : "collection"
  }, {
    "rel" : "child",
    "href" : "https://servername/fscmRestApi/resources/version/ideas/300100155534416/child/IdeaVote",
    "name" : "IdeaVote",
    "kind" : "collection"
  }, {
    "rel" : "enclosure",
    "href" : "https://servername/fscmRestApi/resources/version/ideas/300100155534416/enclosure/Content",
    "name" : "Content",
    "kind" : "other"
  } ]
}
Back to Top