Получить Цель кредита по ID
Получить элемент справочника "Цель кредита" по ID
Path Parameters
id int64 required
id
Responses
- 200
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
bureauCode string
creditSecondPurposes object[]
id int64
name string
{
"bureauCode": "string",
"creditSecondPurposes": [
{
"id": 0,
"name": "string"
}
],
"id": 0,
"name": "string"
}
Unauthorized
Forbidden
Not Found
GET /dicts/credit-purposes/:id
Request
Request
curl / cURL
curl -L -X GET '//localhost/dicts/credit-purposes/:id' \
-H 'Accept: */*'
python / requests
curl -L -X GET '//localhost/dicts/credit-purposes/:id' \
-H 'Accept: */*'
go / native
curl -L -X GET '//localhost/dicts/credit-purposes/:id' \
-H 'Accept: */*'
nodejs / axios
curl -L -X GET '//localhost/dicts/credit-purposes/:id' \
-H 'Accept: */*'
php / guzzle
curl -L -X GET '//localhost/dicts/credit-purposes/:id' \
-H 'Accept: */*'
java / OkHttp
curl -L -X GET '//localhost/dicts/credit-purposes/:id' \
-H 'Accept: */*'