POST part/{part}/bom

Adds a bom part to a part.

Request Information

URI

https://ofd-api.blueprintcpq.net/part/{part}/bom

URI Parameters

NameDescriptionTypeAdditional information
part

The part properties to update.

globally unique identifier

Required

Body Parameters

The new BOM part.

BOMPartUpdate
NameDescriptionTypeAdditional information
Part

globally unique identifier

None.

Quantity

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Part": "2b6500b0-9e4e-41bf-a7f1-d0cbc8891ebf",
  "Quantity": 2
}

text/html

Sample:
{"Part":"2b6500b0-9e4e-41bf-a7f1-d0cbc8891ebf","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>2b6500b0-9e4e-41bf-a7f1-d0cbc8891ebf</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.

boolean

Response 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>