PMS


固网变更-第二步 提交资源方案

提交资源信息

  • 固网变更-第二部 提交资源方案

请求

POST /boss/order/modifyResource

请求体

参数 类型 是否必须 描述
orderId string 订单ID
offerId string 资源方案id
oldOfferId string 原资源方案id
resources array 新资源信息列表
resources.storeId string 所在仓库ID
resources.storeName string 所在仓库名称
resources.serialNo string 设备序列号
resources.chipId string CHIP_ID
resources.resTypeId string 资源类型ID
resources.resTypeName string 资源类型名称
resources.resSkuId string 资源型号ID
resources.resSkuName string 资源型号名称
resources.resUseMode string 用途ID
resources.resUseModeName string 用途名称
resources.mac string MAC地址
resources.cmmac string CMMAC
resources.isOld int 是否为原资源方案 1 是
oldResources array 原资源信息列表
oldResources.storeId string 所在仓库ID
oldResources.storeName string 所在仓库名称
oldResources.serialNo string 设备序列号
oldResources.chipId string CHIP_ID
oldResources.resTypeId string 资源类型ID
oldResources.resTypeName string 资源类型名称
oldResources.resSkuId string 资源型号ID
oldResources.resSkuName string 资源型号名称
oldResources.resUseMode string 用途ID
oldResources.resUseModeName string 用途名称
oldResources.mac string MAC地址
oldResources.cmmac string CMMAC
oldResources.type int 老资源处理方式 1 领用 2 回收 3 保留
oldResources.resInnetMode String 资源来源

示例

{
  "orderId": "123456",
  "resources": [
    {
      "storeId": "001",
      "storeName": "北京仓库",
      "deviceSerialNo": "A123456",
      "chipId": "001",
      "resourceTypeId": "001",
      "resourceTypeName": "电脑",
      "resourceModelId": "001",
      "resourceModelName": "ThinkPad X1 Carbon",
      "usageId": "001",
      "usageName": "办公",
      "macAddress": "00-11-22-33-44-55",
      "cmmac": "001"
    }
  ]
}

响应

成功

参数 类型 描述
code integer 返回码,20000表示成功
data object 返回数据,通常为空

失败

参数 类型 描述
code integer 返回码,非20000表示失败
data object 返回数据,通常为空

示例

{
  "code": 0,
  "data": {}
}

页面列表

ITEM_HTML