Get a Part

get

/rest/v16/parts/{id}

Use this endpoint to retrieve the specified part.

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Part Instance Definitions
Type: object
Title: Part Instance Definitions
Show Source
Nested Schema : Configurable Flag
Type: object
Title: Configurable Flag
Part Configurable Flag
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 : Direct Buy
Type: object
Title: Direct Buy
Determines how the part must be purchased.
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 : Product Status
Type: object
Title: Product Status
Status of the product
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 examples show how to retrieve the specified part by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/parts/36594583

Request Body Sample

{
  "enableSelfService": null,
  "_part_custom_field10": {
    "lookupCode": "External",
    "displayValue": "External",
    "id": 38272229,
    "links": [{
        "rel": "domain",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22_PART_field10%22%7D%7D"
      }, {
        "rel": "canonical",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues/38272229"
      }
    ]
  },
  "dateAdded": "2017-11-13T13:59:28.000Z",
  "bomItemVariableName": null,
  "_part_custom_field9": null,
  "id": 36594583,
  "_part_custom_field3": null,
  "_part_custom_field4": null,
  "_part_custom_field1": null,
  "_part_custom_field2": null,
  "_part_custom_field8": {
    "lookupCode": "One Time",
    "displayValue": "One Time",
    "id": 36657633,
    "links": [{
        "rel": "domain",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22_PART_field8%22%7D%7D"
      }, {
        "rel": "canonical",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues/36657633"
      }
    ]
  },
  "_part_custom_field5": 10.0,
  "salesProductType": null,
  "configurableFlag": {
    "lookupCode": "0",
    "displayValue": "Not Configurable",
    "id": 38831190,
    "links": [{
        "rel": "domain",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIGURABLE_FLAG%22%7D%7D"
      }, {
        "rel": "canonical",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues/38831190"
      }
    ]
  },
  "status": {
    "lookupCode": "ORA_CREATED",
    "displayValue": "Created",
    "id": 38831140,
    "links": [{
        "rel": "domain",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_PRODUCT_SETUP_STATUS%22%7D%7D"
      }, {
        "rel": "canonical",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues/38831140"
      }
    ]
  },
  "eligibleForService": null,
  "directBuy": {
    "lookupCode": "1",
    "displayValue": "Direct Buy",
    "id": 36549639,
    "links": [{
        "rel": "domain",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_PARTS_DIRECT_BUY%22%7D%7D"
      }, {
        "rel": "canonical",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues/36549639"
      }
    ]
  },
  "defaultUOMCode": null,
  "description": "1GB Memory",
  "leadTime": -1,
  "units": null,
  "eligibleToSell": null,
  "priceType": null,
  "numberOfPricePeriods": 0,
  "dateModified": "2021-04-19T12:10:26.000Z",
  "partDisplayNumber": "1GB Memory",
  "pricePeriod": null,
  "partNumberLower": "mem-100m-1",
  "partNumber": "MEM-100M-1",
  "externalKey1": null,
  "externalKey2": null,
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/parts/36594583"
    }, {
      "kind": "",
      "rel": "child",
      "name": "translations",
      "href": "https://sitename.oracle.com/rest/v16/parts/36594583/translations"
    }
  ]
}
Back to Top