POST part/{part}/bom

Adds a bom part to a part.

Request Information

URI

https://eurotherm-web-api.xaitcpq.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": "be5560d8-78ad-403f-8da5-275b65eeb319",
  "Quantity": 2
}

text/html

Sample:
{"Part":"be5560d8-78ad-403f-8da5-275b65eeb319","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>be5560d8-78ad-403f-8da5-275b65eeb319</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>