Getting the stage (status) of the application
Receiving the current stage of the loaded application
method: POST
url: https://test.ninjalender.online/loan/get-stage
Headers:
header_key
content
Content-Type:
application/json;
Authorization
Bearer {{Token}}
Where {{Token}} - token obtained during authorization
Request body:
Key
Type
Required
Description
params
JSON.object
+
Request parameters
Params:
Key
Type
Required
Description
id
numeric
+
id of application
Response:
Key
Type
Description
code
int
Response code
message
string
Response message
data
JSON.object
Response data
data:
Key
Type
Description
id
int
Ид заявки
stage
string
Стадия на которой находится заявка
Stage description:
Stage id
Description
1
Awaiting confirmation by the borrower
2
Application in progress of distribution
3
The application did not interest any of the buyers and withdraw from system.
4
ЗApplication sold
5
The application has been sold, and information on issuance has been received on it (from the buyer)
6
The borrower refused the application
7
The borrower did not confirm the application within a week
Request example:
1
{
2
"params":{
3
"id": 121
4
}
5
6
}
Copied!
Response example:
Success:
1
[
2
{
3
"code": 0,
4
"message": "ok",
5
"data": {
6
"id": "121",
7
"stage": 4
8
},
9
"log_key": 4949
10
}
11
]
Copied!
Error:
1
[
2
{
3
"code": -1020401,
4
"message": "Params is required",
5
"log_key": "748"
6
}
7
]
Copied!
Error list:
Ключ
Сообщение
-96
invalid key
-97
invalid token
-98
expired token
-99
system error
-100
access denied
-1020401
Params is required
-1020402
Id is blank
-1020403
Loan not found
Last modified 1mo ago
Copy link