GET api/WebService/Vendor

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

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

Параметры URI

Нет

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

Нет

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

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

Список сопоставлений наименований производителей (брендов) веб-сервиса

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

Поле WebServiceId содержит идентификатор веб-сервиса

integer

Нет

VendorName

Поле VendorName содержит наименование производителя (бренда), возвращаемого веб-сервисом

string

Нет

ReplaceWith

Поле ReplaceWith содержит наименование производителя (бренда) из словаря

string

Нет

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

application/json, text/json

Пример:
[
  {
    "WebServiceId": 1,
    "VendorName": "sample string 2",
    "ReplaceWith": "sample string 3"
  },
  {
    "WebServiceId": 1,
    "VendorName": "sample string 2",
    "ReplaceWith": "sample string 3"
  }
]

application/xml, text/xml

Пример:
<ArrayOfWebServiceVendorView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SupplierProviderHost.Models">
  <WebServiceVendorView>
    <ReplaceWith>sample string 3</ReplaceWith>
    <VendorName>sample string 2</VendorName>
    <WebServiceId>1</WebServiceId>
  </WebServiceVendorView>
  <WebServiceVendorView>
    <ReplaceWith>sample string 3</ReplaceWith>
    <VendorName>sample string 2</VendorName>
    <WebServiceId>1</WebServiceId>
  </WebServiceVendorView>
</ArrayOfWebServiceVendorView>