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": "e770788b-fa2a-453d-819f-30db6c1047c1",
  "Quantity": 2
}

text/html

Sample:
{"Part":"e770788b-fa2a-453d-819f-30db6c1047c1","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>e770788b-fa2a-453d-819f-30db6c1047c1</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>