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:

Response example:

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?