POST api/Production/SaveProduction
Request Information
URI Parameters
None.
Body Parameters
RequestMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestObj | Object |
None. |
|
| Token | string |
None. |
|
| BranchID | integer |
None. |
|
| UserID | string |
None. |
|
| OrganizationID | integer |
None. |
|
| EmployeeID | integer |
None. |
|
| InventoryID | integer |
None. |
|
| ZoneID | integer |
None. |
|
| pageIndex | integer |
None. |
|
| pageSize | integer |
None. |
|
| sortBy | string |
None. |
|
| sortOrder | string |
None. |
|
| filterBy | string |
None. |
|
| Year | integer |
None. |
|
| Month | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RequestObj": {},
"Token": "sample string 2",
"BranchID": 3,
"UserID": "sample string 4",
"OrganizationID": 5,
"EmployeeID": 6,
"InventoryID": 7,
"ZoneID": 8,
"pageIndex": 9,
"pageSize": 10,
"sortBy": "sample string 11",
"sortOrder": "sample string 12",
"filterBy": "sample string 13",
"Year": 14,
"Month": 15
}
application/xml, text/xml
Sample:
<RequestMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QSCommon.OperationDTO"> <BranchID>3</BranchID> <EmployeeID>6</EmployeeID> <InventoryID>7</InventoryID> <Month>15</Month> <OrganizationID>5</OrganizationID> <RequestObj /> <Token>sample string 2</Token> <UserID>sample string 4</UserID> <Year>14</Year> <ZoneID>8</ZoneID> <filterBy>sample string 13</filterBy> <pageIndex>9</pageIndex> <pageSize>10</pageSize> <sortBy>sample string 11</sortBy> <sortOrder>sample string 12</sortOrder> </RequestMessage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Production| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductionID | integer |
None. |
|
| ItemID | integer |
None. |
|
| ItemName | string |
None. |
|
| BatchNo | string |
None. |
|
| SerialStart | integer |
None. |
|
| TotalSerial | integer |
None. |
|
| ProductionDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"ProductionID": 1,
"ItemID": 2,
"ItemName": "sample string 3",
"BatchNo": "sample string 4",
"SerialStart": 5,
"TotalSerial": 6,
"ProductionDate": "2026-11-19T14:07:12.9654825+06:00"
}
application/xml, text/xml
Sample:
<Production xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QSCommon.DTO"> <BatchNo>sample string 4</BatchNo> <ItemID>2</ItemID> <ItemName>sample string 3</ItemName> <ProductionDate>2026-11-19T14:07:12.9654825+06:00</ProductionDate> <ProductionID>1</ProductionID> <SerialStart>5</SerialStart> <TotalSerial>6</TotalSerial> </Production>