Get Details of a Favorite's Selected Option
get
/rest/v16/favorites/{rootId}/subItems/{subitemId}
This endpoint returns the details of a favorite's selected option.
Request
Supported Media Types
- application/json
Path Parameters
-
rootId(required): integer
The identifier for the parent favorite.
-
subitemId(required): integer
The identifier for the child of the parent favorite.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Favorite Items
Type:
object
Title:
Show Source
Favorite Items
-
configAttributes:
object Configuration Attributes
Title:
Configuration Attributes
Configuration Attributes holder -
dateAdded:
string
Title:
Date Added
System field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date Modified
System field indicating the date on which the Resource was last modified. -
id:
integer
Title:
Id
Primary Key of the resource -
isMandatory:
boolean
Title:
Is Mandatory
Mandatory item -
itemId:
string
Title:
Item Id
Id of the item -
itemName:
string
Title:
Item Name
Item Name -
label:
string
Title:
Favorite Name
Name of the favorite -
lineBomDisplayName:
string
Title:
Bom Display Name
Bom Display Name -
modelName:
string
Title:
Model Name
Model Name -
ownerUserEmail:
string
Title:
Owner User Email
Email of the Owner -
ownerUserFirstName:
string
Title:
Owner User First Name
First Name of the Owner -
ownerUserLastName:
string
Title:
Owner User Last Name
Last Name of the Owner -
parentId:
integer
Title:
Parent Id
Id of immediate parrent -
partProps:
object Part Properties
Title:
Part Properties
Part Properties JSON -
prefCurrencyName:
string
Title:
Prefered Currency Name
Name of prefered currency -
prefLanguageName:
string
Title:
Prefered Language Name
Name of prefered language -
price:
object Price
Title:
Price
total price -
priceBook:
object Price Book
Title:
Price Book
Associated Price Book -
productLineName:
string
Title:
Product Line Name
Product Line Name -
productType:
string
Title:
Product Type
Part or model name -
quantity:
integer
Title:
Quantity
Quantity -
refName:
string
Title:
Ref Name
Ref Name -
rootId:
integer
Title:
Root Id
Id of root favorite -
segmentName:
string
Title:
Segment Name
Product Family Name -
serialNumber:
object Serial Number
Title:
Serial Number
Serial Number -
serialNumberDescription:
object Serial Number Description
Title:
Serial Number Description
Serial Number Description -
status:
integer
Title:
Status
Status of captured favorite - is it needs any update action -
subType:
integer
Title:
Sub Type
Sub Type -
supplierCompanyId:
integer
Title:
Supplier Company Id
Supplier Company information -
supplierCompanyName:
string
Title:
Supplier Company Name
Name of the Supplier Company -
sysConfigPath:
string
Title:
System Configuration Path
System Configuration Path -
type:
integer
Title:
Type
Type -
typeSpecificAttrs:
object Type Specific Attributes
Title:
Type Specific Attributes
JSON of Type Specific Attributes -
userAddedFirstName:
string
Title:
User Added First Name
First Name of the user who created the record -
userAddedLastName:
string
Title:
User Added Last Name
Last Name of the user who created the record -
userModifiedFirstName:
string
Title:
User Modified First Name
First Name of the user who last modified the record -
userModifiedLastName:
string
Title:
User Modified Last Name
Last Name of the user who last modified the record
Nested Schema : Configuration Attributes
Type:
object
Title:
Configuration Attributes
Configuration Attributes holder
Nested Schema : Part Properties
Type:
object
Title:
Part Properties
Part Properties JSON
Nested Schema : Price
Type:
object
Title:
Price
total price
Show Source
-
currency:
string
Title:
currency
-
value:
number
Title:
value
Nested Schema : Price Book
Type:
object
Title:
Price Book
Associated Price Book
Show Source
-
name:
string
Title:
Name
Price book name -
variableName:
string
Title:
Variable Name
Unique name for price book
Nested Schema : Serial Number
Type:
object
Title:
Serial Number
Serial Number
Nested Schema : Serial Number Description
Type:
object
Title:
Serial Number Description
Serial Number Description
Nested Schema : Type Specific Attributes
Type:
object
Title:
Type Specific Attributes
JSON of Type Specific Attributes
Examples
The following example shows how to retrieve the details of a favorite's selected option by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/favorites/9100006903/subItems/9100006907
Response Body Sample
{ "type": 3, "lineBomDisplayName": "part12", "ownerUserEmail": "john.jones@oracle.com", "dateAdded": "2022-03-01T02:45:00.000Z", "ownerUserFirstName": "John", "userAddedFirstName": "John", "prefCurrencyName": "US Dollar", "serialNumberDescription": null, "priceBook": { "variableName": "_default_price_book", "name": "Base Price", "links": [{ "rel": "domain", "href": "https://sitename.oracle.com/rest/v16/priceBooks" }, { "rel": "canonical", "href": "https://sitename.oracle.com/rest/v16/priceBooks/_default_price_book" } ] }, "itemName": "part12", "prefLanguageName": "English", "price": { "value": 12.0, "currency": "USD" }, "id": 9100006907, "refName": "part12", "isMandatory": true, "serialNumber": null, "userModifiedLastName": null, "userModifiedFirstName": "John", "itemId": "8523095", "productLineName": null, "subType": 2, "status": 0, "supplierCompanyId": 4118171, "rootId": 9100006903, "typeSpecificAttrs": null, "configAttributes": null, "userAddedLastName": null, "sysConfigPath": "_root:::part12::0::0", "productType": "Part", "ownerUserLastName": null, "quantity": 1, "dateModified": "2022-03-01T02:48:15.000Z", "partProps": { "Part Number": "part12", "Part Lead Time": "N/A", "Part Description": "", "Line BOM Display Name": "part12", "Part Type (Custom Field 9)": "100K Parts", "String (Custom Field 1)": "String", "String Filter (Custom Field 4)": "", "Float (Custom Field 5)": "0.0", "Float Filter (Custom Field 6)": "0.0", "Integer (Custom Field 7)": "0", "SSM (Custom Field 2)": "Value 1 Label", "SSM Filter (Custom Field 8)": "", "MSM (Custom Field 16)": "", "MSM Filter (Custom Field 17)": "", "Page Specific Label (Custom Field 3)": "", "Required String (Custom Field 10)": "Custom Field 10, part12", "Required SSM (Custom Field 11)": "Required value", "Custom Field 13": "Custom Field 13, part12", "Custom Field 14": "Custom Field 14, part12", "Custom Field 15": "Custom Field 15, part12", "Custom Field 18": "Custom Field 18, part12", "Custom Field 19": "Custom Field 19, part12", "Custom Field 20": "Custom Field 20, part12", "Custom Field 21": "Custom Field 21, part12", "Custom Field 22": "Custom Field 22, part12", "Custom Field 23": "Custom Field 23, part12", "Custom Field 24": "Custom Field 24, part12", "Custom Field 25": "Custom Field 25, part12", "Custom Field 26": "Custom Field 26, part12", "Custom Field 27": "Custom Field 27, part12", "Custom Field 30": "Custom Field 30, part12" }, "label": "Part", "parentId": 9100006903, "segmentName": null, "modelName": null, "supplierCompanyName": "abcCompany", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v16/favorites/9100006903/subItems/9100006907" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v16/favorites/9100006903" } ] }