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

TrfRsIn

测试中
POST
/posservice/rest/trfrs/trfrsin
TrfRsIn 货品转入
该接口新增修改轉入單據内容信息,包括轉入日期、轉入店鋪、轉入貨品數量
The interface adds and modifies the content information of the transferred documents, including the transferred date, the transferred store, and the transferred quantity of items

请求参数

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

示例
{
    "hdr": {
        "txMethod": 32,
        "staffCode": "ADMIN",
        "docStatus": "30",
        "trfInDate": "2023-05-01 15:00:00",
        "trfInStore": "BJ002",
        "trfInInvttype": 0,
        "trfInReplFlag": "0"
    },
    "deleteDtl": [],
    "modifyDtl": [
        {
            "txMethod": 32,
            "docRowID": 1,
            "itemOrgID": "000000",
            "styleCode": "10001111",
            "itemLotNum": "*",
            "itemCartonNum": "1",
            "qty": 10.0
        }
    ],
    "newDtl": [],
    "lotNumMode": 0,
    "transHdr": {
        "txDate": "2023-05-01 15:00:00",
        "ledgerDatetime": "2023-05-01 15:23:11",
        "programName": "BACKEND",
        "storeCode": "BJ002",
        "tillId": "00",
        "docType": "TN",
        "staffCode": "ADMIN",
        "docNo": "TUWAP1002307000001",
        "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/trfrs/trfrsin' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "hdr": {
        "txMethod": 32,
        "staffCode": "ADMIN",
        "docStatus": "30",
        "trfInDate": "2023-05-01 15:00:00",
        "trfInStore": "BJ002",
        "trfInInvttype": 0,
        "trfInReplFlag": "0"
    },
    "deleteDtl": [],
    "modifyDtl": [
        {
            "txMethod": 32,
            "docRowID": 1,
            "itemOrgID": "000000",
            "styleCode": "10001111",
            "itemLotNum": "*",
            "itemCartonNum": "1",
            "qty": 10.0
        }
    ],
    "newDtl": [],
    "lotNumMode": 0,
    "transHdr": {
        "txDate": "2023-05-01 15:00:00",
        "ledgerDatetime": "2023-05-01 15:23:11",
        "programName": "BACKEND",
        "storeCode": "BJ002",
        "tillId": "00",
        "docType": "TN",
        "staffCode": "ADMIN",
        "docNo": "TUWAP1002307000001",
        "orgPrefix": "HQ",
        "version": 1
    },
    "apiKey": "{{apiKey}}"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "asynCode": null,
    "asynMessage": null,
    "asynStatus": 0,
    "className": "com.techtrans.api.inventory.stocktransfer.website.TrfRsInResponse",
    "errorCode": 0,
    "errorLog": null,
    "errorMessage": null
}
🟢200处理数据失败
🟠404响应失败
修改于 2024-09-30 04:23:34
上一页
GoodsReturnConfirm
下一页
TrfReqConfirm
Built with