getChildNodesPattern

按照关键词,查找车辆、车轴或者全部的查找配件总成的树形结构。

请求

请求参数

名称 类型 必须 状态 说明
articleCountry String X 遵循 ISO 3166 标准的国家代码 国家代码
lang String X 遵循 ISO 639 标准的语言代码 语言代码
linkingTargetId Long 和关联类型对应的关联ID 与关联类型对应的关联ID
linkingTargetType String X 关联类型:
P:乘用车 O:商用车辆 M: 发动机 A: 车轴 K: 车身型式 U: 全部
关联类型
provider int X TecDoc 提供的 Provider ID Provider ID
searchPattern String X Child node search pattern 搜索关键词

JSON Input

{
  "getChildNodesPattern": {
    "articleCountry": "CN",
    "linkingTargetId": 100243,
    "linkingTargetType": "P",
    "searchPattern": "Air",
    "lang": "EN",
    "provider": "Your provider ID"
  }
}

响应

主要数据

名称 类型 说明
assemblyGroupName String 配件总成名称
assemblyGroupNodeId Long 配件总成节点 ID
parentNodeId Long 父节点,null则为根节点

响应包装

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

JSON Output

{
  "data": {
    "array": [
      {
        "assemblyGroupName": "Electrics",
        "assemblyGroupNodeId": 100010,
        "parentNodeId": 0
      },
      {
        "assemblyGroupName": "Engine",
        "assemblyGroupNodeId": 100002,
        "parentNodeId": 0
      },
      {
        "assemblyGroupName": "Filters",
        "assemblyGroupNodeId": 100005,
        "parentNodeId": 0
      },
      {
        "assemblyGroupName": "Heater",
        "assemblyGroupNodeId": 100241,
        "parentNodeId": 0
      },
      {
        "assemblyGroupName": "Maintenance Service Parts",
        "assemblyGroupNodeId": 100019,
        "parentNodeId": 0
      },
      {
        "assemblyGroupName": "Motorcycle",
        "assemblyGroupNodeId": 103671,
        "parentNodeId": 0
      },
      {
        "assemblyGroupName": "Engine Air Supply",
        "assemblyGroupNodeId": 100383,
        "parentNodeId": 100002
      },
      {
        "assemblyGroupName": "Air Filter",
        "assemblyGroupNodeId": 100260,
        "parentNodeId": 100005
      },
      {
        "assemblyGroupName": "Air Filter, passenger compartment",
        "assemblyGroupNodeId": 100263,
        "parentNodeId": 100005
      },
      {
        "assemblyGroupName": "Battery",
        "assemblyGroupNodeId": 100042,
        "parentNodeId": 100010
      },
      {
        "assemblyGroupName": "Additional Repairs",
        "assemblyGroupNodeId": 100598,
        "parentNodeId": 100019
      },
      {
        "assemblyGroupName": "Service Intervals",
        "assemblyGroupNodeId": 100597,
        "parentNodeId": 100019
      },
      {
        "assemblyGroupName": "Air Filter, passenger compartment",
        "assemblyGroupNodeId": 100346,
        "parentNodeId": 100241
      },
      {
        "assemblyGroupName": "Air Filter\/ Housing",
        "assemblyGroupNodeId": 100384,
        "parentNodeId": 100383
      },
      {
        "assemblyGroupName": "Electrics",
        "assemblyGroupNodeId": 103952,
        "parentNodeId": 103671
      },
      {
        "assemblyGroupName": "Filters",
        "assemblyGroupNodeId": 103777,
        "parentNodeId": 103671
      },
      {
        "assemblyGroupName": "Air Filter",
        "assemblyGroupNodeId": 103780,
        "parentNodeId": 103777
      },
      {
        "assemblyGroupName": "Battery",
        "assemblyGroupNodeId": 103966,
        "parentNodeId": 103952
      }
    ]
  },
  "status": 200
}