PUT api/ProductionOrder

Request Information

URI Parameters

None.

Body Parameters

C_P_ProductionOrder
NameDescriptionTypeAdditional 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": "2024-04-27T11:08:03.9637605+00:00",
  "ApproveDate": "2024-04-27T11:08:03.9637605+00:00",
  "ReleaseDate": "2024-04-27T11:08:03.9637605+00:00",
  "CloseORCancelDate": "2024-04-27T11:08:03.9637605+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>2024-04-27T11:08:03.9637605+00:00</ApproveDate>
  <BranchCode>7</BranchCode>
  <CloseORCancelDate>2024-04-27T11:08:03.9637605+00:00</CloseORCancelDate>
  <CreatDate>2024-04-27T11:08:03.9637605+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>2024-04-27T11:08:03.9637605+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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'C_P_ProductionOrder'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.