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

通过ID获取单条数据

请求参数

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

id

integer

Required

返回响应信息

通过ID获取单条数据

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

商品规格ID

integer

None

Product_Id

商品ID

integer

None

ProductCode

编号

string

None

ProductName

商品名称

string

None

Specification_Id

规格ID

integer

None

SpecificationName

规格名称

string

None

OrderNo

排序号

integer

None

CreateID

创建人ID

integer

None

Creator

创建人

string

None

CreateDate

创建时间

date

None

ModifyID

修改人ID

integer

None

Modifier

修改人

string

None

ModifyDate

修改时间

date

None

Enable

是否可用

integer

None

Base_ProductInfo_SpecValueRelation

Collection of Base_ProductInfo_SpecValueRelation

None

RecordAction

记录操作动作

RecordAction

None

Response Formats

application/json, text/json

Sample:
{
  "SpecRelation_Id": 1,
  "Product_Id": 2,
  "ProductCode": "sample string 3",
  "ProductName": "sample string 4",
  "Specification_Id": 5,
  "SpecificationName": "sample string 6",
  "OrderNo": 1,
  "CreateID": 1,
  "Creator": "sample string 7",
  "CreateDate": "2024-04-25T15:54:36.5750165+08:00",
  "ModifyID": 1,
  "Modifier": "sample string 8",
  "ModifyDate": "2024-04-25T15:54:36.5750165+08:00",
  "Enable": 1,
  "Base_ProductInfo_SpecValueRelation": [
    {
      "SpecValueRelation_Id": 1,
      "SpecRelation_Id": 2,
      "Product_Id": 3,
      "ProductCode": "sample string 4",
      "ProductName": "sample string 5",
      "Specification_Id": 6,
      "SpecificationName": "sample string 7",
      "SpecValue_Id": 8,
      "SpecValue": "sample string 9",
      "OrderNo": 1,
      "CreateID": 1,
      "Creator": "sample string 10",
      "CreateDate": "2024-04-25T15:54:36.5769748+08:00",
      "ModifyID": 1,
      "Modifier": "sample string 11",
      "ModifyDate": "2024-04-25T15:54:36.5769748+08:00",
      "Enable": 1,
      "RecordAction": 0
    },
    {
      "SpecValueRelation_Id": 1,
      "SpecRelation_Id": 2,
      "Product_Id": 3,
      "ProductCode": "sample string 4",
      "ProductName": "sample string 5",
      "Specification_Id": 6,
      "SpecificationName": "sample string 7",
      "SpecValue_Id": 8,
      "SpecValue": "sample string 9",
      "OrderNo": 1,
      "CreateID": 1,
      "Creator": "sample string 10",
      "CreateDate": "2024-04-25T15:54:36.5769748+08:00",
      "ModifyID": 1,
      "Modifier": "sample string 11",
      "ModifyDate": "2024-04-25T15:54:36.5769748+08:00",
      "Enable": 1,
      "RecordAction": 0
    },
    {
      "SpecValueRelation_Id": 1,
      "SpecRelation_Id": 2,
      "Product_Id": 3,
      "ProductCode": "sample string 4",
      "ProductName": "sample string 5",
      "Specification_Id": 6,
      "SpecificationName": "sample string 7",
      "SpecValue_Id": 8,
      "SpecValue": "sample string 9",
      "OrderNo": 1,
      "CreateID": 1,
      "Creator": "sample string 10",
      "CreateDate": "2024-04-25T15:54:36.5769748+08:00",
      "ModifyID": 1,
      "Modifier": "sample string 11",
      "ModifyDate": "2024-04-25T15:54:36.5769748+08:00",
      "Enable": 1,
      "RecordAction": 0
    }
  ],
  "RecordAction": 0
}