POST api/InventBatchTrans/ScanBarcodeAndOuterPrint?OuterCount={OuterCount}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
OuterCount

integer

Required

Body Parameters

Collection of C_P_ProductionScanBarcode
NameDescriptionTypeAdditional information
Id

integer

None.

ProductionDate

date

None.

ItemCode

string

None.

Barcode

string

None.

OuterNo

string

None.

Shift

string

None.

BranchCode

integer

None.

OuterPrint

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

MachineId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ProductionDate": "2024-04-27T22:10:55.9267629+00:00",
    "ItemCode": "sample string 3",
    "Barcode": "sample string 4",
    "OuterNo": "sample string 5",
    "Shift": "sample string 6",
    "BranchCode": 7,
    "OuterPrint": "sample string 8",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T22:10:55.9267629+00:00",
    "MachineId": 1
  },
  {
    "Id": 1,
    "ProductionDate": "2024-04-27T22:10:55.9267629+00:00",
    "ItemCode": "sample string 3",
    "Barcode": "sample string 4",
    "OuterNo": "sample string 5",
    "Shift": "sample string 6",
    "BranchCode": 7,
    "OuterPrint": "sample string 8",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T22:10:55.9267629+00:00",
    "MachineId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_P_ProductionScanBarcode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <C_P_ProductionScanBarcode>
    <Barcode>sample string 4</Barcode>
    <BranchCode>7</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T22:10:55.9267629+00:00</CreatedOn>
    <Id>1</Id>
    <ItemCode>sample string 3</ItemCode>
    <MachineId>1</MachineId>
    <OuterNo>sample string 5</OuterNo>
    <OuterPrint>sample string 8</OuterPrint>
    <ProductionDate>2024-04-27T22:10:55.9267629+00:00</ProductionDate>
    <Shift>sample string 6</Shift>
  </C_P_ProductionScanBarcode>
  <C_P_ProductionScanBarcode>
    <Barcode>sample string 4</Barcode>
    <BranchCode>7</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T22:10:55.9267629+00:00</CreatedOn>
    <Id>1</Id>
    <ItemCode>sample string 3</ItemCode>
    <MachineId>1</MachineId>
    <OuterNo>sample string 5</OuterNo>
    <OuterPrint>sample string 8</OuterPrint>
    <ProductionDate>2024-04-27T22:10:55.9267629+00:00</ProductionDate>
    <Shift>sample string 6</Shift>
  </C_P_ProductionScanBarcode>
</ArrayOfC_P_ProductionScanBarcode>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>