Skip to content

Create a new PCB

Request

This endpoint facilitates the creation of a new PCB project.

The request payload does not take any files, but they can be once the record is created.

It is possible to use the API without providing any project files. This means analysis and value extraction will not be available.

If this PCB belongs to a RfQ and should be linked together, then the externalReference and orderId fields should be filled and the RfQ should be updated with the PCB's UUID.

The creation of a PCB involves the creation of a specification that can be used to override the default values of the PCB.

Bodyapplication/jsonrequired
namestring

Name of the PCB

The name of the PCB. The PCBs GID is generated based on this name

customerstring, (uuid)

The ID of the Customer for this PCB

contactstring, (uuid)

The ID of the Contact for this PCB

orderIdstring

The External ID of the RFQ/Order

descriptionstring

The description for the PCB

externalReferenceobject(LqReference)

The External ID of the RFQ/Order

withoutFilesboolean

Set this to true if the PCB will not contain initial files

POST
/ems/pcb/pcbs
curl -i -X POST \
  https://api.luminovo.com/ems/pcb/pcbs \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
    "contact": "ad596931-5d7c-4d2b-907e-5b64c9432eb4",
    "orderId": "string",
    "description": "string",
    "externalReference": {
      "rfqId": "5483c05b-f58d-4a80-82f1-a80d2c5d2632",
      "assemblyId": "177e95d7-b841-4a88-9b1d-2e76eb106c0b",
      "customPartSpecificationId": "8a3b9431-2fae-4131-9801-fc1cf6d3fb96"
    },
    "withoutFiles": true
  }'

Responses

PCB was created

Bodyapplication/json
idstring, (uuid)required

The ID of the PCB

namestring

The Name of the PCB

assemblystring, (uuid)required

The Name of the PCB This property exists to help identify the corresponding assembly if needed.

descriptionstring

The description for the PCB

createdstring, (date)required

The creation date of the PCB

filesArray of objects(PCBV2File)

The files the PCB

filesLockedbooleanrequired

The Lock-Status of the files

lifecyclesArray of objects(AssemblyLifecycleStage)required

The Lifecycles of the PCB

projectTypeobject(ProjectType)required

Type of PCB Project

orderIdstring

The External ID of the RFQ/Order

outlinestring

The name of the file used for the outline

specificationsArray of objects(PCBV2Specification)required

The Specifications of the PCB

propertiesobject(PCBV2Properties)required

The Properties of the PCB determined by stackrate

customerstring, (uuid)

The ID of the Customer for this PCB

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "assembly": "4eb48ea2-7b92-4715-a97a-6a7090607f3b", "description": "string", "created": "2019-08-24", "files": [ {} ], "filesLocked": true, "lifecycles": [ {} ], "projectType": {}, "orderId": "string", "outline": "string", "specifications": [ {} ], "properties": { "board": {}, "layerStack": {}, "mechanical": {}, "reports": {}, "markings": {}, "miscellaneous": {} }, "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad" }