1. Inventory
V8STD
  • Index
  • Inventory
    • TrfRsAdj
      POST
    • GRConfirm
      POST
    • ItemStockOnHand
      POST
    • GRUpdate
      POST
    • QtyAdj
      POST
    • TrfRsOut
      POST
    • QtyAdjConfirm
      POST
    • StkCntUpdate
      POST
    • GoodsReturnUpdate
      POST
    • GoodsReturnConfirm
      POST
    • TrfRsIn
      POST
    • TrfReqConfirm
      POST
    • TrfReq
      POST
    • POUpdate
      POST
    • POStatusChange
      POST
    • TrfRsConfirm
      POST
  • Inventory Enquiry
    • enq_TrfRsOsNote
      POST
    • enq_TrfRs
      POST
  • Master
    • itemSearchTTPos
      POST
  • Master Export
    • barCodeExport
      POST
    • storeExport
      POST
    • staffExport
      POST
    • ReasonExport
      POST
    • itemPriceExport
      POST
    • itemMasterExport
      POST
    • tenderExport
      POST
  • Master Import
    • itemPriceImport
    • barcodeImport
    • itemMasterImport
    • staffImport
  • Sales
    • salesTransStd
    • salesValidate
    • salesVoid
    • salesMemoStdEnquiry
  • Vip
    • vipBonusAdjustVipStd
    • vipSearchVipStd
    • vipMasterBasicCreateVipStd
    • vipBonusEnquiryVipStd
  • Device Login
    • Get_APIKEY
  1. Inventory

QtyAdjConfirm

测试中
POST
/posservice/rest/qtyadj/confirm
QtyAdjConfirm 库存调整状态确认
该接口更新库存调整单据状态 : 10-暫存,20-提交,30-確認
This interface updates the inventory adjustment document status: 10- Temporary, 20- Submitted, 30- Confirmed

请求参数

Authorization
在 header 添加参数
apiKey
示例:
apiKey: ********************
Body 参数application/json

示例
{
    "confirm": {
        "staffCode": "ADMIN",
        "originalDocStatus": "20",
        "newDocStatus": "30"
    },
    "transHdr": {
        "txDate": "2023-01-01 16:00:00",
        "ledgerDatetime": "2023-01-01 16:00:00",
        "programName": "BACKEND",
        "storeCode": "BJ001",
        "tillId": "00",
        "docType": "QA",
        "staffCode": "ADMIN",
        "docNo": "QAIXHO221100027",
        "orgPrefix": "HQ",
        "version": 1
    },
    "apiKey": "{{apiKey}}"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/posservice/rest/qtyadj/confirm' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "confirm": {
        "staffCode": "ADMIN",
        "originalDocStatus": "20",
        "newDocStatus": "30"
    },
    "transHdr": {
        "txDate": "2023-01-01 16:00:00",
        "ledgerDatetime": "2023-01-01 16:00:00",
        "programName": "BACKEND",
        "storeCode": "BJ001",
        "tillId": "00",
        "docType": "QA",
        "staffCode": "ADMIN",
        "docNo": "QAIXHO221100027",
        "orgPrefix": "HQ",
        "version": 1
    },
    "apiKey": "{{apiKey}}"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "asynCode": null,
    "asynMessage": null,
    "asynStatus": 0,
    "className": "com.techtrans.api.inventory.adjustment.website.QtyAdjConfirmResponse",
    "errorCode": 0,
    "errorLog": null,
    "errorMessage": null
}
修改于 2025-09-10 08:39:19
上一页
TrfRsOut
下一页
StkCntUpdate
Built with