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

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

1
PUT https://api.lotinfo.ru/v1/OBJECTS/?TOKEN={ваш_токен} HTTP/1.1
2
Content-Type: application/json
3
4
{
5
"data": [
6
{
7
"userId": 123,
8
"price": 19000000,
9
"sumarea": 100,
10
"cityId": 107,
11
"home": 20,
12
"streetName": "Ленинградский",
13
"objectType": 3,
14
"color": 1,
15
"floors": 20,
16
"floor": 18
17
},
18
{
19
"userId": 123,
20
"price": 20000000,
21
"sumarea": 150,
22
"regionName": "Московская область",
23
"cityName": "Москва",
24
"home": 20,
25
"streetName": "Ленинский",
26
"objectType": 3,
27
"color": 1,
28
"floors": 20,
29
"floor": 19,
30
"clients": [
31
{
32
"clientID": 1001,
33
"name": "Первый",
34
"doled": "1/2",
35
"lpr": 1
36
},
37
{
38
"clientID": 1002,
39
"name": "Второй",
40
"doled": "1/2"
41
}
42
]
43
}
44
]
45
}
Copied!
Last modified 4mo ago