Get a Product Line Catalog Definition
get
/rest/v19/allProductFamilySetups/{allProdFamsVarName}/productFamilies/{prodFamVarName}/productLines/{prodLineVarName}
Use this endpoint to retrieve a catalog definition for the specified Product Line.
Request
Supported Media Types
- application/json
Path Parameters
-
allProdFamsVarName(required): string
Variable Name of All Product Families '_allProductFamilies'
-
prodFamVarName(required): string
Variable Name of the Product Family.
-
prodLineVarName(required): string
Variable Name of the Product Line
Query Parameters
-
expand: string
Allows expansion of relationships.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Product Lines
Type:
object
Title:
Show Source
Product Lines
-
companyId:
integer
Title:
Company Id
Id Of Company -
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. -
description:
string
Title:
Description
Description of the Product Line -
id:
integer
Title:
Id
Primary Key of the resource -
label:
string
Title:
Product Line Name
Name of the Product Line -
parentId:
integer
Title:
Parent Id
Id Of Immediate Parent -
segmentId:
integer
Title:
Segment Id
Segment Id of Product Family -
variableName:
string
Title:
Variable Name
Variable Name of the Product Line
Examples
The following example shows how to retrieve a catalog definition for the specified Product Line 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 "Accept: application/json" https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices
Response Body Sample
{ "companyId": 4118171, "variableName": "standAloneServices", "segmentId": 13, "description": null, "dateModified": "2020-05-04T16:32:27.000Z", "id": 36732586, "label": "Stand Alone Services", "dateAdded": "2018-11-09T17:27:10.000Z", "parentId": -1, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices" }, { "kind": "", "rel": "child", "name": "attributes", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices/attributes" }, { "kind": "", "rel": "child", "name": "models", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices/models" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC" } ] }