- 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
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
/v1/boms/{bom_id}/lines/
Boms
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Path Params
bom_id
string
required
Body Params application/json
part
string
Part
>= 1 characters<= 12 characters
approved_alternative_parts
array[string]
optional
quantity
integer
Quantity
Default:
0
do_not_place
boolean
Do not place
Default:
false
ignore
boolean
Ignore
Default:
false
reference_designators
array[string]
optional
reference_designators_string
string
Reference designators string
>= 1 characters
notes
string | null
Notes
>= 1 characters
metadata
object
Metadata
Default:
{}
Example
{
"part": "string",
"approved_alternative_parts": [],
"quantity": 0,
"do_not_place": false,
"ignore": false,
"reference_designators": [
"string"
],
"reference_designators_string": "string",
"notes": "string",
"metadata": {}
}
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 POST '/v1/boms//lines/' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw ''
Responses
🟢200Success
application/json
Body
id
string <uuid>
Id
bom_id
string
Bom id
part
object (PartCore)
required
id
string
Id
>= 1 characters<= 12 characters
custom_id
string | null
Custom id
<= 255 characters
mpn
string | null
Mpn
<= 255 characters
alt_mpns
array[string]
optional
classification
string | null
Classification
<= 255 characters
description
string | null
Description
lifecycle_status
enum<string> | enum<null>
Lifecycle status
Allowed values:
NewProductionEOLNRFNDObsolete
hero_image
string | null
Hero image
<= 255 characters
mfg
string | null
Mfg
<= 255 characters
package
string | null
Package
<= 255 characters
terminations
integer | null
Terminations
>= -2147483648<= 2147483647
termination_type
string | null
Termination type
<= 255 characters
deprecated_by
string | null
Deprecated by
is_customized_info
string
Is customized info
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
Example
{
"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": {}
}
Modified at 2023-09-05 19:45:28