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.
POST
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
}'PCB was created
The Name of the PCB This property exists to help identify the corresponding assembly if needed.
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" }