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
| 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": "7dde2438-2aae-4749-8d9f-adee85b30825",
"Quantity": 2
}
text/html
Sample:
{"Part":"7dde2438-2aae-4749-8d9f-adee85b30825","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>7dde2438-2aae-4749-8d9f-adee85b30825</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>