Lotinfo.API v1
Search…
⌃K

Добавление объектов

put
https://api.lotinfo.ru
/v1/OBJECTS
Добавить объекты

Пример запроса

PUT https://api.lotinfo.ru/v1/OBJECTS/?TOKEN={ваш_токен} HTTP/1.1
Content-Type: application/json
{
"data": [
{
"userId": 123,
"price": 19000000,
"sumarea": 100,
"cityId": 107,
"home": 20,
"streetName": "Ленинградский",
"objectType": 3,
"color": 1,
"floors": 20,
"floor": 18
},
{
"userId": 123,
"price": 20000000,
"sumarea": 150,
"regionName": "Московская область",
"cityName": "Москва",
"home": 20,
"streetName": "Ленинский",
"objectType": 3,
"color": 1,
"floors": 20,
"floor": 19,
"clients": [
{
"clientID": 1001,
"name": "Первый",
"doled": "1/2",
"lpr": 1
},
{
"clientID": 1002,
"name": "Второй",
"doled": "1/2"
}
]
}
]
}