Edit the element of the directory "Purpose of credit" by ID
PUT
Replaces the "Loan Purpose" lookup element by ID
Parameters
Path Parameters
id*
The identifier of the editable element of the directory " Loan purpose ". Address bar parameter
Type
Requiredinteger
Format
"int64"Request Body
application/json
active
boolean
bureauCode
string
Office code. This field is currently not used
creditSecondPurposes
object[]
Unique Items
trueactive
boolean
id
integer
Format
"int64"name
string
name
string
Name of the purpose of the loan
Responses
OK
*/*
DefaultResponseOflong
object
data
integer
The identifier of the created item of the "Invoices" lookup
Format
"int64"status
string
If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned
Valid values
"error""ok"timestamp
integer
Returns the date + time (kernel) in unix timestamp format in milliseconds
Format
"int64"