Validate Part for BOM
post
/rest/v19/bomItemSetups/actions/validatePartForBOM
Use this endpoint to validate parts for BOM mapping implementations. It will validate that the part exists and that the part's 'Direct Buy' value is not set to 'Buy Parent Part'. If the part is being used in the root BOM item, this service will validate that the part is not used by any other root BOM items.
Request
Supported Media Types
- application/json
Root Schema : BOM Item Setup Validate Part for BOM Request Definitions
Type:
object
Title:
Show Source
BOM Item Setup Validate Part for BOM Request Definitions
-
isRoot:
boolean
Title:
Is Root
Whether the given part will be used as the root of a BOM. -
partNumber:
string
Title:
Part Number
The part number to be validated.
Response
Supported Media Types
- application/json
Default Response
Examples
The following examples show how to validate parts for BOM mapping implementations by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/bomItemSetups/actions/validatePartForBOM
Request Body Sample
{ "partNumber": "part11", "isRoot": false }