getGenericArticles

查找产品组。

请求

请求参数

名称 类型 必须 状态 说明
articleCountry String 遵循 ISO 3166 标准的国家代码 产品国家
lang String X 遵循 ISO 639 标准的语言代码 语言代码
linked boolean X 如果为true,只查找关联的产品组 是否只查找关联的产品组
linkingTargetId Long 如果linked为true:
与关联类型对应的关联ID
与关联类型对应的关联ID
linkingTargetType String 如果 linked设为true:
关联类型:
P:乘用车 O:商用车辆 M: 发动机 A: 车轴 K: 车身型式 U: 全部
关联类型
provider int X TecDoc 提供的 Provider ID Provider ID
searchTreeNodes boolean X 如果为true,获取搜索树的节点 是否获取搜索树的节点

JSON Input

{
  "getGenericArticles": {
    "articleCountry": "CN",
    "lang": "EN",
    "provider": "Your provider ID",
    "searchTreeNodes": true
  }
}

响应

主要数据

名称 类型 说明
assemblyGroup String 指定的配件总成
designation String 指定的产品组
genericArticleId Long 产品组 ID
masterDesignation String 父级产品组
searchTreeNodeId Long 搜索树节点 ID
usageDesignation String 产品组的 Usage designation

响应包装

名称 类型 说明
data GenericArticlesRecordSeq 成员为指定类型的数组
status int HTML 状态码
statusText String 如果状态码大于 200 会包含错误信息

JSON Output

{
  "data": {
    "array": [
      {
        "assemblyGroup": "Starter System",
        "designation": "Starter Battery",
        "genericArticleId": 1,
        "masterDesignation": "Battery"
      },
      {
        "assemblyGroup": "Starter System",
        "designation": "Starter",
        "genericArticleId": 2,
        "masterDesignation": "Starter"
      },
      //...
      {
        "assemblyGroup": "Alternator",
        "designation": "Alternator",
        "genericArticleId": 4,
        "masterDesignation": "Alternator"
      },
      {
        "assemblyGroup": "Final Drive",
        "designation": "Joint Kit, drive shaft",
        "genericArticleId": 5,
        "masterDesignation": "Joint Kit",
        "usageDesignation": "Drive Shaft"
      },
      {
        "assemblyGroup": "Lubrication",
        "designation": "Oil Filter",
        "genericArticleId": 7,
        "masterDesignation": "Filter",
        "usageDesignation": "Engine Oil"
      },
      {
        "assemblyGroup": "Air Supply",
        "designation": "Air Filter",
        "genericArticleId": 8,
        "masterDesignation": "Filter",
        "usageDesignation": "Air"
      },
      {
        "assemblyGroup": "Fuel Supply System",
        "designation": "Fuel filter",
        "genericArticleId": 9,
        "masterDesignation": "Filter",
        "usageDesignation": "Fuel"
      },
      {
        "assemblyGroup": "Machining Equipment",
        "designation": "Handle, pump spray can",
        "genericArticleId": 7245,
        "masterDesignation": "Handle",
        "usageDesignation": "Pump Spray Can"
      }
    ]
  },
  "status": 200
}