POST api/InventBatchTransDetail?BranchCode={BranchCode}&UserId={UserId}&Interval={Interval}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
BranchCode

integer

Required

UserId

integer

Required

Interval

integer

Required

Body Parameters

Collection of C_InventBatchTransDetail
NameDescriptionTypeAdditional information
Id

integer

None.

TransId

string

None.

ItemCode

string

None.

BatchNo

string

None.

Qty

decimal number

None.

Barcode

string

None.

OuterNo

string

None.

PalletNo

string

None.

UnitId

integer

None.

BarcodeCreatedDate

date

None.

OuterCreatedDate

date

None.

PalletCreatedDate

date

None.

SOID

string

None.

InvoiceNo

string

None.

PackingSlipId

string

None.

BarcodePrint

string

None.

OuterPrint

string

None.

PalletPrint

string

None.

TransDate

date

None.

BranchCode

integer

None.

VoucherNo

string

None.

InventBatchId

integer

None.

SupplierGRNNo

string

None.

UpdatedByIT

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "TransId": "sample string 2",
    "ItemCode": "sample string 3",
    "BatchNo": "sample string 4",
    "Qty": 1.0,
    "Barcode": "sample string 5",
    "OuterNo": "sample string 6",
    "PalletNo": "sample string 7",
    "UnitId": 1,
    "BarcodeCreatedDate": "2024-04-28T18:23:12.0049499+00:00",
    "OuterCreatedDate": "2024-04-28T18:23:12.0049499+00:00",
    "PalletCreatedDate": "2024-04-28T18:23:12.0049499+00:00",
    "SOID": "sample string 9",
    "InvoiceNo": "sample string 10",
    "PackingSlipId": "sample string 11",
    "BarcodePrint": "sample string 12",
    "OuterPrint": "sample string 13",
    "PalletPrint": "sample string 14",
    "TransDate": "2024-04-28T18:23:12.0049499+00:00",
    "BranchCode": 15,
    "VoucherNo": "sample string 16",
    "InventBatchId": 17,
    "SupplierGRNNo": "sample string 18",
    "UpdatedByIT": "sample string 19"
  },
  {
    "Id": 1,
    "TransId": "sample string 2",
    "ItemCode": "sample string 3",
    "BatchNo": "sample string 4",
    "Qty": 1.0,
    "Barcode": "sample string 5",
    "OuterNo": "sample string 6",
    "PalletNo": "sample string 7",
    "UnitId": 1,
    "BarcodeCreatedDate": "2024-04-28T18:23:12.0049499+00:00",
    "OuterCreatedDate": "2024-04-28T18:23:12.0049499+00:00",
    "PalletCreatedDate": "2024-04-28T18:23:12.0049499+00:00",
    "SOID": "sample string 9",
    "InvoiceNo": "sample string 10",
    "PackingSlipId": "sample string 11",
    "BarcodePrint": "sample string 12",
    "OuterPrint": "sample string 13",
    "PalletPrint": "sample string 14",
    "TransDate": "2024-04-28T18:23:12.0049499+00:00",
    "BranchCode": 15,
    "VoucherNo": "sample string 16",
    "InventBatchId": 17,
    "SupplierGRNNo": "sample string 18",
    "UpdatedByIT": "sample string 19"
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_InventBatchTransDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <C_InventBatchTransDetail>
    <Barcode>sample string 5</Barcode>
    <BarcodeCreatedDate>2024-04-28T18:23:12.0049499+00:00</BarcodeCreatedDate>
    <BarcodePrint>sample string 12</BarcodePrint>
    <BatchNo>sample string 4</BatchNo>
    <BranchCode>15</BranchCode>
    <Id>1</Id>
    <InventBatchId>17</InventBatchId>
    <InvoiceNo>sample string 10</InvoiceNo>
    <ItemCode>sample string 3</ItemCode>
    <OuterCreatedDate>2024-04-28T18:23:12.0049499+00:00</OuterCreatedDate>
    <OuterNo>sample string 6</OuterNo>
    <OuterPrint>sample string 13</OuterPrint>
    <PackingSlipId>sample string 11</PackingSlipId>
    <PalletCreatedDate>2024-04-28T18:23:12.0049499+00:00</PalletCreatedDate>
    <PalletNo>sample string 7</PalletNo>
    <PalletPrint>sample string 14</PalletPrint>
    <Qty>1</Qty>
    <SOID>sample string 9</SOID>
    <SupplierGRNNo>sample string 18</SupplierGRNNo>
    <TransDate>2024-04-28T18:23:12.0049499+00:00</TransDate>
    <TransId>sample string 2</TransId>
    <UnitId>1</UnitId>
    <UpdatedByIT>sample string 19</UpdatedByIT>
    <VoucherNo>sample string 16</VoucherNo>
  </C_InventBatchTransDetail>
  <C_InventBatchTransDetail>
    <Barcode>sample string 5</Barcode>
    <BarcodeCreatedDate>2024-04-28T18:23:12.0049499+00:00</BarcodeCreatedDate>
    <BarcodePrint>sample string 12</BarcodePrint>
    <BatchNo>sample string 4</BatchNo>
    <BranchCode>15</BranchCode>
    <Id>1</Id>
    <InventBatchId>17</InventBatchId>
    <InvoiceNo>sample string 10</InvoiceNo>
    <ItemCode>sample string 3</ItemCode>
    <OuterCreatedDate>2024-04-28T18:23:12.0049499+00:00</OuterCreatedDate>
    <OuterNo>sample string 6</OuterNo>
    <OuterPrint>sample string 13</OuterPrint>
    <PackingSlipId>sample string 11</PackingSlipId>
    <PalletCreatedDate>2024-04-28T18:23:12.0049499+00:00</PalletCreatedDate>
    <PalletNo>sample string 7</PalletNo>
    <PalletPrint>sample string 14</PalletPrint>
    <Qty>1</Qty>
    <SOID>sample string 9</SOID>
    <SupplierGRNNo>sample string 18</SupplierGRNNo>
    <TransDate>2024-04-28T18:23:12.0049499+00:00</TransDate>
    <TransId>sample string 2</TransId>
    <UnitId>1</UnitId>
    <UpdatedByIT>sample string 19</UpdatedByIT>
    <VoucherNo>sample string 16</VoucherNo>
  </C_InventBatchTransDetail>
</ArrayOfC_InventBatchTransDetail>

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 'IEnumerable`1'.

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.