Creates a Bom using raw bomline data and performs searches to convert into Cofactr Data
POST
/v1/parse_raw_bom/Request
Body Params application/json
name
string
Name
>= 1 characters<= 255 characters
version
string | null
Version
>= 1 characters<= 255 characters
part_number
string | null
Part number
>= 1 characters<= 255 characters
data_source
string | null
Data source
>= 1 characters<= 255 characters
approved
boolean
Approved
Default:
false
metadata
object
Metadata
Default:
{}
raw_lines
array[object (CreateRawBomLine) {17}]
optional
custom_id
string | null
Custom id
>= 1 characters<= 255 characters
mpn
string | null
Mpn
>= 1 characters<= 255 characters
alternative_mpns
array[string]
optional
manufacturer_name
string | null
Manufacturer name
>= 1 characters<= 255 characters
quantity
integer
Quantity
Default:
0
reference_designators_string
string
Reference designators string
>= 1 characters<= 255 characters
reference_designators
array[string]
optional
description
string | null
Description
>= 1 characters<= 255 characters
link
string | null
Link
>= 1 characters<= 255 characters
comments
string | null
Comments
>= 1 characters<= 255 characters
do_not_place
boolean
Do not place
Default:
false
line_number
string | null
Line number
>= 1 characters<= 255 characters
value
string | null
Value
>= 1 characters<= 255 characters
package
string | null
Package
>= 1 characters<= 255 characters
mount_type
string | null
Mount type
>= 1 characters<= 255 characters
metadata
object
Metadata
Default:
{}
is_custom_part
boolean
optional
Default:
false
synced_from_integration
boolean
optional
Default:
false
integration_source_name
string | null
optional
integration_record_id
string | null
optional
synced_from_integration_at
string | null
optional
Example
{
"name": "string",
"version": "string",
"part_number": "string",
"data_source": "string",
"approved": false,
"metadata": {},
"raw_lines": [],
"synced_from_integration": false,
"integration_source_name": "string",
"integration_record_id": "string",
"synced_from_integration_at": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string <uuid>
Id
name
string | null
Name
<= 255 characters
version
string | null
Version
<= 255 characters
part_number
string | null
Part number
>= 1 characters<= 255 characters
approved
string
Approved
metadata
object | null
Metadata
org_id
string
Org id
data_source
string | null
Data source
Where this record originated from. Null indicates normal Flagship operation, otherwise refers to input integration source.
<= 255 characters
lines
array[object (BomLine) {12}]
read-onlyoptional
id
string <uuid>
Id
bom_id
string
Bom id
part
object (PartCore)
required
approved_alternative_parts
string
Approved alternative parts
quantity
integer
Quantity
do_not_place
boolean
Do not place
ignore
boolean
Ignore
reference_designators
array[string | null]
required
reference_designators_string
string
Reference designators string
notes
string | null
Notes
>= 1 characters
metadata
object | null
Metadata
raw
object | null
Raw
raw_lines
array[object (RawBomLine) {14}]
read-onlyoptional
mpn
string
Mpn
alternative_mpns
string
Alternative mpns
manufacturer_name
string
Manufacturer name
quantity
string
Quantity
reference_designators_string
string
Reference designators string
reference_designators
string
Reference designators
description
string
Description
link
string
Link
comments
string
Comments
do_not_place
string
Do not place
line_number
string
Line number
value
string
Value
package
string
Package
mount_type
string
Mount type
synced_from_integration
boolean
optional
Default:
false
synced_from_integration_at
string <date-time> | null
optional
integration_source_name
string | null
optional
integration_record_id
string | null
optional
Example
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"version": "string",
"part_number": "string",
"approved": "string",
"metadata": {},
"org_id": "string",
"data_source": "string",
"lines": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"bom_id": "string",
"part": {
"id": "string",
"custom_id": "string",
"mpn": "string",
"alt_mpns": [
"string"
],
"classification": "string",
"description": "string",
"lifecycle_status": "New",
"hero_image": "string",
"mfg": "string",
"package": "string",
"terminations": -2147483648,
"termination_type": "string",
"deprecated_by": "string",
"is_customized_info": "string"
},
"approved_alternative_parts": "string",
"quantity": 0,
"do_not_place": true,
"ignore": true,
"reference_designators": [
"string"
],
"reference_designators_string": "string",
"notes": "string",
"metadata": {},
"raw": {}
}
],
"raw_lines": [
{
"mpn": "string",
"alternative_mpns": "string",
"manufacturer_name": "string",
"quantity": "string",
"reference_designators_string": "string",
"reference_designators": "string",
"description": "string",
"link": "string",
"comments": "string",
"do_not_place": "string",
"line_number": "string",
"value": "string",
"package": "string",
"mount_type": "string"
}
],
"synced_from_integration": false,
"synced_from_integration_at": "2019-08-24T14:15:22.123Z",
"integration_source_name": "string",
"integration_record_id": "string"
}
Last modified: a year ago