Powered By GitBook
Добавление записей
put
https://api.lotinfo.ru
/v1/ATTACHES
Добавить записи

Пример запроса для объекта

1
PUT https://api.lotinfo.ru/v1/ATTACHES/?TOKEN={ваш_токен} HTTP/1.1
2
Content-Type: application/json
3
4
{
5
"data": [
6
{
7
"type": "objects",
8
"userId": 123,
9
"objectId": 12003,
10
"clientId": 12,
11
"name": "Клиент 1",
12
"doled": "1/2"
13
},
14
{
15
"type": "objects",
16
"userId": 123,
17
"objectId": 12003,
18
"clientId": 13,
19
"name": "Клиент 2",
20
"doled": "1/2",
21
"lpr": 1
22
},
23
{
24
"type": "orders",
25
"userId": 123,
26
"orderId": 101,
27
"clientId": 10,
28
"name": "Клиент 3"
29
}
30
]
31
}
Copied!
Last modified 4mo ago