GET api/search/v2/Search?vendorCode={vendorCode}&vendor={vendor}&id={id}&password={password}&timeOut={timeOut}&excludeEmptyQuantities={excludeEmptyQuantities}&excludeEmptyPrices={excludeEmptyPrices}&webSeviceId[0]={webSeviceId[0]}&webSeviceId[1]={webSeviceId[1]}

Получить цены, наличие, сроки поставки товаров по коду и производителю

Описание запроса

Параметры URI

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

Артикул товара

string

Обязательное поле

vendor

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

string

Обязательное поле

id

Идентификатор пользователя

integer

Обязательное поле

password

Пароль пользователя

string

Обязательное поле

timeOut

Время ответа веб-сервиса поставщика в миллисекундах

integer

Значение по умолчанию 60000

excludeEmptyQuantities

Исключать из результатов поиска предложения с нулевым количеством

boolean

Значение по умолчанию True

excludeEmptyPrices

Исключать из результатов поиска предложения с нулевой ценой

boolean

Значение по умолчанию True

webSeviceId

Список идентификаторов веб-сервисов, ограничивающих область поиска

Коллекция integer

Нет

Параметры запроса

Нет

Описание ответа

Описание ресурса

Список запчастей (деталей), найденных по заданным артикулу (номеру) производителя и наименованию производителя (бренду), дополненный аналогами, содержащий информацию о наличии, ценах, сроках поставки и пр.

Коллекция PartOfferResponse2
ИмяОписаниеТипДополнительная информация
WebServiceId

integer

Нет

ContractorId

Идентификатор поставщика в вашей учетной системе

string

Нет

CurrencyCode

Код валюты поставщика

string

Нет

OffersGroups

Список товарных предложений в разрезе наименования производителя (бренда) поставщика

Коллекция PartOfferGroupView2

Нет

Форматы ответа

application/json, text/json

Пример:
[
  {
    "WebServiceId": 1,
    "ContractorId": "sample string 2",
    "CurrencyCode": "sample string 3",
    "OffersGroups": [
      {
        "VendorName": "sample string 1",
        "Offers": [
          {
            "OfferId": "sample string 1",
            "PartVendorCode": "sample string 2",
            "PartVendorPurifiedCode": "sample string 3",
            "PartVendorAlias": "sample string 4",
            "PartVendor": "sample string 5",
            "PartName": "sample string 6",
            "PartMeasureUnitName": "sample string 7",
            "PartSaleMultiplicity": 8.0,
            "StoreId": "sample string 9",
            "StoreUid": "fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558",
            "StoreName": "sample string 10",
            "StorePrice": 11.0,
            "StoreQuantityRepresentation": "sample string 12",
            "StoreQuantity": 13.0,
            "StoreDeliveryTime": 1.0
          },
          {
            "OfferId": "sample string 1",
            "PartVendorCode": "sample string 2",
            "PartVendorPurifiedCode": "sample string 3",
            "PartVendorAlias": "sample string 4",
            "PartVendor": "sample string 5",
            "PartName": "sample string 6",
            "PartMeasureUnitName": "sample string 7",
            "PartSaleMultiplicity": 8.0,
            "StoreId": "sample string 9",
            "StoreUid": "fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558",
            "StoreName": "sample string 10",
            "StorePrice": 11.0,
            "StoreQuantityRepresentation": "sample string 12",
            "StoreQuantity": 13.0,
            "StoreDeliveryTime": 1.0
          }
        ],
        "State": {
          "Code": 1,
          "Message": "sample string 2",
          "ResponseTime": 3
        }
      },
      {
        "VendorName": "sample string 1",
        "Offers": [
          {
            "OfferId": "sample string 1",
            "PartVendorCode": "sample string 2",
            "PartVendorPurifiedCode": "sample string 3",
            "PartVendorAlias": "sample string 4",
            "PartVendor": "sample string 5",
            "PartName": "sample string 6",
            "PartMeasureUnitName": "sample string 7",
            "PartSaleMultiplicity": 8.0,
            "StoreId": "sample string 9",
            "StoreUid": "fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558",
            "StoreName": "sample string 10",
            "StorePrice": 11.0,
            "StoreQuantityRepresentation": "sample string 12",
            "StoreQuantity": 13.0,
            "StoreDeliveryTime": 1.0
          },
          {
            "OfferId": "sample string 1",
            "PartVendorCode": "sample string 2",
            "PartVendorPurifiedCode": "sample string 3",
            "PartVendorAlias": "sample string 4",
            "PartVendor": "sample string 5",
            "PartName": "sample string 6",
            "PartMeasureUnitName": "sample string 7",
            "PartSaleMultiplicity": 8.0,
            "StoreId": "sample string 9",
            "StoreUid": "fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558",
            "StoreName": "sample string 10",
            "StorePrice": 11.0,
            "StoreQuantityRepresentation": "sample string 12",
            "StoreQuantity": 13.0,
            "StoreDeliveryTime": 1.0
          }
        ],
        "State": {
          "Code": 1,
          "Message": "sample string 2",
          "ResponseTime": 3
        }
      }
    ]
  },
  {
    "WebServiceId": 1,
    "ContractorId": "sample string 2",
    "CurrencyCode": "sample string 3",
    "OffersGroups": [
      {
        "VendorName": "sample string 1",
        "Offers": [
          {
            "OfferId": "sample string 1",
            "PartVendorCode": "sample string 2",
            "PartVendorPurifiedCode": "sample string 3",
            "PartVendorAlias": "sample string 4",
            "PartVendor": "sample string 5",
            "PartName": "sample string 6",
            "PartMeasureUnitName": "sample string 7",
            "PartSaleMultiplicity": 8.0,
            "StoreId": "sample string 9",
            "StoreUid": "fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558",
            "StoreName": "sample string 10",
            "StorePrice": 11.0,
            "StoreQuantityRepresentation": "sample string 12",
            "StoreQuantity": 13.0,
            "StoreDeliveryTime": 1.0
          },
          {
            "OfferId": "sample string 1",
            "PartVendorCode": "sample string 2",
            "PartVendorPurifiedCode": "sample string 3",
            "PartVendorAlias": "sample string 4",
            "PartVendor": "sample string 5",
            "PartName": "sample string 6",
            "PartMeasureUnitName": "sample string 7",
            "PartSaleMultiplicity": 8.0,
            "StoreId": "sample string 9",
            "StoreUid": "fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558",
            "StoreName": "sample string 10",
            "StorePrice": 11.0,
            "StoreQuantityRepresentation": "sample string 12",
            "StoreQuantity": 13.0,
            "StoreDeliveryTime": 1.0
          }
        ],
        "State": {
          "Code": 1,
          "Message": "sample string 2",
          "ResponseTime": 3
        }
      },
      {
        "VendorName": "sample string 1",
        "Offers": [
          {
            "OfferId": "sample string 1",
            "PartVendorCode": "sample string 2",
            "PartVendorPurifiedCode": "sample string 3",
            "PartVendorAlias": "sample string 4",
            "PartVendor": "sample string 5",
            "PartName": "sample string 6",
            "PartMeasureUnitName": "sample string 7",
            "PartSaleMultiplicity": 8.0,
            "StoreId": "sample string 9",
            "StoreUid": "fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558",
            "StoreName": "sample string 10",
            "StorePrice": 11.0,
            "StoreQuantityRepresentation": "sample string 12",
            "StoreQuantity": 13.0,
            "StoreDeliveryTime": 1.0
          },
          {
            "OfferId": "sample string 1",
            "PartVendorCode": "sample string 2",
            "PartVendorPurifiedCode": "sample string 3",
            "PartVendorAlias": "sample string 4",
            "PartVendor": "sample string 5",
            "PartName": "sample string 6",
            "PartMeasureUnitName": "sample string 7",
            "PartSaleMultiplicity": 8.0,
            "StoreId": "sample string 9",
            "StoreUid": "fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558",
            "StoreName": "sample string 10",
            "StorePrice": 11.0,
            "StoreQuantityRepresentation": "sample string 12",
            "StoreQuantity": 13.0,
            "StoreDeliveryTime": 1.0
          }
        ],
        "State": {
          "Code": 1,
          "Message": "sample string 2",
          "ResponseTime": 3
        }
      }
    ]
  }
]

application/xml, text/xml

Пример:
<ArrayOfPartOfferResponse2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SupplierProviderHost.Models.v2">
  <PartOfferResponse2>
    <ContractorId>sample string 2</ContractorId>
    <CurrencyCode>sample string 3</CurrencyCode>
    <OffersGroups>
      <PartOfferGroupView2>
        <Offers>
          <PartOfferView2>
            <OfferId>sample string 1</OfferId>
            <PartMeasureUnitName>sample string 7</PartMeasureUnitName>
            <PartName>sample string 6</PartName>
            <PartSaleMultiplicity>8</PartSaleMultiplicity>
            <PartVendor>sample string 5</PartVendor>
            <PartVendorAlias>sample string 4</PartVendorAlias>
            <PartVendorCode>sample string 2</PartVendorCode>
            <PartVendorPurifiedCode>sample string 3</PartVendorPurifiedCode>
            <StoreDeliveryTime>1</StoreDeliveryTime>
            <StoreId>sample string 9</StoreId>
            <StoreName>sample string 10</StoreName>
            <StorePrice>11</StorePrice>
            <StoreQuantity>13</StoreQuantity>
            <StoreQuantityRepresentation>sample string 12</StoreQuantityRepresentation>
            <StoreUid>fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558</StoreUid>
          </PartOfferView2>
          <PartOfferView2>
            <OfferId>sample string 1</OfferId>
            <PartMeasureUnitName>sample string 7</PartMeasureUnitName>
            <PartName>sample string 6</PartName>
            <PartSaleMultiplicity>8</PartSaleMultiplicity>
            <PartVendor>sample string 5</PartVendor>
            <PartVendorAlias>sample string 4</PartVendorAlias>
            <PartVendorCode>sample string 2</PartVendorCode>
            <PartVendorPurifiedCode>sample string 3</PartVendorPurifiedCode>
            <StoreDeliveryTime>1</StoreDeliveryTime>
            <StoreId>sample string 9</StoreId>
            <StoreName>sample string 10</StoreName>
            <StorePrice>11</StorePrice>
            <StoreQuantity>13</StoreQuantity>
            <StoreQuantityRepresentation>sample string 12</StoreQuantityRepresentation>
            <StoreUid>fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558</StoreUid>
          </PartOfferView2>
        </Offers>
        <State>
          <Code>1</Code>
          <Message>sample string 2</Message>
          <ResponseTime>3</ResponseTime>
        </State>
        <VendorName>sample string 1</VendorName>
      </PartOfferGroupView2>
      <PartOfferGroupView2>
        <Offers>
          <PartOfferView2>
            <OfferId>sample string 1</OfferId>
            <PartMeasureUnitName>sample string 7</PartMeasureUnitName>
            <PartName>sample string 6</PartName>
            <PartSaleMultiplicity>8</PartSaleMultiplicity>
            <PartVendor>sample string 5</PartVendor>
            <PartVendorAlias>sample string 4</PartVendorAlias>
            <PartVendorCode>sample string 2</PartVendorCode>
            <PartVendorPurifiedCode>sample string 3</PartVendorPurifiedCode>
            <StoreDeliveryTime>1</StoreDeliveryTime>
            <StoreId>sample string 9</StoreId>
            <StoreName>sample string 10</StoreName>
            <StorePrice>11</StorePrice>
            <StoreQuantity>13</StoreQuantity>
            <StoreQuantityRepresentation>sample string 12</StoreQuantityRepresentation>
            <StoreUid>fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558</StoreUid>
          </PartOfferView2>
          <PartOfferView2>
            <OfferId>sample string 1</OfferId>
            <PartMeasureUnitName>sample string 7</PartMeasureUnitName>
            <PartName>sample string 6</PartName>
            <PartSaleMultiplicity>8</PartSaleMultiplicity>
            <PartVendor>sample string 5</PartVendor>
            <PartVendorAlias>sample string 4</PartVendorAlias>
            <PartVendorCode>sample string 2</PartVendorCode>
            <PartVendorPurifiedCode>sample string 3</PartVendorPurifiedCode>
            <StoreDeliveryTime>1</StoreDeliveryTime>
            <StoreId>sample string 9</StoreId>
            <StoreName>sample string 10</StoreName>
            <StorePrice>11</StorePrice>
            <StoreQuantity>13</StoreQuantity>
            <StoreQuantityRepresentation>sample string 12</StoreQuantityRepresentation>
            <StoreUid>fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558</StoreUid>
          </PartOfferView2>
        </Offers>
        <State>
          <Code>1</Code>
          <Message>sample string 2</Message>
          <ResponseTime>3</ResponseTime>
        </State>
        <VendorName>sample string 1</VendorName>
      </PartOfferGroupView2>
    </OffersGroups>
    <WebServiceId>1</WebServiceId>
  </PartOfferResponse2>
  <PartOfferResponse2>
    <ContractorId>sample string 2</ContractorId>
    <CurrencyCode>sample string 3</CurrencyCode>
    <OffersGroups>
      <PartOfferGroupView2>
        <Offers>
          <PartOfferView2>
            <OfferId>sample string 1</OfferId>
            <PartMeasureUnitName>sample string 7</PartMeasureUnitName>
            <PartName>sample string 6</PartName>
            <PartSaleMultiplicity>8</PartSaleMultiplicity>
            <PartVendor>sample string 5</PartVendor>
            <PartVendorAlias>sample string 4</PartVendorAlias>
            <PartVendorCode>sample string 2</PartVendorCode>
            <PartVendorPurifiedCode>sample string 3</PartVendorPurifiedCode>
            <StoreDeliveryTime>1</StoreDeliveryTime>
            <StoreId>sample string 9</StoreId>
            <StoreName>sample string 10</StoreName>
            <StorePrice>11</StorePrice>
            <StoreQuantity>13</StoreQuantity>
            <StoreQuantityRepresentation>sample string 12</StoreQuantityRepresentation>
            <StoreUid>fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558</StoreUid>
          </PartOfferView2>
          <PartOfferView2>
            <OfferId>sample string 1</OfferId>
            <PartMeasureUnitName>sample string 7</PartMeasureUnitName>
            <PartName>sample string 6</PartName>
            <PartSaleMultiplicity>8</PartSaleMultiplicity>
            <PartVendor>sample string 5</PartVendor>
            <PartVendorAlias>sample string 4</PartVendorAlias>
            <PartVendorCode>sample string 2</PartVendorCode>
            <PartVendorPurifiedCode>sample string 3</PartVendorPurifiedCode>
            <StoreDeliveryTime>1</StoreDeliveryTime>
            <StoreId>sample string 9</StoreId>
            <StoreName>sample string 10</StoreName>
            <StorePrice>11</StorePrice>
            <StoreQuantity>13</StoreQuantity>
            <StoreQuantityRepresentation>sample string 12</StoreQuantityRepresentation>
            <StoreUid>fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558</StoreUid>
          </PartOfferView2>
        </Offers>
        <State>
          <Code>1</Code>
          <Message>sample string 2</Message>
          <ResponseTime>3</ResponseTime>
        </State>
        <VendorName>sample string 1</VendorName>
      </PartOfferGroupView2>
      <PartOfferGroupView2>
        <Offers>
          <PartOfferView2>
            <OfferId>sample string 1</OfferId>
            <PartMeasureUnitName>sample string 7</PartMeasureUnitName>
            <PartName>sample string 6</PartName>
            <PartSaleMultiplicity>8</PartSaleMultiplicity>
            <PartVendor>sample string 5</PartVendor>
            <PartVendorAlias>sample string 4</PartVendorAlias>
            <PartVendorCode>sample string 2</PartVendorCode>
            <PartVendorPurifiedCode>sample string 3</PartVendorPurifiedCode>
            <StoreDeliveryTime>1</StoreDeliveryTime>
            <StoreId>sample string 9</StoreId>
            <StoreName>sample string 10</StoreName>
            <StorePrice>11</StorePrice>
            <StoreQuantity>13</StoreQuantity>
            <StoreQuantityRepresentation>sample string 12</StoreQuantityRepresentation>
            <StoreUid>fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558</StoreUid>
          </PartOfferView2>
          <PartOfferView2>
            <OfferId>sample string 1</OfferId>
            <PartMeasureUnitName>sample string 7</PartMeasureUnitName>
            <PartName>sample string 6</PartName>
            <PartSaleMultiplicity>8</PartSaleMultiplicity>
            <PartVendor>sample string 5</PartVendor>
            <PartVendorAlias>sample string 4</PartVendorAlias>
            <PartVendorCode>sample string 2</PartVendorCode>
            <PartVendorPurifiedCode>sample string 3</PartVendorPurifiedCode>
            <StoreDeliveryTime>1</StoreDeliveryTime>
            <StoreId>sample string 9</StoreId>
            <StoreName>sample string 10</StoreName>
            <StorePrice>11</StorePrice>
            <StoreQuantity>13</StoreQuantity>
            <StoreQuantityRepresentation>sample string 12</StoreQuantityRepresentation>
            <StoreUid>fc8d28d3-a0c3-4dd8-8b3f-8dc2f92d6558</StoreUid>
          </PartOfferView2>
        </Offers>
        <State>
          <Code>1</Code>
          <Message>sample string 2</Message>
          <ResponseTime>3</ResponseTime>
        </State>
        <VendorName>sample string 1</VendorName>
      </PartOfferGroupView2>
    </OffersGroups>
    <WebServiceId>1</WebServiceId>
  </PartOfferResponse2>
</ArrayOfPartOfferResponse2>