Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Параметр

Тип

Описание

Пример

raecId

int

RAEC_ID товара

870533

supplierId

string

Код поставщика

4911003320

descriptionShort

string

Краткое название

Светильник 214 ALD 16521430/1004000050

descriptionRu

string

Название RU


minConsignment

int | null

Минимальная партия, шт

1

guaranteedQuantityint | nullГарантированное количество товара к отгрузке со склада, шт8
balanceTotalintОбщий остаток5
balanceFreeintСвободный остаток5
deliveryDaysintСрок поставки, дней7
modifiedDatestringДата обновления2015-07-21 11:37:59
relevanceDatestringДата актуальности2015-07-21

supply 

deprecated

array

Ближайшая ожидаемая поставка deprecated

  • balance - количество
  • date - ожидаемая дата поставки
{"balance":480000,"date":"2017-01-18"}
suppliesarray

Список ожидаемых поставок

  • balance - количество
  • date - ожидаемая дата поставки
"supplies":[{"balance":"1440000","date":"2017-01-18"},{"balance":"2016000","date":"2017-02-04"}]}
brandarrayИнформация о бренде товара/поставщика{"id":27,"name":"Световые технологии"}
storagearrayИнформация о складе{"id":1,"name":"Рязань"}

...

Code Block
languagejs
titleJSON
{
  "res": "ok",
  "data": [
    {
      "raecId": 712320,
      "minConsignment": null,
	  "guaranteedQuantity": 8,
      "balanceTotal": 30,
      "balanceFree": 30,
      "deliveryDays": "",
      "modifiedDate": "2017-04-21 11:14:27",
      "relevanceDate": "2017-04-21",
      "supplierId": "E44ORG1UB",
      "descriptionRu": "",
      "descriptionShort": "Орган Каб 19\"1u 5 Колец Ч",
      "supply": {
        "balance": 0,
        "date": null
      },
      "brand": {
        "id": 139,
        "name": "Estap (Legrand)"
      },
      "storage": {
        "id": 366,
        "name": "Основной"
      },
      "supplies": []
    },
    {
      "raecId": 712333,
      "minConsignment": null,
      "guaranteedQuantity": 23,
      "balanceTotal": 1,
      "balanceFree": 1,
      "deliveryDays": "",
      "modifiedDate": "2017-04-21 11:14:27",
      "relevanceDate": "2017-04-21",
      "supplierId": "E44RAK30G",
      "descriptionRu": "",
      "descriptionShort": "19\" 2u Конс П, Глуб 300мм С",
      "supply": {
        "balance": 0,
        "date": null
      },
      "brand": {
        "id": 139,
        "name": "Estap (Legrand)"
      },
      "storage": {
        "id": 366,
        "name": "Основной"
      },
      "supplies": []
    },
    {
      "raecId": 712459,
      "minConsignment": null,
      "guaranteedQuantity": null,
      "balanceTotal": 20,
      "balanceFree": 20,
      "deliveryDays": "",
      "modifiedDate": "2017-04-21 11:14:27",
      "relevanceDate": "2017-04-21",
      "supplierId": "M44RLD80",
      "descriptionRu": "",
      "descriptionShort": "Уголки Д/Подд,Гл.800мм",
      "supply": {
        "balance": 0,
        "date": null
      },
      "brand": {
        "id": 139,
        "name": "Estap (Legrand)"
      },
      "storage": {
        "id": 366,
        "name": "Основной"
      },
      "supplies": []
    },
    {
      "raecId": 712465,
      "minConsignment": null,
      "guaranteedQuantity": 1,
      "balanceTotal": 1,
      "balanceFree": 1,
      "deliveryDays": "",
      "modifiedDate": "2017-04-21 11:14:27",
      "relevanceDate": "2017-04-21",
      "supplierId": "M44SBR80G",
      "descriptionRu": "",
      "descriptionShort": "Стац Полка Перф, Глуб 800мм С",
      "supply": {
        "balance": 0,
        "date": null
      },
      "brand": {
        "id": 139,
        "name": "Estap (Legrand)"
      },
      "storage": {
        "id": 366,
        "name": "Основной"
      },
      "supplies": []
    }
  ]
}








Примеры кода с использованием RestClient:

...