Редактировать элемент справочника 'Агенты' по ID
Замещает элемент справочника "Агенты" по ID
Path Parameters
id int64 required
id
application/json
Request Body required
request
clientId int64
interestRate double
name string
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Schema
integer
Created
Unauthorized
Forbidden
Not Found
PUT /dicts/contract-agents/:id
Request
Request
curl / cURL
curl -L -X PUT '//localhost/dicts/contract-agents/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"clientId": 0,
"interestRate": 0,
"name": "string"
}'
python / requests
curl -L -X PUT '//localhost/dicts/contract-agents/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"clientId": 0,
"interestRate": 0,
"name": "string"
}'
go / native
curl -L -X PUT '//localhost/dicts/contract-agents/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"clientId": 0,
"interestRate": 0,
"name": "string"
}'
nodejs / axios
curl -L -X PUT '//localhost/dicts/contract-agents/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"clientId": 0,
"interestRate": 0,
"name": "string"
}'
php / guzzle
curl -L -X PUT '//localhost/dicts/contract-agents/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"clientId": 0,
"interestRate": 0,
"name": "string"
}'
java / OkHttp
curl -L -X PUT '//localhost/dicts/contract-agents/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"clientId": 0,
"interestRate": 0,
"name": "string"
}'