POST api/Direct/Stock

直联数据(库存)

请求的信息

URI参数

None.

Body参数

入参

DirectStockInfo
名称描述类型其它信息
para

库存数据入参数据

DirectStockInfoData

None.

appKey

[必传参数]直联商户编码

string

None.

timeStamp

[必传参数]请求时间戳

string

None.

version

[必传参数]版本号

string

None.

sign

[必传参数]数字签名

string

None.

请求格式

application/json, text/json

Sample:
{
  "para": {
    "$id": "2",
    "productID": "sample string 1",
    "werks": "sample string 2",
    "budat": "sample string 3"
  },
  "appKey": "sample string 1",
  "timeStamp": "sample string 2",
  "version": "sample string 3",
  "sign": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

响应信息

资源描述

CustomJsonResultOfDirectStockModel
名称描述类型其它信息
Content

DirectStockModel

None.

响应格式

application/json, text/json

Sample:
{
  "content": {
    "$id": "2",
    "data": {
      "$id": "3"
    },
    "customStatus": 10,
    "customMessage": "sample string 2"
  }
}