POST U8API/GenerateBarCode
Request Information
URI Parameters
None.
Body Parameters
BarCodeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| VoucherCode | string |
None. |
|
| VoucherId | integer |
None. |
|
| VoucherType | string |
None. |
|
| BarCode | string |
None. |
|
| Maker | string |
None. |
|
| WhCode | string |
None. |
|
| BusDate | date |
None. |
|
| Overwrite | boolean |
None. |
|
| InvCode | string |
None. |
|
| InvName | string |
None. |
|
| InvAddCode | string |
None. |
|
| InvStd | string |
None. |
|
| Quantity | decimal number |
None. |
|
| Batch | string |
None. |
|
| CBatchProperty6 | string |
None. |
|
| CBatchProperty7 | string |
None. |
|
| CBatchProperty1 | decimal number |
None. |
|
| CBatchProperty2 | decimal number |
None. |
|
| CBatchProperty3 | decimal number |
None. |
|
| CDefine22 | string |
None. |
|
| CDefine29 | string |
None. |
|
| DMadeDate | date |
None. |
|
| DVDate | date |
None. |
|
| IMassDate | integer |
None. |
|
| ComUnitCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"VoucherCode": "sample string 1",
"VoucherId": 2,
"VoucherType": "sample string 3",
"BarCode": "sample string 4",
"Maker": "sample string 5",
"WhCode": "sample string 6",
"BusDate": "2026-04-28T15:22:47.119729+08:00",
"Overwrite": true,
"InvCode": "sample string 9",
"InvName": "sample string 10",
"InvAddCode": "sample string 11",
"InvStd": "sample string 12",
"Quantity": 13.0,
"Batch": "sample string 14",
"CBatchProperty6": "sample string 15",
"CBatchProperty7": "sample string 16",
"CBatchProperty1": 17.0,
"CBatchProperty2": 18.0,
"CBatchProperty3": 19.0,
"CDefine22": "sample string 20",
"CDefine29": "sample string 21",
"DMadeDate": "2026-04-28T15:22:47.119729+08:00",
"DVDate": "2026-04-28T15:22:47.119729+08:00",
"IMassDate": 22,
"ComUnitCode": "sample string 23"
}
application/xml, text/xml
Sample:
<BarCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/U8WebApi.Models.BarCode"> <BarCode>sample string 4</BarCode> <Batch>sample string 14</Batch> <BusDate>2026-04-28T15:22:47.119729+08:00</BusDate> <CBatchProperty1>17</CBatchProperty1> <CBatchProperty2>18</CBatchProperty2> <CBatchProperty3>19</CBatchProperty3> <CBatchProperty6>sample string 15</CBatchProperty6> <CBatchProperty7>sample string 16</CBatchProperty7> <CDefine22>sample string 20</CDefine22> <CDefine29>sample string 21</CDefine29> <ComUnitCode>sample string 23</ComUnitCode> <DMadeDate>2026-04-28T15:22:47.119729+08:00</DMadeDate> <DVDate>2026-04-28T15:22:47.119729+08:00</DVDate> <IMassDate>22</IMassDate> <InvAddCode>sample string 11</InvAddCode> <InvCode>sample string 9</InvCode> <InvName>sample string 10</InvName> <InvStd>sample string 12</InvStd> <Maker>sample string 5</Maker> <Overwrite>true</Overwrite> <Quantity>13</Quantity> <VoucherCode>sample string 1</VoucherCode> <VoucherId>2</VoucherId> <VoucherType>sample string 3</VoucherType> <WhCode>sample string 6</WhCode> </BarCodeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.