POST api/BOMEntry/ProductionEntryForOuter
Request Information
URI Parameters
None.
Body Parameters
Z_ProductionHeaderDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| prodHeader | C_P_ProductionEntryHeader |
None. |
|
| prodBarcode | Collection of C_P_ProductionScanBarcode |
None. |
Request Formats
application/json, text/json
Sample:
{
"prodHeader": {
"Id": 1,
"ProductionId": "sample string 2",
"ProductionDate": "2025-12-17T23:53:59.1917805+00:00",
"Shift": "sample string 3",
"ProductionVoucherNo": "sample string 4",
"ItemCode": "sample string 5",
"ItemFlag": "sample string 6",
"ProductionQty": 1.0,
"UnitId": 1,
"WarehouseId": 7,
"BranchCode": 8,
"CreatedBy": 1,
"CreatedOn": "2025-12-17T23:53:59.1917805+00:00",
"MachineId": 1,
"BOMVersion": "sample string 9"
},
"prodBarcode": [
{
"Id": 1,
"ProductionDate": "2025-12-17T23:53:59.1917805+00:00",
"ItemCode": "sample string 3",
"Barcode": "sample string 4",
"OuterNo": "sample string 5",
"Shift": "sample string 6",
"BranchCode": 7,
"OuterPrint": "sample string 8",
"CreatedBy": 1,
"CreatedOn": "2025-12-17T23:53:59.1917805+00:00",
"MachineId": 1
},
{
"Id": 1,
"ProductionDate": "2025-12-17T23:53:59.1917805+00:00",
"ItemCode": "sample string 3",
"Barcode": "sample string 4",
"OuterNo": "sample string 5",
"Shift": "sample string 6",
"BranchCode": 7,
"OuterPrint": "sample string 8",
"CreatedBy": 1,
"CreatedOn": "2025-12-17T23:53:59.1917805+00:00",
"MachineId": 1
}
]
}
application/xml, text/xml
Sample:
<Z_ProductionHeaderDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
<prodBarcode>
<C_P_ProductionScanBarcode>
<Barcode>sample string 4</Barcode>
<BranchCode>7</BranchCode>
<CreatedBy>1</CreatedBy>
<CreatedOn>2025-12-17T23:53:59.1917805+00:00</CreatedOn>
<Id>1</Id>
<ItemCode>sample string 3</ItemCode>
<MachineId>1</MachineId>
<OuterNo>sample string 5</OuterNo>
<OuterPrint>sample string 8</OuterPrint>
<ProductionDate>2025-12-17T23:53:59.1917805+00:00</ProductionDate>
<Shift>sample string 6</Shift>
</C_P_ProductionScanBarcode>
<C_P_ProductionScanBarcode>
<Barcode>sample string 4</Barcode>
<BranchCode>7</BranchCode>
<CreatedBy>1</CreatedBy>
<CreatedOn>2025-12-17T23:53:59.1917805+00:00</CreatedOn>
<Id>1</Id>
<ItemCode>sample string 3</ItemCode>
<MachineId>1</MachineId>
<OuterNo>sample string 5</OuterNo>
<OuterPrint>sample string 8</OuterPrint>
<ProductionDate>2025-12-17T23:53:59.1917805+00:00</ProductionDate>
<Shift>sample string 6</Shift>
</C_P_ProductionScanBarcode>
</prodBarcode>
<prodHeader>
<BOMVersion>sample string 9</BOMVersion>
<BranchCode>8</BranchCode>
<CreatedBy>1</CreatedBy>
<CreatedOn>2025-12-17T23:53:59.1917805+00:00</CreatedOn>
<Id>1</Id>
<ItemCode>sample string 5</ItemCode>
<ItemFlag>sample string 6</ItemFlag>
<MachineId>1</MachineId>
<ProductionDate>2025-12-17T23:53:59.1917805+00:00</ProductionDate>
<ProductionId>sample string 2</ProductionId>
<ProductionQty>1</ProductionQty>
<ProductionVoucherNo>sample string 4</ProductionVoucherNo>
<Shift>sample string 3</Shift>
<UnitId>1</UnitId>
<WarehouseId>7</WarehouseId>
</prodHeader>
</Z_ProductionHeaderDetail>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |