Get a Model Setup
get
/rest/v19/allProductFamilySetups/{allProdFamsVarName}/productFamilies/{prodFamVarName}/productLines/{prodLineVarName}/models/{modelVarName}
Use this endpoint to retrieve the specified Model setup.
Request
Supported Media Types
- application/json
Path Parameters
-
allProdFamsVarName(required): string
Variable Name
-
modelVarName(required): string
Variable Name of the Product Line
-
prodFamVarName(required): string
Variable Name
-
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 : Models
Type:
objectTitle:
Show Source
Models-
companyId:
integer
Title:
Company IdId Of Company -
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. -
description:
string
Title:
DescriptionDescription of the Product Line -
id:
integer
Title:
IdPrimary Key Of The Resource -
label:
string
Title:
Model NameName of the Model -
parentId:
integer
Title:
Parent IdId of immediate parent -
variableName:
string
Title:
Variable NameVariable Name of the Product Line
Examples
The following example shows how to retrieve a catalog definition for the specified Model 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/models/internet
Response Body Sample
{
"companyId": 4118171,
"variableName": "internet",
"description": "<img src=\"$BASE_PATH$/images/Internet.png \" alt=\"Internet\" /></br>\nStay connected with unbelievable download speeds",
"dateModified": "2020-05-04T16:32:27.000Z",
"id": 38073912,
"label": "Unity Internet",
"dateAdded": "2019-07-30T12:42:41.000Z",
"parentId": 36732586,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices/models/internet"
}, {
"kind": "",
"rel": "child",
"name": "attributes",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices/models/internet/attributes"
}, {
"kind": "",
"rel": "child",
"name": "bomMappingRules",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices/models/internet/bomMappingRules"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices"
}
]
}