POST api/InventBatchTrans/FinalBarcodeGrid

Request Information

URI Parameters

None.

Body Parameters

Collection of C_P_ProductionScanBarcodeView
NameDescriptionTypeAdditional information
Id

integer

None.

ProductionDate

date

None.

ItemCode

string

None.

Barcode

string

None.

OuterNo

string

None.

Shift

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ItemName

string

None.

OuterPrint

string

None.

BranchCode

integer

None.

BarcodeString

string

None.

MachineId

integer

None.

BarcodeQty

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ProductionDate": "2024-04-28T05:25:48.6521696+00:00",
    "ItemCode": "sample string 3",
    "Barcode": "sample string 4",
    "OuterNo": "sample string 5",
    "Shift": "sample string 6",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T05:25:48.6521696+00:00",
    "ItemName": "sample string 7",
    "OuterPrint": "sample string 8",
    "BranchCode": 9,
    "BarcodeString": "sample string 10",
    "MachineId": 1,
    "BarcodeQty": 11
  },
  {
    "Id": 1,
    "ProductionDate": "2024-04-28T05:25:48.6521696+00:00",
    "ItemCode": "sample string 3",
    "Barcode": "sample string 4",
    "OuterNo": "sample string 5",
    "Shift": "sample string 6",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T05:25:48.6521696+00:00",
    "ItemName": "sample string 7",
    "OuterPrint": "sample string 8",
    "BranchCode": 9,
    "BarcodeString": "sample string 10",
    "MachineId": 1,
    "BarcodeQty": 11
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_P_ProductionScanBarcodeView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models.Views">
  <C_P_ProductionScanBarcodeView>
    <Barcode>sample string 4</Barcode>
    <BarcodeQty>11</BarcodeQty>
    <BarcodeString>sample string 10</BarcodeString>
    <BranchCode>9</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T05:25:48.6521696+00:00</CreatedOn>
    <Id>1</Id>
    <ItemCode>sample string 3</ItemCode>
    <ItemName>sample string 7</ItemName>
    <MachineId>1</MachineId>
    <OuterNo>sample string 5</OuterNo>
    <OuterPrint>sample string 8</OuterPrint>
    <ProductionDate>2024-04-28T05:25:48.6521696+00:00</ProductionDate>
    <Shift>sample string 6</Shift>
  </C_P_ProductionScanBarcodeView>
  <C_P_ProductionScanBarcodeView>
    <Barcode>sample string 4</Barcode>
    <BarcodeQty>11</BarcodeQty>
    <BarcodeString>sample string 10</BarcodeString>
    <BranchCode>9</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T05:25:48.6521696+00:00</CreatedOn>
    <Id>1</Id>
    <ItemCode>sample string 3</ItemCode>
    <ItemName>sample string 7</ItemName>
    <MachineId>1</MachineId>
    <OuterNo>sample string 5</OuterNo>
    <OuterPrint>sample string 8</OuterPrint>
    <ProductionDate>2024-04-28T05:25:48.6521696+00:00</ProductionDate>
    <Shift>sample string 6</Shift>
  </C_P_ProductionScanBarcodeView>
</ArrayOfC_P_ProductionScanBarcodeView>

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_ProductionScanBarcodeView[]'.

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.