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
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Configuration Actions
Type: object
Title: Configuration Actions
Show Source
Nested Schema : Reference Type
Type: object
Title: Reference Type
Type of the Reference
Show Source
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Id
    Primary Key of the fixed list of value resource.
  • 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
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Id
    Primary Key of the fixed list of value resource.
  • Title: Lookup Code
    Language independent code of the fixed list of value.
Back to Top

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"
    }
  ]
}
Back to Top