GET api/Vehicle/applicableParts?modificationId={modificationId}&categoryId={categoryId}&loadImages={loadImages}&loadProperties={loadProperties}&loadApplicableProperties={loadApplicableProperties}&loadOemCodes={loadOemCodes}&loadEanCodes={loadEanCodes}

Получить список применимых к модификации запчастей (деталей) по идентификатор модификации автомобиля и идентификатору категории

Request Information

URI Parameters

ИмяОписаниеТипДополнительная информация
modificationId

Идентификатор модификации автомобиля

integer

Required

categoryId

Идентификатор категории

integer

Required

loadImages

Получать изображения запчастей (деталей)

boolean

Default value is False

loadProperties

Получать свойства запчастей (деталей)

boolean

Default value is False

loadApplicableProperties

Получать свойства запчастей (деталей), относящихся к указанной модификации

boolean

Default value is False

loadOemCodes

Получать оригинальные кросс-коды запчастей (деталей)

boolean

Default value is False

loadEanCodes

Получать штрихкоды запчастей (деталей)

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Список запчастей (деталей)

Collection of ApplicablePartViewModel
ИмяОписаниеТипДополнительная информация
Id

Идентификатор

integer

None.

VendorPurifiedCode

Очищенный от спецсимволов код (артикул), содержащий символы из группы [a-zA-Zа-яА-Я0-9]

string

None.

VendorCode

Код (артикул)

string

None.

VendorName

Наименование производителя (бренд)

string

None.

Name

Описание

string

None.

Properties

Свойства

Collection of PropertyPropertyValueViewModel

None.

ApplicableProperties

Свойства для выбранной модификации

Collection of PropertyPropertyValueViewModel

None.

Images

Изображения

Collection of ImageViewModel

None.

OemCodes

Список оригинальных номеров

Collection of CrossCodeViewModel

None.

EanCodes

Список штрих-кодов

Collection of CrossCodeViewModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "VendorPurifiedCode": "sample string 2",
    "VendorCode": "sample string 3",
    "VendorName": "sample string 4",
    "Name": "sample string 5",
    "Properties": [
      {
        "Property": {
          "Rank": 1,
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "UnitName": "sample string 4"
        },
        "Values": [
          {
            "Rank": 1,
            "Value": "sample string 2"
          },
          {
            "Rank": 1,
            "Value": "sample string 2"
          }
        ]
      },
      {
        "Property": {
          "Rank": 1,
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "UnitName": "sample string 4"
        },
        "Values": [
          {
            "Rank": 1,
            "Value": "sample string 2"
          },
          {
            "Rank": 1,
            "Value": "sample string 2"
          }
        ]
      }
    ],
    "ApplicableProperties": [
      {
        "Property": {
          "Rank": 1,
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "UnitName": "sample string 4"
        },
        "Values": [
          {
            "Rank": 1,
            "Value": "sample string 2"
          },
          {
            "Rank": 1,
            "Value": "sample string 2"
          }
        ]
      },
      {
        "Property": {
          "Rank": 1,
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "UnitName": "sample string 4"
        },
        "Values": [
          {
            "Rank": 1,
            "Value": "sample string 2"
          },
          {
            "Rank": 1,
            "Value": "sample string 2"
          }
        ]
      }
    ],
    "Images": [
      {
        "Rank": 1,
        "Url": "sample string 2"
      },
      {
        "Rank": 1,
        "Url": "sample string 2"
      }
    ],
    "OemCodes": [
      {
        "Type": 1,
        "VendorPurifiedCode": "sample string 2",
        "VendorName": "sample string 3",
        "VendorCode": "sample string 4"
      },
      {
        "Type": 1,
        "VendorPurifiedCode": "sample string 2",
        "VendorName": "sample string 3",
        "VendorCode": "sample string 4"
      }
    ],
    "EanCodes": [
      {
        "Type": 1,
        "VendorPurifiedCode": "sample string 2",
        "VendorName": "sample string 3",
        "VendorCode": "sample string 4"
      },
      {
        "Type": 1,
        "VendorPurifiedCode": "sample string 2",
        "VendorName": "sample string 3",
        "VendorCode": "sample string 4"
      }
    ]
  },
  {
    "Id": 1,
    "VendorPurifiedCode": "sample string 2",
    "VendorCode": "sample string 3",
    "VendorName": "sample string 4",
    "Name": "sample string 5",
    "Properties": [
      {
        "Property": {
          "Rank": 1,
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "UnitName": "sample string 4"
        },
        "Values": [
          {
            "Rank": 1,
            "Value": "sample string 2"
          },
          {
            "Rank": 1,
            "Value": "sample string 2"
          }
        ]
      },
      {
        "Property": {
          "Rank": 1,
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "UnitName": "sample string 4"
        },
        "Values": [
          {
            "Rank": 1,
            "Value": "sample string 2"
          },
          {
            "Rank": 1,
            "Value": "sample string 2"
          }
        ]
      }
    ],
    "ApplicableProperties": [
      {
        "Property": {
          "Rank": 1,
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "UnitName": "sample string 4"
        },
        "Values": [
          {
            "Rank": 1,
            "Value": "sample string 2"
          },
          {
            "Rank": 1,
            "Value": "sample string 2"
          }
        ]
      },
      {
        "Property": {
          "Rank": 1,
          "Name": "sample string 2",
          "ShortName": "sample string 3",
          "UnitName": "sample string 4"
        },
        "Values": [
          {
            "Rank": 1,
            "Value": "sample string 2"
          },
          {
            "Rank": 1,
            "Value": "sample string 2"
          }
        ]
      }
    ],
    "Images": [
      {
        "Rank": 1,
        "Url": "sample string 2"
      },
      {
        "Rank": 1,
        "Url": "sample string 2"
      }
    ],
    "OemCodes": [
      {
        "Type": 1,
        "VendorPurifiedCode": "sample string 2",
        "VendorName": "sample string 3",
        "VendorCode": "sample string 4"
      },
      {
        "Type": 1,
        "VendorPurifiedCode": "sample string 2",
        "VendorName": "sample string 3",
        "VendorCode": "sample string 4"
      }
    ],
    "EanCodes": [
      {
        "Type": 1,
        "VendorPurifiedCode": "sample string 2",
        "VendorName": "sample string 3",
        "VendorCode": "sample string 4"
      },
      {
        "Type": 1,
        "VendorPurifiedCode": "sample string 2",
        "VendorName": "sample string 3",
        "VendorCode": "sample string 4"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfApplicablePartViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoCatalogApi.Models">
  <ApplicablePartViewModel>
    <ApplicableProperties>
      <PropertyPropertyValueViewModel>
        <Property>
          <Name>sample string 2</Name>
          <Rank>1</Rank>
          <ShortName>sample string 3</ShortName>
          <UnitName>sample string 4</UnitName>
        </Property>
        <Values>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
        </Values>
      </PropertyPropertyValueViewModel>
      <PropertyPropertyValueViewModel>
        <Property>
          <Name>sample string 2</Name>
          <Rank>1</Rank>
          <ShortName>sample string 3</ShortName>
          <UnitName>sample string 4</UnitName>
        </Property>
        <Values>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
        </Values>
      </PropertyPropertyValueViewModel>
    </ApplicableProperties>
    <EanCodes>
      <CrossCodeViewModel>
        <Type>1</Type>
        <VendorCode>sample string 4</VendorCode>
        <VendorName>sample string 3</VendorName>
        <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
      </CrossCodeViewModel>
      <CrossCodeViewModel>
        <Type>1</Type>
        <VendorCode>sample string 4</VendorCode>
        <VendorName>sample string 3</VendorName>
        <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
      </CrossCodeViewModel>
    </EanCodes>
    <Id>1</Id>
    <Images>
      <ImageViewModel>
        <Rank>1</Rank>
        <Url>sample string 2</Url>
      </ImageViewModel>
      <ImageViewModel>
        <Rank>1</Rank>
        <Url>sample string 2</Url>
      </ImageViewModel>
    </Images>
    <Name>sample string 5</Name>
    <OemCodes>
      <CrossCodeViewModel>
        <Type>1</Type>
        <VendorCode>sample string 4</VendorCode>
        <VendorName>sample string 3</VendorName>
        <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
      </CrossCodeViewModel>
      <CrossCodeViewModel>
        <Type>1</Type>
        <VendorCode>sample string 4</VendorCode>
        <VendorName>sample string 3</VendorName>
        <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
      </CrossCodeViewModel>
    </OemCodes>
    <Properties>
      <PropertyPropertyValueViewModel>
        <Property>
          <Name>sample string 2</Name>
          <Rank>1</Rank>
          <ShortName>sample string 3</ShortName>
          <UnitName>sample string 4</UnitName>
        </Property>
        <Values>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
        </Values>
      </PropertyPropertyValueViewModel>
      <PropertyPropertyValueViewModel>
        <Property>
          <Name>sample string 2</Name>
          <Rank>1</Rank>
          <ShortName>sample string 3</ShortName>
          <UnitName>sample string 4</UnitName>
        </Property>
        <Values>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
        </Values>
      </PropertyPropertyValueViewModel>
    </Properties>
    <VendorCode>sample string 3</VendorCode>
    <VendorName>sample string 4</VendorName>
    <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
  </ApplicablePartViewModel>
  <ApplicablePartViewModel>
    <ApplicableProperties>
      <PropertyPropertyValueViewModel>
        <Property>
          <Name>sample string 2</Name>
          <Rank>1</Rank>
          <ShortName>sample string 3</ShortName>
          <UnitName>sample string 4</UnitName>
        </Property>
        <Values>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
        </Values>
      </PropertyPropertyValueViewModel>
      <PropertyPropertyValueViewModel>
        <Property>
          <Name>sample string 2</Name>
          <Rank>1</Rank>
          <ShortName>sample string 3</ShortName>
          <UnitName>sample string 4</UnitName>
        </Property>
        <Values>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
        </Values>
      </PropertyPropertyValueViewModel>
    </ApplicableProperties>
    <EanCodes>
      <CrossCodeViewModel>
        <Type>1</Type>
        <VendorCode>sample string 4</VendorCode>
        <VendorName>sample string 3</VendorName>
        <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
      </CrossCodeViewModel>
      <CrossCodeViewModel>
        <Type>1</Type>
        <VendorCode>sample string 4</VendorCode>
        <VendorName>sample string 3</VendorName>
        <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
      </CrossCodeViewModel>
    </EanCodes>
    <Id>1</Id>
    <Images>
      <ImageViewModel>
        <Rank>1</Rank>
        <Url>sample string 2</Url>
      </ImageViewModel>
      <ImageViewModel>
        <Rank>1</Rank>
        <Url>sample string 2</Url>
      </ImageViewModel>
    </Images>
    <Name>sample string 5</Name>
    <OemCodes>
      <CrossCodeViewModel>
        <Type>1</Type>
        <VendorCode>sample string 4</VendorCode>
        <VendorName>sample string 3</VendorName>
        <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
      </CrossCodeViewModel>
      <CrossCodeViewModel>
        <Type>1</Type>
        <VendorCode>sample string 4</VendorCode>
        <VendorName>sample string 3</VendorName>
        <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
      </CrossCodeViewModel>
    </OemCodes>
    <Properties>
      <PropertyPropertyValueViewModel>
        <Property>
          <Name>sample string 2</Name>
          <Rank>1</Rank>
          <ShortName>sample string 3</ShortName>
          <UnitName>sample string 4</UnitName>
        </Property>
        <Values>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
        </Values>
      </PropertyPropertyValueViewModel>
      <PropertyPropertyValueViewModel>
        <Property>
          <Name>sample string 2</Name>
          <Rank>1</Rank>
          <ShortName>sample string 3</ShortName>
          <UnitName>sample string 4</UnitName>
        </Property>
        <Values>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
          <PropertyValueViewModel>
            <Rank>1</Rank>
            <Value>sample string 2</Value>
          </PropertyValueViewModel>
        </Values>
      </PropertyPropertyValueViewModel>
    </Properties>
    <VendorCode>sample string 3</VendorCode>
    <VendorName>sample string 4</VendorName>
    <VendorPurifiedCode>sample string 2</VendorPurifiedCode>
  </ApplicablePartViewModel>
</ArrayOfApplicablePartViewModel>