GET api/material/product/GetProductStructInfo?id={id}

获取产品零部件结构信息 包含零部件的Id、名称、数量等信息

请求信息

URI 参数

名称说明类型其他信息
id

产品Id

string

Required

Body 参数

None.

响应信息

响应说明

ResponseExOfListOfProductStructInfoModel
名称说明类型其他信息
StatusCode

状态码

ResponseStatusCode

None.

Message

信息

string

None.

Data

数据

Collection of ProductStructInfoModel

None.

响应格式

application/json, text/json

Sample:
{
  "StatusCode": 0,
  "Message": "sample string 1",
  "Data": [
    {
      "SortNumber": "sample string 1",
      "SortLevel": 2,
      "ProductId": "sample string 3",
      "ProductAssemblyId": "sample string 4",
      "AssemblySelfContainId": "sample string 5",
      "AssemblySelfContainQuantity": 1,
      "AssemblySelfContainQuantitySubtotal": 1,
      "ParentAssemblyId": "sample string 6",
      "AssemblyId": "sample string 7",
      "AssemblyEncode": "sample string 8",
      "AssemblyName": "sample string 9",
      "ProductAssemblyQuantity": 1,
      "AssemblyPartId": "sample string 10",
      "AssemblyPartQuantity": 1,
      "AssemblyPartQuantitySubtotal": 1,
      "ProductPartId": "sample string 11",
      "PartId": "sample string 12",
      "PartEncode": "sample string 13",
      "PartName": "sample string 14",
      "PartCost": 1.0,
      "PartPrice": 1.0,
      "MaterialName": "sample string 15",
      "UnitName": "sample string 16",
      "ProductPartQuantity": 1,
      "DataTypeName": "sample string 17",
      "DataType": 0,
      "AssemblyPath": "sample string 18",
      "AssemblyCost": 1.0,
      "AssemblyPrice": 1.0
    },
    {
      "SortNumber": "sample string 1",
      "SortLevel": 2,
      "ProductId": "sample string 3",
      "ProductAssemblyId": "sample string 4",
      "AssemblySelfContainId": "sample string 5",
      "AssemblySelfContainQuantity": 1,
      "AssemblySelfContainQuantitySubtotal": 1,
      "ParentAssemblyId": "sample string 6",
      "AssemblyId": "sample string 7",
      "AssemblyEncode": "sample string 8",
      "AssemblyName": "sample string 9",
      "ProductAssemblyQuantity": 1,
      "AssemblyPartId": "sample string 10",
      "AssemblyPartQuantity": 1,
      "AssemblyPartQuantitySubtotal": 1,
      "ProductPartId": "sample string 11",
      "PartId": "sample string 12",
      "PartEncode": "sample string 13",
      "PartName": "sample string 14",
      "PartCost": 1.0,
      "PartPrice": 1.0,
      "MaterialName": "sample string 15",
      "UnitName": "sample string 16",
      "ProductPartQuantity": 1,
      "DataTypeName": "sample string 17",
      "DataType": 0,
      "AssemblyPath": "sample string 18",
      "AssemblyCost": 1.0,
      "AssemblyPrice": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseExOfArrayOfProductStructInfoModelyAzhP_Peq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.WebApi.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.IBLL">
    <d2p1:ProductStructInfoModel>
      <d2p1:AssemblyCost>1</d2p1:AssemblyCost>
      <d2p1:AssemblyEncode>sample string 8</d2p1:AssemblyEncode>
      <d2p1:AssemblyId>sample string 7</d2p1:AssemblyId>
      <d2p1:AssemblyName>sample string 9</d2p1:AssemblyName>
      <d2p1:AssemblyPartId>sample string 10</d2p1:AssemblyPartId>
      <d2p1:AssemblyPartQuantity>1</d2p1:AssemblyPartQuantity>
      <d2p1:AssemblyPartQuantitySubtotal>1</d2p1:AssemblyPartQuantitySubtotal>
      <d2p1:AssemblyPath>sample string 18</d2p1:AssemblyPath>
      <d2p1:AssemblyPrice>1</d2p1:AssemblyPrice>
      <d2p1:AssemblySelfContainId>sample string 5</d2p1:AssemblySelfContainId>
      <d2p1:AssemblySelfContainQuantity>1</d2p1:AssemblySelfContainQuantity>
      <d2p1:AssemblySelfContainQuantitySubtotal>1</d2p1:AssemblySelfContainQuantitySubtotal>
      <d2p1:DataType>ProductPart</d2p1:DataType>
      <d2p1:DataTypeName>sample string 17</d2p1:DataTypeName>
      <d2p1:MaterialName>sample string 15</d2p1:MaterialName>
      <d2p1:ParentAssemblyId>sample string 6</d2p1:ParentAssemblyId>
      <d2p1:PartCost>1</d2p1:PartCost>
      <d2p1:PartEncode>sample string 13</d2p1:PartEncode>
      <d2p1:PartId>sample string 12</d2p1:PartId>
      <d2p1:PartName>sample string 14</d2p1:PartName>
      <d2p1:PartPrice>1</d2p1:PartPrice>
      <d2p1:ProductAssemblyId>sample string 4</d2p1:ProductAssemblyId>
      <d2p1:ProductAssemblyQuantity>1</d2p1:ProductAssemblyQuantity>
      <d2p1:ProductId>sample string 3</d2p1:ProductId>
      <d2p1:ProductPartId>sample string 11</d2p1:ProductPartId>
      <d2p1:ProductPartQuantity>1</d2p1:ProductPartQuantity>
      <d2p1:SortLevel>2</d2p1:SortLevel>
      <d2p1:SortNumber>sample string 1</d2p1:SortNumber>
      <d2p1:UnitName>sample string 16</d2p1:UnitName>
    </d2p1:ProductStructInfoModel>
    <d2p1:ProductStructInfoModel>
      <d2p1:AssemblyCost>1</d2p1:AssemblyCost>
      <d2p1:AssemblyEncode>sample string 8</d2p1:AssemblyEncode>
      <d2p1:AssemblyId>sample string 7</d2p1:AssemblyId>
      <d2p1:AssemblyName>sample string 9</d2p1:AssemblyName>
      <d2p1:AssemblyPartId>sample string 10</d2p1:AssemblyPartId>
      <d2p1:AssemblyPartQuantity>1</d2p1:AssemblyPartQuantity>
      <d2p1:AssemblyPartQuantitySubtotal>1</d2p1:AssemblyPartQuantitySubtotal>
      <d2p1:AssemblyPath>sample string 18</d2p1:AssemblyPath>
      <d2p1:AssemblyPrice>1</d2p1:AssemblyPrice>
      <d2p1:AssemblySelfContainId>sample string 5</d2p1:AssemblySelfContainId>
      <d2p1:AssemblySelfContainQuantity>1</d2p1:AssemblySelfContainQuantity>
      <d2p1:AssemblySelfContainQuantitySubtotal>1</d2p1:AssemblySelfContainQuantitySubtotal>
      <d2p1:DataType>ProductPart</d2p1:DataType>
      <d2p1:DataTypeName>sample string 17</d2p1:DataTypeName>
      <d2p1:MaterialName>sample string 15</d2p1:MaterialName>
      <d2p1:ParentAssemblyId>sample string 6</d2p1:ParentAssemblyId>
      <d2p1:PartCost>1</d2p1:PartCost>
      <d2p1:PartEncode>sample string 13</d2p1:PartEncode>
      <d2p1:PartId>sample string 12</d2p1:PartId>
      <d2p1:PartName>sample string 14</d2p1:PartName>
      <d2p1:PartPrice>1</d2p1:PartPrice>
      <d2p1:ProductAssemblyId>sample string 4</d2p1:ProductAssemblyId>
      <d2p1:ProductAssemblyQuantity>1</d2p1:ProductAssemblyQuantity>
      <d2p1:ProductId>sample string 3</d2p1:ProductId>
      <d2p1:ProductPartId>sample string 11</d2p1:ProductPartId>
      <d2p1:ProductPartQuantity>1</d2p1:ProductPartQuantity>
      <d2p1:SortLevel>2</d2p1:SortLevel>
      <d2p1:SortNumber>sample string 1</d2p1:SortNumber>
      <d2p1:UnitName>sample string 16</d2p1:UnitName>
    </d2p1:ProductStructInfoModel>
  </Data>
  <Message>sample string 1</Message>
  <StatusCode>OK</StatusCode>
</ResponseExOfArrayOfProductStructInfoModelyAzhP_Peq>