GET
/
v1
/
bill_of_materials
/
list
curl --location --request GET 'https://api.stateset.com/v1/bill_of_materials' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "limit": 10,
    "offset": 0,
    "order_direction": "asc"
}'
{
  {
    "id": "5f7b1b4a-5b0b-4b0a-8b0b-4b0a5b0b4a5b",
    "number": "5f7b1b4a-5b0b-4b0a-8b0b-4b0a5b0b4a5b",
    "name": "Bill of Materials",
    "description": "Bill of Materials",
    "groups": "Bill of Materials",
    "created_at": "2021-01-01T00:00:00.000Z",
    "updated_at": "2021-01-01T00:00:00.000Z",
    "valid": true,
    "line_items": [
      {
        "id": "5f7b1b4a-5b0b-4b0a-8b0b-4b0a5b0b4a5b",
        "bill_of_materials_number": "5f7b1b4a-5b0b-4b0a-8b0b-4b0a5b0b4a5b",
        "line_type": "Bill of Materials",
        "part_number": "5f7b1b4a-5b0b-4b0a-8b0b-4b0a5b0b4a5b",
        "part_name": "Bill of Materials",
        "purchase_supply_type": "Bill of Materials",
        "quantity": 1,
        "status": "Bill of Materials"
      }
    ]
  }
}

Body

limit
string
required

This is the limit of the bill of materials.

offset
string
required

This is the offset of the bill of materials.

order_direction
string
required

This is the order direction of the bill of materials.

Response

id
string

This is the id of the bill of materials.

number
string

This is the number of the bill of materials.

name
string

This is the name of the bill of materials.

description
string

This is the description of the bill of materials.

groups
string

This is the groups of the bill of materials.

created_at
string

This is the date and time when the bill of materials was created.

updated_at
string

This is the date and time when the bill of materials was last updated.

valid
boolean

This indicates whether the bill of materials is valid or not.

line_items
object

This is an array of line items associated with the bill of materials.

Bill Of Materials

NameTypeDescription
created_atDate/TimeDate and time when the bill of materials was created
descriptionTextDescription or additional details about the bill of materials
groupsTextGroups or categories associated with the bill of materials
idTextUnique identifier for the bill of materials
numberTextNumber associated with the bill of materials
nameTextName of the bill of materials
updated_atDate/TimeDate and time when the bill of materials was last updated
validBooleanIndicates whether the bill of materials is valid or not

Bill Of Materials Line Item

NameTypeDescription
bill_of_materials_numberTextNumber associated with the bill of materials to which the line item belongs
idTextUnique identifier for the line item
line_typeTextType or category of the line item
part_nameTextName of the part or item included in the bill of materials
part_numberTextNumber or code associated with the part or item
purchase_supply_typeTextType or category of the purchase/supply associated with the line item
quantityNumericQuantity of the part or item required in the bill of materials
statusTextStatus or state of the line item