GET api/LP/v3/Admin/GetCompanies

Вернуть список компаний


Информация о запросе

Параметры URL

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

Тело запроса

Отсутствует.

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

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

boolean

Отсутствует.

ErrorCode

integer

Отсутствует.

ErrorMessage

string

Отсутствует.

Data

Коллекция dtoCompanyExtended

Отсутствует.

Формат ответа application/json

{
  "Success": true,
  "ErrorCode": 2,
  "ErrorMessage": "sample string 3",
  "Data": [
    {
      "Slogan": "sample string 1",
      "Description": "sample string 2",
      "SearchAttribute": [
        "sample string 1",
        "sample string 2"
      ],
      "Contacts": [
        {
          "Id": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "Alias": "sample string 3"
          },
          "Value": "sample string 2"
        },
        {
          "Id": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "Alias": "sample string 3"
          },
          "Value": "sample string 2"
        }
      ],
      "IsActive": true,
      "AvailableDeliveryTypes": 4,
      "UseOwnDeliveryParam": true,
      "UseOwnWarehouse": true,
      "ExternalId": "sample string 7",
      "DeliveryParams": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "Type": "sample string 3",
          "Key": "sample string 4",
          "Width": 5,
          "IsRequired": true,
          "DeliveryParamId": 7,
          "Value": "sample string 8"
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "Type": "sample string 3",
          "Key": "sample string 4",
          "Width": 5,
          "IsRequired": true,
          "DeliveryParamId": 7,
          "Value": "sample string 8"
        }
      ],
      "AvailablePaymentTypes": 8,
      "PaymentGateways": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "Logotype": "sample string 3",
          "IsActive": true,
          "Params": [
            {
              "Id": 1,
              "Name": "sample string 2",
              "Value": "sample string 3"
            },
            {
              "Id": 1,
              "Name": "sample string 2",
              "Value": "sample string 3"
            }
          ]
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "Logotype": "sample string 3",
          "IsActive": true,
          "Params": [
            {
              "Id": 1,
              "Name": "sample string 2",
              "Value": "sample string 3"
            },
            {
              "Id": 1,
              "Name": "sample string 2",
              "Value": "sample string 3"
            }
          ]
        }
      ],
      "Order": 9,
      "DynamicParams": {
        "UsePartitionButtons": true,
        "PartitionButtons": [
          {
            "Id": 1,
            "Title": "sample string 2",
            "Icon": "sample string 3",
            "Action": "sample string 4"
          },
          {
            "Id": 1,
            "Title": "sample string 2",
            "Icon": "sample string 3",
            "Action": "sample string 4"
          }
        ]
      },
      "Id": 10,
      "Name": "sample string 11",
      "Logotype": "sample string 12",
      "Address": "sample string 13",
      "Latitude": 14.1,
      "Longitude": 15.1,
      "Location": {
        "Id": 1,
        "Name": "sample string 2",
        "Area": "sample string 3",
        "Longitude": 1.1,
        "Latitude": 1.1,
        "TimeZone": 4
      },
      "IsParent": true,
      "AvailableOrder": true
    },
    {
      "Slogan": "sample string 1",
      "Description": "sample string 2",
      "SearchAttribute": [
        "sample string 1",
        "sample string 2"
      ],
      "Contacts": [
        {
          "Id": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "Alias": "sample string 3"
          },
          "Value": "sample string 2"
        },
        {
          "Id": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "Alias": "sample string 3"
          },
          "Value": "sample string 2"
        }
      ],
      "IsActive": true,
      "AvailableDeliveryTypes": 4,
      "UseOwnDeliveryParam": true,
      "UseOwnWarehouse": true,
      "ExternalId": "sample string 7",
      "DeliveryParams": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "Type": "sample string 3",
          "Key": "sample string 4",
          "Width": 5,
          "IsRequired": true,
          "DeliveryParamId": 7,
          "Value": "sample string 8"
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "Type": "sample string 3",
          "Key": "sample string 4",
          "Width": 5,
          "IsRequired": true,
          "DeliveryParamId": 7,
          "Value": "sample string 8"
        }
      ],
      "AvailablePaymentTypes": 8,
      "PaymentGateways": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "Logotype": "sample string 3",
          "IsActive": true,
          "Params": [
            {
              "Id": 1,
              "Name": "sample string 2",
              "Value": "sample string 3"
            },
            {
              "Id": 1,
              "Name": "sample string 2",
              "Value": "sample string 3"
            }
          ]
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "Logotype": "sample string 3",
          "IsActive": true,
          "Params": [
            {
              "Id": 1,
              "Name": "sample string 2",
              "Value": "sample string 3"
            },
            {
              "Id": 1,
              "Name": "sample string 2",
              "Value": "sample string 3"
            }
          ]
        }
      ],
      "Order": 9,
      "DynamicParams": {
        "UsePartitionButtons": true,
        "PartitionButtons": [
          {
            "Id": 1,
            "Title": "sample string 2",
            "Icon": "sample string 3",
            "Action": "sample string 4"
          },
          {
            "Id": 1,
            "Title": "sample string 2",
            "Icon": "sample string 3",
            "Action": "sample string 4"
          }
        ]
      },
      "Id": 10,
      "Name": "sample string 11",
      "Logotype": "sample string 12",
      "Address": "sample string 13",
      "Latitude": 14.1,
      "Longitude": 15.1,
      "Location": {
        "Id": 1,
        "Name": "sample string 2",
        "Area": "sample string 3",
        "Longitude": 1.1,
        "Latitude": 1.1,
        "TimeZone": 4
      },
      "IsParent": true,
      "AvailableOrder": true
    }
  ]
}