POST api/BOMEntry/GetItemStock
Request Information
URI Parameters
None.
Body Parameters
C_P_ProductionEntryHeader| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductionId | string |
None. |
|
| ProductionDate | date |
None. |
|
| Shift | string |
None. |
|
| ProductionVoucherNo | string |
None. |
|
| ItemCode | string |
None. |
|
| ItemFlag | string |
None. |
|
| ProductionQty | decimal number |
None. |
|
| UnitId | integer |
None. |
|
| WarehouseId | integer |
None. |
|
| BranchCode | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| MachineId | integer |
None. |
|
| BOMVersion | string |
String length: inclusive between 0 and 15 |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProductionId": "sample string 2",
"ProductionDate": "2025-12-17T23:56:38.8780324+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:56:38.8780324+00:00",
"MachineId": 1,
"BOMVersion": "sample string 9"
}
application/xml, text/xml
Sample:
<C_P_ProductionEntryHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <BOMVersion>sample string 9</BOMVersion> <BranchCode>8</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-12-17T23:56:38.8780324+00:00</CreatedOn> <Id>1</Id> <ItemCode>sample string 5</ItemCode> <ItemFlag>sample string 6</ItemFlag> <MachineId>1</MachineId> <ProductionDate>2025-12-17T23:56:38.8780324+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> </C_P_ProductionEntryHeader>
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. |