Get Details of a Favorite's Selected Option
get
/rest/v19/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:
objectTitle:
Show Source
Favorite Items-
configAttributes:
object Configuration Attributes
Title:
Configuration AttributesConfiguration Attributes holder -
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
id:
integer
Title:
IdPrimary Key of the resource -
isMandatory:
boolean
Title:
Is MandatoryMandatory item -
itemId:
string
Title:
Item IdId of the item -
itemName:
string
Title:
Item NameItem Name -
label:
string
Title:
Favorite NameName of the favorite -
lineBomDisplayName:
string
Title:
Bom Display NameBom Display Name -
modelName:
string
Title:
Model NameModel Name -
ownerUserEmail:
string
Title:
Owner User EmailEmail of the Owner -
ownerUserFirstName:
string
Title:
Owner User First NameFirst Name of the Owner -
ownerUserLastName:
string
Title:
Owner User Last NameLast Name of the Owner -
parentId:
integer
Title:
Parent IdId of immediate parrent -
partProps:
object Part Properties
Title:
Part PropertiesPart Properties JSON -
prefCurrencyName:
string
Title:
Prefered Currency NameName of prefered currency -
prefLanguageName:
string
Title:
Prefered Language NameName of prefered language -
price:
object Price
Title:
Pricetotal price -
priceBook:
object Price Book
Title:
Price BookAssociated Price Book -
productLineName:
string
Title:
Product Line NameProduct Line Name -
productType:
string
Title:
Product TypePart or model name -
quantity:
integer
Title:
QuantityQuantity -
refName:
string
Title:
Ref NameRef Name -
rootId:
integer
Title:
Root IdId of root favorite -
segmentName:
string
Title:
Segment NameProduct Family Name -
serialNumber:
object Serial Number
Title:
Serial NumberSerial Number -
serialNumberDescription:
object Serial Number Description
Title:
Serial Number DescriptionSerial Number Description -
status:
integer
Title:
StatusStatus of captured favorite - is it needs any update action -
subType:
integer
Title:
Sub TypeSub Type -
supplierCompanyId:
integer
Title:
Supplier Company IdSupplier Company information -
supplierCompanyName:
string
Title:
Supplier Company NameName of the Supplier Company -
sysConfigPath:
string
Title:
System Configuration PathSystem Configuration Path -
type:
integer
Title:
TypeType -
typeSpecificAttrs:
object Type Specific Attributes
Title:
Type Specific AttributesJSON of Type Specific Attributes -
userAddedFirstName:
string
Title:
User Added First NameFirst Name of the user who created the record -
userAddedLastName:
string
Title:
User Added Last NameLast Name of the user who created the record -
userModifiedFirstName:
string
Title:
User Modified First NameFirst Name of the user who last modified the record -
userModifiedLastName:
string
Title:
User Modified Last NameLast Name of the user who last modified the record
Nested Schema : Configuration Attributes
Type:
objectTitle:
Configuration AttributesConfiguration Attributes holder
Nested Schema : Part Properties
Type:
objectTitle:
Part PropertiesPart Properties JSON
Nested Schema : Price
Type:
objectTitle:
Pricetotal price
Show Source
-
currency:
string
Title:
currency -
value:
number
Title:
value
Nested Schema : Price Book
Type:
objectTitle:
Price BookAssociated Price Book
Show Source
-
name:
string
Title:
NamePrice book name -
variableName:
string
Title:
Variable NameUnique name for price book
Nested Schema : Serial Number
Type:
objectTitle:
Serial NumberSerial Number
Nested Schema : Serial Number Description
Type:
objectTitle:
Serial Number DescriptionSerial Number Description
Nested Schema : Type Specific Attributes
Type:
objectTitle:
Type Specific AttributesJSON 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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/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/v19/priceBooks"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/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/v19/favorites/9100006903/subItems/9100006907"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/favorites/9100006903"
}
]
}