username:password
Authorization: Basic *****************
{
"pk_reserve": "string",
"pk_prereserve": "string",
"pk_handreserve": "string",
"vrescode": "string",
"vreqbillcode": "string",
"creqbillrowno": "string",
"creqbillid": "string",
"creqbillbid": "string",
"creqbilltype": "string",
"creqtranstype": "string",
"dreqdate": "string",
"pk_group": "string",
"pk_org_v": "string",
"pk_org": "string",
"cwarehouseid": "string",
"clocationid": "string",
"cmaterialvid": "string",
"cmaterialoid": "string",
"cunitid": "string",
"pk_batchcode": "string",
"vbatchcode": "string",
"ctplcustomerid": "string",
"cvendorid": "string",
"cprojectid": "string",
"casscustid": "string",
"cproductorid": "string",
"vhashcode": "string",
"nreqnum": 0,
"ntaloutnum": 0,
"ntalrsinnum": 0,
"ntalrsoutnum": 0,
"ntalrsnum": 0,
"csourcetype": "string",
"csourcebillid": "string",
"csourcebillbid": "string",
"freservetype": 0,
"ccustomerid": "string",
"cbizid": "string",
"billmaker": "string",
"reqbillrowts": "string",
"fresstate": 0,
"bsysflag": true,
"nrsnum": 0,
"nlacknum": 0,
"nreqrsnum": 0,
"saga_gtxid": "string",
"saga_btxid": "string",
"saga_frozen": 0,
"saga_status": 0,
"ctplcustomervid": "string",
"cvendorvid": "string",
"casscustvid": "string",
"ccustomervid": "string",
"vfree1": "string",
"vfree2": "string",
"vfree3": "string",
"vfree4": "string",
"vfree5": "string",
"vfree6": "string",
"vfree7": "string",
"vfree8": "string",
"vfree9": "string",
"vfree10": "string",
"creator": "string",
"creationtime": "2019-08-24T14:15:22Z",
"modifier": "string",
"modifiedtime": "2019-08-24T14:15:22Z"
}
curl --location --request POST 'http://172.16.18.160:9000/masterapi/api/v1/BatchStock/PostReserve' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"pk_reserve": "string",
"pk_prereserve": "string",
"pk_handreserve": "string",
"vrescode": "string",
"vreqbillcode": "string",
"creqbillrowno": "string",
"creqbillid": "string",
"creqbillbid": "string",
"creqbilltype": "string",
"creqtranstype": "string",
"dreqdate": "string",
"pk_group": "string",
"pk_org_v": "string",
"pk_org": "string",
"cwarehouseid": "string",
"clocationid": "string",
"cmaterialvid": "string",
"cmaterialoid": "string",
"cunitid": "string",
"pk_batchcode": "string",
"vbatchcode": "string",
"ctplcustomerid": "string",
"cvendorid": "string",
"cprojectid": "string",
"casscustid": "string",
"cproductorid": "string",
"vhashcode": "string",
"nreqnum": 0,
"ntaloutnum": 0,
"ntalrsinnum": 0,
"ntalrsoutnum": 0,
"ntalrsnum": 0,
"csourcetype": "string",
"csourcebillid": "string",
"csourcebillbid": "string",
"freservetype": 0,
"ccustomerid": "string",
"cbizid": "string",
"billmaker": "string",
"reqbillrowts": "string",
"fresstate": 0,
"bsysflag": true,
"nrsnum": 0,
"nlacknum": 0,
"nreqrsnum": 0,
"saga_gtxid": "string",
"saga_btxid": "string",
"saga_frozen": 0,
"saga_status": 0,
"ctplcustomervid": "string",
"cvendorvid": "string",
"casscustvid": "string",
"ccustomervid": "string",
"vfree1": "string",
"vfree2": "string",
"vfree3": "string",
"vfree4": "string",
"vfree5": "string",
"vfree6": "string",
"vfree7": "string",
"vfree8": "string",
"vfree9": "string",
"vfree10": "string",
"creator": "string",
"creationtime": "2019-08-24T14:15:22Z",
"modifier": "string",
"modifiedtime": "2019-08-24T14:15:22Z"
}'
{
"code": 0,
"message": "string",
"success": true
}