- BOMs
- Gets Boms that user has read access toGET
- Creates a Bom using Cofactr DataPOST
- Creates a Bom using raw bomline data and performs searches to convert into Cofactr DataPOST
- Gets a BomGET
- Upsert BOM AsyncPUT
- Updates a BomPATCH
- Deletes a Bom if still unapproved. Archives a bom if approved.DELETE
- Approves an unapproved Bom.POST
- Gets Bom Lines on a Bom.GET
- Creates a new bomline on a Bom using Cofactr data. If a bomline with the provided part exists it will sum the quants instead of duplicating lines.POST
- Gets a BomLineGET
- Updates a BomLinePATCH
- Removes a Bomline from a Bom.DELETE
- Attempts to create a new Bomline using raw data and performs searches to convert into Cofactr Data. If a Bomline with the same part and refdes exists it will sum the quants instead of duplicating lines.POST
- Programs
- Gets ProgramsGET
- Creates a ProgramPOST
- Gets a ProgramGET
- Updates a ProgramPATCH
- Deletes a ProgramDELETE
- Gets Program AvailabilitiesGET
- Gets Program Reference PricingGET
- Get Programs LinesGET
- Get Programs LineGET
- Update Programs LinePATCH
- Delete Programs LineDELETE
- Create Programs LinesPOST
- Get Program Part OverridesGET
- Create Program Part OverridesPOST
- Get Program Part OverrideGET
- Update Program Part OverridePATCH
- Delete Program Part OverrideDELETE
- Account
- Reporting
- Email
- Auth
- Async Jobs
- Stock Documents
- Suppliers
- Parts
- Purchases
- Get Purchase Order
- Create Purchase Order
- Update Purchase Order
- Delete Purchase Order
- Get Purchase Lines
- Get Purchase Line
- Create Purchase Line
- Update Many Purchase Lines
- Delete Purchase Line
- Get NoPart Purchase Lines
- Create NoPart Purchase Line
- Update Many NoPart Purchase Lines
- Delete NoPart Purchase Line
- Create Purchase Event
- Update Supplier Bill
- Update Supplier Bill Line
- Create Supplier Bill
- Create Supplier Bill Line
- Teams
- Custom Properties
- Stock Lots
- Tags
- Rfqs
- RfqLines
- SupplierQuote
- SupplierQuoteLines
Gets Bom Lines on a Bom.
GET
/v1/boms/{bom_id}/lines/
Boms
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Path Params
bom_id
string
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/boms//lines/' \
--header 'Authorization;'
Responses
🟢200Success
application/json
Body
array of:
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
<= 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:22Z",
"integration_source_name": "string",
"integration_record_id": "string"
}
]
Modified at 2023-09-05 19:45:28