GET api/search/Search?vendorCode={vendorCode}&vendor={vendor}&id={id}&password={password}&timeOut={timeOut}

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

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

Параметры URI

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

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

string

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

vendor

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

string

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

id

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

integer

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

password

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

string

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

timeOut

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

integer

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

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

Нет

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

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

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

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

Идентификатор веб сервиса, вернувшего результат

integer

Нет

ContractorId

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

string

Нет

CurrencyCode

Код валюты

string

Нет

ProductId

Идентификатор товара поставщика

string

Нет

ProductVendorCode

Артикул товара поставщика

string

Нет

ProductVendorPurifiedCode

Очищенный артикул товара поставщика, содержащий только буквы и цифры

string

Нет

ProductVendorAlias

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

string

Нет

ProductVendor

Наименование производителя (бренда) из словаря "Производители (бренды)" или наименование производителя (бренда) веб-сервиса

string

Нет

ProductName

Наименование товара поставщика

string

Нет

ProductMeasureUnitName

Наименование единицы хранения остатков товара

string

Нет

ProductSaleMultiplicity

Кратность продажи (количество заказываемого товара должно быть кратным, указанному значению).

decimal

Нет

StoreId

Идентификатор склада поставщика

string

Нет

StoreUid

Уникальный идентификатор склада поставщика

Guid

Нет

StoreName

Описание склада поставщика

string

Нет

StorePrice

Цена товара для склада, указанного в поле StoreId

decimal

Нет

StoreQuantityRepresentation

Числовое / строковое обозначение свободного остатка товара

string

Нет

StoreQuantity

Сводный остаток товара, конвертированный, если возможно, из значения поля StoreQuantityRepresentation или "1" в противном случае

decimal

Нет

StoreDeliveryTime

Срок поставки товара (в днях) до вашего склада со склада поставщика, указанного в поле StoreId

decimal

Нет

StoreDeliveryDate

Дата поставки товара до вашего склада со склада поставщика, указанного в поле StoreId

date

Нет

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

application/json, text/json

Пример:
[
  {
    "WebServiceId": 1,
    "ContractorId": "sample string 2",
    "CurrencyCode": "sample string 3",
    "ProductId": "sample string 4",
    "ProductVendorCode": "sample string 5",
    "ProductVendorPurifiedCode": "sample string 6",
    "ProductVendorAlias": "sample string 7",
    "ProductVendor": "sample string 8",
    "ProductName": "sample string 9",
    "ProductMeasureUnitName": "sample string 10",
    "ProductSaleMultiplicity": 11.0,
    "StoreId": "sample string 12",
    "StoreUid": "261b455e-de2b-4a44-b8d5-f2ad8ebf046b",
    "StoreName": "sample string 13",
    "StorePrice": 14.0,
    "StoreQuantityRepresentation": "sample string 15",
    "StoreQuantity": 16.0,
    "StoreDeliveryTime": 1.0,
    "StoreDeliveryDate": "2024-04-20T08:43:51.1354833+03:00"
  },
  {
    "WebServiceId": 1,
    "ContractorId": "sample string 2",
    "CurrencyCode": "sample string 3",
    "ProductId": "sample string 4",
    "ProductVendorCode": "sample string 5",
    "ProductVendorPurifiedCode": "sample string 6",
    "ProductVendorAlias": "sample string 7",
    "ProductVendor": "sample string 8",
    "ProductName": "sample string 9",
    "ProductMeasureUnitName": "sample string 10",
    "ProductSaleMultiplicity": 11.0,
    "StoreId": "sample string 12",
    "StoreUid": "261b455e-de2b-4a44-b8d5-f2ad8ebf046b",
    "StoreName": "sample string 13",
    "StorePrice": 14.0,
    "StoreQuantityRepresentation": "sample string 15",
    "StoreQuantity": 16.0,
    "StoreDeliveryTime": 1.0,
    "StoreDeliveryDate": "2024-04-20T08:43:51.1354833+03:00"
  }
]

application/xml, text/xml

Пример:
<ArrayOfSearchView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SupplierProviderHost.Models">
  <SearchView>
    <ContractorId>sample string 2</ContractorId>
    <CurrencyCode>sample string 3</CurrencyCode>
    <ProductId>sample string 4</ProductId>
    <ProductMeasureUnitName>sample string 10</ProductMeasureUnitName>
    <ProductName>sample string 9</ProductName>
    <ProductSaleMultiplicity>11</ProductSaleMultiplicity>
    <ProductVendor>sample string 8</ProductVendor>
    <ProductVendorAlias>sample string 7</ProductVendorAlias>
    <ProductVendorCode>sample string 5</ProductVendorCode>
    <ProductVendorPurifiedCode>sample string 6</ProductVendorPurifiedCode>
    <StoreDeliveryDate>2024-04-20T08:43:51.1354833+03:00</StoreDeliveryDate>
    <StoreDeliveryTime>1</StoreDeliveryTime>
    <StoreId>sample string 12</StoreId>
    <StoreName>sample string 13</StoreName>
    <StorePrice>14</StorePrice>
    <StoreQuantity>16</StoreQuantity>
    <StoreQuantityRepresentation>sample string 15</StoreQuantityRepresentation>
    <StoreUid>261b455e-de2b-4a44-b8d5-f2ad8ebf046b</StoreUid>
    <WebServiceId>1</WebServiceId>
  </SearchView>
  <SearchView>
    <ContractorId>sample string 2</ContractorId>
    <CurrencyCode>sample string 3</CurrencyCode>
    <ProductId>sample string 4</ProductId>
    <ProductMeasureUnitName>sample string 10</ProductMeasureUnitName>
    <ProductName>sample string 9</ProductName>
    <ProductSaleMultiplicity>11</ProductSaleMultiplicity>
    <ProductVendor>sample string 8</ProductVendor>
    <ProductVendorAlias>sample string 7</ProductVendorAlias>
    <ProductVendorCode>sample string 5</ProductVendorCode>
    <ProductVendorPurifiedCode>sample string 6</ProductVendorPurifiedCode>
    <StoreDeliveryDate>2024-04-20T08:43:51.1354833+03:00</StoreDeliveryDate>
    <StoreDeliveryTime>1</StoreDeliveryTime>
    <StoreId>sample string 12</StoreId>
    <StoreName>sample string 13</StoreName>
    <StorePrice>14</StorePrice>
    <StoreQuantity>16</StoreQuantity>
    <StoreQuantityRepresentation>sample string 15</StoreQuantityRepresentation>
    <StoreUid>261b455e-de2b-4a44-b8d5-f2ad8ebf046b</StoreUid>
    <WebServiceId>1</WebServiceId>
  </SearchView>
</ArrayOfSearchView>