Get a Product Family Action
get
/rest/v19/allProductFamilySetups/{allProdFamsVarName}/productFamilies/{prodFamVarName}/_actions/{actionVarName}
Use this endpoint to retrieve the specified Product Family action.
Request
Supported Media Types
- application/json
Path Parameters
-
actionVarName(required): string
Variable Name of the action.
-
allProdFamsVarName(required): string
Variable Name of All Product Families '_allProductFamilies'
-
prodFamVarName(required): string
Variable Name of the Product Family.
Query Parameters
-
expand: string
Allows expansion of relationships.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Configuration Actions
Type:
object
Title:
Show Source
Configuration Actions
-
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 Config Action -
id:
integer
Title:
Id
Primary Key of the resource -
label:
string
Title:
Action Name
Name of the Config Action -
refType:
object Reference Type
Title:
Reference Type
Type of the Reference -
status:
object Config Action Status
Title:
Config Action Status
Status of Config Action -
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 modified the record -
userModifiedLastName:
string
Title:
User Modified Last Name
Last Name of the user who modified the record -
variableName:
string
Title:
Variable Name
Variable Name of the Config Action
Nested Schema : Reference Type
Type:
object
Title:
Reference Type
Type of the Reference
Show Source
-
displayValue:
string
Title:
Display Value
Translated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
Id
Primary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup Code
Language independent code of the fixed list of value.
Nested Schema : Config Action Status
Type:
object
Title:
Config Action Status
Status of Config Action
Show Source
-
displayValue:
string
Title:
Display Value
Translated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
Id
Primary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup Code
Language independent code of the fixed list of value.
Examples
The following example shows how to retrieve a Product Family action 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/visionVehicles/_actions/selectPromotion2
Response Body Sample
{ "variableName": "selectPromotion2", "refType": { "lookupCode": "2", "displayValue": "Product Family", "id": 36892930, "links": [{ "rel": "domain", "href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ACTION_REF_TYPE%22%7D%7D" }, { "rel": "canonical", "href": "https://sitename.oracle.com/rest/v19/lookupValues/36892930" } ] }, "description": null, "userModifiedLastName": "User", "dateModified": "2023-09-08T15:42:27.000Z", "label": "Select Promotion", "dateAdded": "2023-09-08T15:42:27.000Z", "userAddedFirstName": "Super", "userModifiedFirstName": "Super", "userAddedLastName": "User", "id": 36971950, "status": { "lookupCode": "1", "displayValue": "Active", "id": 36892935, "links": [{ "rel": "domain", "href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ACTION_STATUS%22%7D%7D" }, { "rel": "canonical", "href": "https://sitename.oracle.com/rest/v19/lookupValues/36892935" } ] }, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionVehicles/_actions/selectPromotion2" }, { "kind": "", "rel": "child", "name": "translations", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionVehicles/_actions/selectPromotion2/translations" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionVehicles" } ] }