Получить список объектов страховки
Получить список объектов страховки
Responses
- 200
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
amount double
code string
contractId int64
creationDate date-time
expirationDate date-time
id int64
includeInLoanAmount boolean
insuranceProgramId int64
loanApplicationId int64
premium double
signDate object
signed boolean
smsCode string
[
{
"amount": 0,
"code": "string",
"contractId": 0,
"creationDate": "2024-11-20T07:47:13.866Z",
"expirationDate": "2024-11-20T07:47:13.866Z",
"id": 0,
"includeInLoanAmount": true,
"insuranceProgramId": 0,
"loanApplicationId": 0,
"premium": 0,
"signDate": {
"date": 0,
"day": 0,
"hours": 0,
"minutes": 0,
"month": 0,
"nanos": 0,
"seconds": 0,
"time": 0,
"timezoneOffset": 0,
"year": 0
},
"signed": true,
"smsCode": "string",
"type": "string"
}
]
Unauthorized
Forbidden
Not Found
GET /main/insurance
Request
Request
curl / cURL
curl -L -X GET '//localhost/main/insurance' \
-H 'Accept: */*'
python / requests
curl -L -X GET '//localhost/main/insurance' \
-H 'Accept: */*'
go / native
curl -L -X GET '//localhost/main/insurance' \
-H 'Accept: */*'
nodejs / axios
curl -L -X GET '//localhost/main/insurance' \
-H 'Accept: */*'
php / guzzle
curl -L -X GET '//localhost/main/insurance' \
-H 'Accept: */*'
java / OkHttp
curl -L -X GET '//localhost/main/insurance' \
-H 'Accept: */*'