GET api/LP/v3/Order/Get

Получить заказа


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

Параметры URL

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

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

integer

Required

Тело запроса

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

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

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

boolean

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

ErrorCode

integer

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

ErrorMessage

string

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

Data

dtoOrderExtended

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

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

{
  "Success": true,
  "ErrorCode": 2,
  "ErrorMessage": "sample string 3",
  "Data": {
    "Date": "2019-03-26T19:30:39.4406636+00:00",
    "User": {
      "Birthday": "2019-03-26T19:30:39.4406636+00:00",
      "Gender": true,
      "Email": "sample string 1",
      "Location": {
        "Id": 1,
        "Name": "sample string 2",
        "Area": "sample string 3",
        "Longitude": 1.1,
        "Latitude": 1.1,
        "TimeZone": 4
      },
      "Id": 2,
      "Appeal": "sample string 3",
      "Logotype": "sample string 4",
      "PhoneNumber": 1
    },
    "Company": {
      "Id": 1,
      "Name": "sample string 2",
      "Logotype": "sample string 3",
      "Address": "sample string 4",
      "Latitude": 5.1,
      "Longitude": 6.1,
      "Location": {
        "Id": 1,
        "Name": "sample string 2",
        "Area": "sample string 3",
        "Longitude": 1.1,
        "Latitude": 1.1,
        "TimeZone": 4
      },
      "IsParent": true,
      "AvailableOrder": true
    },
    "Status": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "DeliveryType": 0,
    "IsPaid": true,
    "PaymentType": {
      "Id": 1,
      "Type": 0,
      "Name": "sample string 2",
      "ExternalId": "sample string 3"
    },
    "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"
      }
    ],
    "OrderList": [
      {
        "ProductId": 1,
        "Id": 2,
        "Name": "sample string 3",
        "Logotype": "sample string 4",
        "Cost": 5.1,
        "CostDiscount": 6.1,
        "Amount": 7,
        "ActionId": 1,
        "DateAppointment": "2019-03-26T19:30:39.4406636+00:00"
      },
      {
        "ProductId": 1,
        "Id": 2,
        "Name": "sample string 3",
        "Logotype": "sample string 4",
        "Cost": 5.1,
        "CostDiscount": 6.1,
        "Amount": 7,
        "ActionId": 1,
        "DateAppointment": "2019-03-26T19:30:39.4406636+00:00"
      }
    ],
    "Id": 3,
    "Total": 4.1,
    "TotalDiscount": 5.1,
    "State": 0
  }
}