Skip to content

Number of microloans issued per client per year

GET

there is an optional request parameter - date (if not passed, all microcredits for the client are searched for year from today's date)

Request example:

GET main / clients / 10132532 / microloan-issues-per-year / qty? Date = 2017-10-01

response:

{

"status": "ok",

"timestamp": 1507898750798 ,

"data": 1

}

In response, the number of microloans issued to the client over the last year is returned.

That is, the number of credit contracts that are microcredits is returned (according to the basic standard of protection of rights and interests). If other loans were issued to the client besides microcredits, they are not taken into account in this calculation.

Restructuring is also not counted as a new microloan (according to this basic standard, they are equal to renewals)

The same count is used when creating a new loan contract for a client (if it is a microcredit) , if the limit has expired, an error will be returned with the code:

MICROLOAN_YEARLY_ISSUE_LIMIT_BY_CLIENT_IS_OVER_ERROR (The annual limit for issuing microcredits per client has been exhausted!)

Parameters

Path Parameters

clientId*

clientId

Type
integer
Required
Format
"int64"

Query Parameters

date

date

Type
string
Format
"date"

Responses

OK

*/*
object

The identifier of the created item of the "Invoices" lookup

Format"int64"

If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned

Valid values"error""ok"

Returns the date + time (kernel) in unix timestamp format in milliseconds

Format"int64"