Http方法:POST
路由:api/Base_ProductInfo/GetById/{id}

通过ID获取单条数据

请求参数

参数名称参数描述类型附加信息
id

id

integer

Required

返回响应信息

通过ID获取单条数据

ProductInfoModel
参数名称参数描述类型附加信息
Product_Id

商品ID

integer

None

Consignor_Id

货主ID

integer

None

ConsignorCode

货主编号

string

None

ConsignorName

货主名称

string

None

ProductCode

商品编号

string

None

ProductName

商品名称

string

None

ProductModel

条形码

string

None

Brand_Id

品牌ID

integer

None

BrandName

品牌名

string

None

Type_Id

类别ID

integer

None

TypeName

类别名称

string

None

Provider_Id

默认供应商ID

integer

None

ProviderCode

默认供应商编号

string

None

ProviderShortName

默认供应商

string

None

ProductSpec

商品规格

string

None

SmallUnit

小单位

string

None

BigUnit

大单位

string

None

CIQName

English Name

string

None

MiddleUnit

中单位

string

None

MiddleBarcode

中单位条码

string

None

BigBarcode

大单位条码

string

None

MiddleUnitConvert

中单位换算

decimal number

None

UnitConvert

大单位换算

decimal number

None

RelationCode

关联编码

string

None

RelationCode2

关联编码2

string

None

RelationCode3

关联编码3

string

None

RelationCode4

关联编码4

string

None

RelationCode5

关联编码5

string

None

ProductBarCode

商品型号

string

None

BatchAttribute

批次属性

string

None

ShelfLifeYear

保质期(年)

decimal number

None

ShelfLifeApril

保质期(月)

decimal number

None

ShelfLifeDay

保质期(天)

decimal number

None

Long

长(毫米)

decimal number

None

Wide

宽(毫米)

decimal number

None

High

高(毫米)

decimal number

None

PositionName

默认货位

string

None

NetWeight

净重(克)

string

None

Weight

毛重(克)

string

None

QualityPlan

质检方案

string

None

QualityProportion

质检比例

decimal number

None

PackageNumber

包装件数

integer

None

IsNeedPeriod

是否需效期管理

string

None

StopSaleday

停售提前时长(天)

string

None

CustomsCode

海关编码

string

None

TrafficLimitation

运输限制信息

string

None

Remark

备注

string

None

PurchasePrice

采购价

decimal number

None

DayPrice

销售价

decimal number

None

SalePrice

市场价

decimal number

None

VipPrice

VIP价

decimal number

None

ActivityPrice

活动价

decimal number

None

ProductDesc

商品描述

string

None

Labels

标签

string

None

IsFullContainerLoad

拆分出整拣单

byte

None

StorageUpper

库存上限

decimal number

None

StorageLower

库存下限

decimal number

None

Enable

string

None

TypeId

integer

None

ImageList

string

None

OpenSpec

开启规格

byte

None

Response Formats

application/json, text/json

Sample:
{
  "Product_Id": 1,
  "Consignor_Id": 1,
  "ConsignorCode": "sample string 2",
  "ConsignorName": "sample string 3",
  "ProductCode": "sample string 4",
  "ProductName": "sample string 5",
  "ProductModel": "sample string 6",
  "Brand_Id": 1,
  "BrandName": "sample string 7",
  "Type_Id": 1,
  "TypeName": "sample string 8",
  "Provider_Id": 1,
  "ProviderCode": "sample string 9",
  "ProviderShortName": "sample string 10",
  "ProductSpec": "sample string 11",
  "SmallUnit": "sample string 12",
  "BigUnit": "sample string 13",
  "CIQName": "sample string 14",
  "MiddleUnit": "sample string 15",
  "MiddleBarcode": "sample string 16",
  "BigBarcode": "sample string 17",
  "MiddleUnitConvert": 1.0,
  "UnitConvert": 1.0,
  "RelationCode": "sample string 18",
  "RelationCode2": "sample string 19",
  "RelationCode3": "sample string 20",
  "RelationCode4": "sample string 21",
  "RelationCode5": "sample string 22",
  "ProductBarCode": "sample string 23",
  "BatchAttribute": "sample string 24",
  "ShelfLifeYear": 1.0,
  "ShelfLifeApril": 1.0,
  "ShelfLifeDay": 1.0,
  "Long": 1.0,
  "Wide": 1.0,
  "High": 1.0,
  "PositionName": "sample string 25",
  "NetWeight": "sample string 26",
  "Weight": "sample string 27",
  "QualityPlan": "sample string 28",
  "QualityProportion": 1.0,
  "PackageNumber": 1,
  "IsNeedPeriod": "sample string 29",
  "StopSaleday": "sample string 30",
  "CustomsCode": "sample string 31",
  "TrafficLimitation": "sample string 32",
  "Remark": "sample string 33",
  "PurchasePrice": 1.0,
  "DayPrice": 1.0,
  "SalePrice": 1.0,
  "VipPrice": 1.0,
  "ActivityPrice": 1.0,
  "ProductDesc": "sample string 34",
  "Labels": "sample string 35",
  "IsFullContainerLoad": 64,
  "StorageUpper": 1.0,
  "StorageLower": 1.0,
  "Enable": "sample string 36",
  "TypeId": 37,
  "ImageList": "sample string 38",
  "OpenSpec": 64
}