POST api/ProductionOrder
Request Information
URI Parameters
None.
Body Parameters
C_P_ProductionOrderName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ProductionId | string |
None. |
|
Shift | string |
None. |
|
ItemFlag | string |
None. |
|
ItemCode | string |
None. |
|
TotalQty | decimal number |
None. |
|
PendingQty | decimal number |
None. |
|
UnitId | integer |
None. |
|
WarehouseId | integer |
None. |
|
Status | integer |
None. |
|
CreatDate | date |
None. |
|
ApproveDate | date |
None. |
|
ReleaseDate | date |
None. |
|
CloseORCancelDate | date |
None. |
|
CreatedBy | integer |
None. |
|
BranchCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ProductionId": "sample string 2", "Shift": "sample string 3", "ItemFlag": "sample string 4", "ItemCode": "sample string 5", "TotalQty": 1.0, "PendingQty": 1.0, "UnitId": 1, "WarehouseId": 1, "Status": 1, "CreatDate": "2025-03-28T13:52:04.7992371+00:00", "ApproveDate": "2025-03-28T13:52:04.7992371+00:00", "ReleaseDate": "2025-03-28T13:52:04.7992371+00:00", "CloseORCancelDate": "2025-03-28T13:52:04.7992371+00:00", "CreatedBy": 6, "BranchCode": 7 }
application/xml, text/xml
Sample:
<C_P_ProductionOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <ApproveDate>2025-03-28T13:52:04.7992371+00:00</ApproveDate> <BranchCode>7</BranchCode> <CloseORCancelDate>2025-03-28T13:52:04.7992371+00:00</CloseORCancelDate> <CreatDate>2025-03-28T13:52:04.7992371+00:00</CreatDate> <CreatedBy>6</CreatedBy> <Id>1</Id> <ItemCode>sample string 5</ItemCode> <ItemFlag>sample string 4</ItemFlag> <PendingQty>1</PendingQty> <ProductionId>sample string 2</ProductionId> <ReleaseDate>2025-03-28T13:52:04.7992371+00:00</ReleaseDate> <Shift>sample string 3</Shift> <Status>1</Status> <TotalQty>1</TotalQty> <UnitId>1</UnitId> <WarehouseId>1</WarehouseId> </C_P_ProductionOrder>
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. |