POST api/BOMEntry
Request Information
URI Parameters
None.
Body Parameters
Z_BOMHeaderDetailRequestName | Description | Type | Additional information |
---|---|---|---|
bomHeader | C_P_BOMHeader |
None. |
|
bomDetail | Collection of C_P_BOMDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "bomHeader": { "Id": 1, "BOMId": "sample string 2", "BOMDescription": "sample string 3", "BOMDate": "2025-03-28T13:54:24.1429765+00:00", "ItemCode": "sample string 4", "ItemFlag": "sample string 5", "UnitId": 1, "Qty": 1.0, "ActiveFlag": "sample string 6", "WarehouseId": 1, "CreatedBy": 1, "CreatedOn": "2025-03-28T13:54:24.1429765+00:00", "BranchCode": 1 }, "bomDetail": [ { "Id": 1, "BOMId": "sample string 2", "LineNo": 3, "ItemCode": "sample string 4", "ItemFlag": "sample string 5", "UnitId": 1, "Qty": 1.0, "WarehouseId": 1, "CreatedBy": 1, "CreatedOn": "2025-03-28T13:54:24.1429765+00:00", "BranchCode": 1 }, { "Id": 1, "BOMId": "sample string 2", "LineNo": 3, "ItemCode": "sample string 4", "ItemFlag": "sample string 5", "UnitId": 1, "Qty": 1.0, "WarehouseId": 1, "CreatedBy": 1, "CreatedOn": "2025-03-28T13:54:24.1429765+00:00", "BranchCode": 1 } ] }
application/xml, text/xml
Sample:
<Z_BOMHeaderDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <bomDetail> <C_P_BOMDetail> <BOMId>sample string 2</BOMId> <BranchCode>1</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T13:54:24.1429765+00:00</CreatedOn> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <ItemFlag>sample string 5</ItemFlag> <LineNo>3</LineNo> <Qty>1</Qty> <UnitId>1</UnitId> <WarehouseId>1</WarehouseId> </C_P_BOMDetail> <C_P_BOMDetail> <BOMId>sample string 2</BOMId> <BranchCode>1</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T13:54:24.1429765+00:00</CreatedOn> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <ItemFlag>sample string 5</ItemFlag> <LineNo>3</LineNo> <Qty>1</Qty> <UnitId>1</UnitId> <WarehouseId>1</WarehouseId> </C_P_BOMDetail> </bomDetail> <bomHeader> <ActiveFlag>sample string 6</ActiveFlag> <BOMDate>2025-03-28T13:54:24.1429765+00:00</BOMDate> <BOMDescription>sample string 3</BOMDescription> <BOMId>sample string 2</BOMId> <BranchCode>1</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T13:54:24.1429765+00:00</CreatedOn> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <ItemFlag>sample string 5</ItemFlag> <Qty>1</Qty> <UnitId>1</UnitId> <WarehouseId>1</WarehouseId> </bomHeader> </Z_BOMHeaderDetailRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |