curl -X GET https dev dmigom ru api v1 last loan status -H Accept appl

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
curl -X GET \
https://dev.dmigom.ru/api/v1/last/loan/status \
-H 'Accept: application/json' \
-H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvZGV2LmRtaWdvbS5ydVwvYXBpXC92MlwvYXV0aFwvbG9naW4iLCJpYXQiOjE1NTU4Nzc3MzksImV4cCI6MTU1NTg4MTMzOSwibmJmIjoxNTU1ODc3NzM5LCJqdGkiOiJwNlVsaHpUSFBLM0xWTXFjIiwic3ViIjoyMTcsInBydiI6IjY5MTJlZWNkNDdjNzkyNmViZDY2MTUyMmUxYWRmNjU3NDYwOGRkYWQifQ.CWd-IGK-F5dtn3xpYZOvdSdU-f5jB8wNpiRSniiirQc' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: 36c56ee9-236d-44eb-8d32-e18340f9e8b4' \
-H 'cache-control: no-cache'
{
"success": true,
"data": {
"loan_status": 4,
"loan": {
"id": 10923,
"online_lg_user_id": "217",
"customer_id": "15C1F221-A2A8-4398-98EE-AFED76D6597F",
"cj_id": null,
"loan_amount": "1000.0",
"loan_term": "2",
"status": "4",
"lead_generator_id": null,
"lead_id": null,
"webmaster_id": null,
"comment": null,
"is_primary": null,
"stage": "5",
"is_blocked": "0",
"tab": "1",
"is_accepted": "0",
"source": "1",
"loan_amount_accepted": null,
"loan_amount_final": null,
"changed_passport": null,
"is_scanned": null,
"will_come_ovz_date": null,
"percent": null,
"days": null,
"discount_msg": null,
"manager_id": "E099D738-CED4-48F2-A21C-36C0EA25A549"
},
"remain_params": null
}
}