Applications list
Getting a list of applications
method: POST
url:https://ninjalender.online/client/loan/list - list of all applications that can be bought on the stock exchange
url:https://ninjalender.online/client/loan/list-my - a list of all applications that are loaded by me
url:https://ninjalender.online/client/loan/list-my-bought - list of all applications that are purchased by me
Headers:
header key
header content
Content-Type:
application/json;
Authorization:
Bearer AToken;
Where AToken is the token that was received during authorization.
Request body:
Key
Type
Required
Description
params
JSON.object
+
Request parameters
limit
int
Number of records (cannot exceed 100, with missing / empty parameter return 100 entries)
offset
int
Offset
params:
Key
Type
Required
Description
fields
JSON.array
-
Requested fields (the full list is provided below in the answer section) when an empty request all properties are returned
filters
JSON.array
-
array of filters
orders
JSON.array
-
array of sorters
Ответ:
Key
Type
Description
code
int
Response code
message
string
Message
data
JSON.array
Response data
total
int
Total number of records
data:
Key
Type
Description
id
int
Id of application and linked entites
stage
int
Stage of application
creation_date
date_time
Creation date of application
start_date
date_time
Date of upload of application
refuse_date
date_time
Refuse date of application
amount
number
application amount
price_min
number
minimal price of application
price
number
price
term
number
term of loan (in seconds)
freshness
int
Application freshness (measured in days of presence in the system)
issuance_commission
int
Loan issuance commission rate
requisites
JSON.OBJECT
Application requisites
auction
JSON.OBJECT
Auction
organization
JSON.OBJECT
Seller organization
type
JSON.OBJECT
Loan type
refuse_reason
JSON.OBJECT
Refuse reason
purpose
JSON.OBJECT
Loan purpose
data.auction(auction object):
Key
Type
Description
id
int
nl_auction_id
max_bet
JSON.OBJECT
bet object
start_date
date_time
Start date of auction
end_date
date_time
End date of auction
is_active
boolean
Is the auction currently active
bets
JSON.ARRAY
array of all auction bets
data.auction.bet(bet object):
Key
Type
Description
id
int
id of bet
amount
int
bet amount
data.organization(organization object):
Key
Type
Description
id
int
id of organization
name
string
organization name
type
JSON.OBJECT
organization type
data.organization.type(organization type object):
Key
Type
Description
id
int
id of organization type
title
string
organization type name
data.type(loan type object):
Key
Type
Description
id
int
id of loan type
title
string
loan type name
data.refuse_reason(refuse reason object):
Key
Type
Description
id
int
id of refuse reason
title
string
refuse reason name
data.purpose(loan purpose object):
Key
Type
Description
id
int
id of loan purpose
title
string
loan purpose name
Request example:
{
"params": {
"fields": []
},
"limit": 3,
"offset": 3
}
Response example:
[
{
"code": 0,
"message": "ok",
"data": [
{
"id": 4439,
"stage": 1,
"creation_date": "2018-07-03T07:02:44+00:00",
"start_date": "2018-07-03T07:02:45+00:00",
"refuse_date": "2018-07-03T07:02:45+00:00",
"amount": 1000,
"price_min": 67,
"price": 100,
"term": 864000,
"freshness": 0,
"requisites": {
"name": {
"value": "Александр",
"title": "name"
},
"edu_name": {
"value": "",
"title": "edu_name"
},
"reg_city": {
"value": "Киев",
"title": "reg_city"
},
"real_city": {
"value": "Киев",
"title": "real_city"
},
"employment": {
"value": "Безработный",
"title": "employment"
},
"occupation": {
"value": "",
"title": "occupation"
},
"reg_region": {
"value": "Киевская",
"title": "reg_region"
},
"real_region": {
"value": "Киевская",
"title": "real_region"
},
"credit_score": {
"value": "104",
"title": "credit_score"
},
"extra_income": {
"value": "0.00",
"title": "extra_income"
},
"job_position": {
"value": "",
"title": "job_position"
},
"reg_district": {
"value": "",
"title": "reg_district"
},
"reg_postcode": {
"value": "04125",
"title": "reg_postcode"
},
"family_status": {
"value": "Состоювбраке",
"title": "family_status"
},
"income_amount": {
"value": "0.00",
"title": "income_amount"
},
"real_district": {
"value": "",
"title": "real_district"
},
"real_postcode": {
"value": "04125",
"title": "real_postcode"
},
"reg_placement": {
"value": "Частныйдом",
"title": "reg_placement"
},
"family_members": {
"value": "1",
"title": "family_members"
},
"real_placement": {
"value": "Частныйдом",
"title": "real_placement"
},
"changed_surname": {
"value": false,
"title": "changed_surname"
},
"work_experience": {
"value": "",
"title": "work_experience"
},
"additional_source": {
"value": "",
"title": "additional_source"
}
},
"auction": {
"max_bet": {
"id": null,
"amount": null
},
"id": 4050,
"start_date": "2018-07-03T07:02:45+00:00",
"end_date": "2018-07-03T07:32:45+00:00",
"is_active": true,
"bets": []
},
"organization": {
"id": 19,
"creation_date": "2018-05-22T17:33:30+00:00",
"name": "МФОБогатырь",
"type": {
"id": 1,
"title": "МФО"
}
},
"type": {
"id": 1,
"title": "Краткосрочныйзайм"
},
"refuse_reason": {
"id": 12,
"title": "Низкийдоход"
}
}
],
"total": 1
}
]
List of errors:
Key
Message
-99
System error! Try again later or contact us
-98
Expired token
-2000001
Invalid token
Last updated
Was this helpful?