POST part/{part}/bom
Adds a bom part to a part.
Request Information
URI
https://ofd-api.blueprintcpq.net/part/{part}/bom
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| part |
The part properties to update. |
globally unique identifier |
Required |
Body Parameters
The new BOM part.
BOMPartUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| Part | globally unique identifier |
None. |
|
| Quantity | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Part": "5252a4d2-a8d8-4a33-aa65-f7ade6f6766e",
"Quantity": 2
}
text/html
Sample:
{"Part":"5252a4d2-a8d8-4a33-aa65-f7ade6f6766e","Quantity":2}
application/xml, text/xml
Sample:
<BOMPartUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels"> <Part>5252a4d2-a8d8-4a33-aa65-f7ade6f6766e</Part> <Quantity>2</Quantity> </BOMPartUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
True if it succeeds, false if it fails.
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>