loans--insurances
Operations addressed under /loans — 79 operations.
Rendered section: This page contains the insurances route group from loans. This is a presentation-only partition; it does not change the API contract or operation tags in the downloadable OpenAPI.
get-insurance-list
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<InsuranceDto>.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
Type | int | no |
PolicyNumber | int | no |
LoanId | Guid | no |
ProductName | string | no |
Company | string | no |
PolicyHolderNumber | int | no |
CoverageCurrencyNumber | string | no |
PolicyHolderFullname | string | no |
LossPayee | string | no |
VehicleBrand | string | no |
VehicleModel | string | no |
VehicleType | string | no |
EngineNumber | string | no |
ChassisNumber | string | no |
Plate | string | no |
PremiumAmount | decimal? | yes |
PremiumCurrencyNumber | string | no |
CoverageAmount | decimal? | yes |
StartDate | DateTime? | yes |
EndDate | DateTime? | yes |
Member names are the service's declaration names.
query Parameters
orderByorderSortpageIndexpageSizeget-insurance-list › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
chassisNumbercompanycoverageAmountcoverageCurrencyNumberendDateengineNumberidloanIdlossPayeeplatepolicyHolderFullnamepolicyHolderNumberpolicyNumberpremiumAmountpremiumCurrencyNumberproductNamestartDatetypePermitted values — validated against the insurance_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Trafik Sigortasi | en: Traffic Insurance · tr: Trafik Sigortasi |
2 | Kasko | tr: Kasko |
vehicleBrandvehicleModelvehicleTypeget-insurance-by-loan-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<InsuranceDto>.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
Type | int | no |
PolicyNumber | int | no |
LoanId | Guid | no |
ProductName | string | no |
Company | string | no |
PolicyHolderNumber | int | no |
CoverageCurrencyNumber | string | no |
PolicyHolderFullname | string | no |
LossPayee | string | no |
VehicleBrand | string | no |
VehicleModel | string | no |
VehicleType | string | no |
EngineNumber | string | no |
ChassisNumber | string | no |
Plate | string | no |
PremiumAmount | decimal? | yes |
PremiumCurrencyNumber | string | no |
CoverageAmount | decimal? | yes |
StartDate | DateTime? | yes |
EndDate | DateTime? | yes |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL |
path Parameters
idget-insurance-by-loan-id › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
chassisNumbercompanycoverageAmountcoverageCurrencyNumberendDateengineNumberidloanIdlossPayeeplatepolicyHolderFullnamepolicyHolderNumberpolicyNumberpremiumAmountpremiumCurrencyNumberproductNamestartDatetypePermitted values — validated against the insurance_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Trafik Sigortasi | en: Traffic Insurance · tr: Trafik Sigortasi |
2 | Kasko | tr: Kasko |
vehicleBrandvehicleModelvehicleTypecreate-insurance
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route returns AuraCommandDto<Guid>, which is the response body itself and not a wrapper around one: the framework declares it as a class with a single property, Id, of type Guid. A caller gets a JSON OBJECT with one field, not a bare value. The field is id on the wire.
| Field | Name on the wire | Declared type | Nullable |
|---|---|---|---|
Id | id | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL |
path Parameters
idcreate-insurance › Request Body
companypolicyHolderNumberpolicyNumberproductNametypePermitted values — validated against the insurance_type parameter.
| Value | Meaning |
|---|---|
1 | Traffic Insurance |
2 | Kasko |
Permitted values — validated against the insurance_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Trafik Sigortasi | en: Traffic Insurance · tr: Trafik Sigortasi |
2 | Kasko | tr: Kasko |
chassisNumbercoverageAmountcoverageCurrencyNumberendDateengineNumberlossPayeeplatepolicyHolderFullnamepremiumAmountpremiumCurrencyNumberstartDatevehicleBrandvehicleModelvehicleTypecreate-insurance › Responses
Success. An exact, uniquely bound route registration declares the command-id envelope, so this schema is the code-backed body contract.
idIdentifier returned by the command.
get-insurance-by-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as InsuranceDto.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
Type | int | no |
PolicyNumber | int | no |
LoanId | Guid | no |
ProductName | string | no |
Company | string | no |
PolicyHolderNumber | int | no |
CoverageCurrencyNumber | string | no |
PolicyHolderFullname | string | no |
LossPayee | string | no |
VehicleBrand | string | no |
VehicleModel | string | no |
VehicleType | string | no |
EngineNumber | string | no |
ChassisNumber | string | no |
Plate | string | no |
PremiumAmount | decimal? | yes |
PremiumCurrencyNumber | string | no |
CoverageAmount | decimal? | yes |
StartDate | DateTime? | yes |
EndDate | DateTime? | yes |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL |
ERR_LOAN_95 | 400 | LOAN_INSURANCE_NOT_FOUND |
path Parameters
idinsuranceIdget-insurance-by-id › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
chassisNumbercompanycoverageAmountcoverageCurrencyNumberendDateengineNumberidloanIdlossPayeeplatepolicyHolderFullnamepolicyHolderNumberpolicyNumberpremiumAmountpremiumCurrencyNumberproductNamestartDatetypePermitted values — validated against the insurance_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Trafik Sigortasi | en: Traffic Insurance · tr: Trafik Sigortasi |
2 | Kasko | tr: Kasko |
vehicleBrandvehicleModelvehicleTypeupdate-insurance
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL |
ERR_LOAN_95 | 400 | LOAN_INSURANCE_NOT_FOUND |
path Parameters
idinsuranceIdupdate-insurance › Request Body
typePermitted values — validated against the insurance_type parameter.
| Value | Meaning |
|---|---|
1 | Traffic Insurance |
2 | Kasko |
Permitted values — validated against the insurance_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Trafik Sigortasi | en: Traffic Insurance · tr: Trafik Sigortasi |
2 | Kasko | tr: Kasko |
chassisNumbercompanycoverageAmountcoverageCurrencyNumberendDateengineNumberlossPayeeplatepolicyHolderFullnamepolicyHolderNumberpolicyNumberpremiumAmountpremiumCurrencyNumberproductNamestartDatevehicleBrandvehicleModelvehicleTypeupdate-insurance › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
delete-insurance
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL |
ERR_LOAN_95 | 400 | LOAN_INSURANCE_NOT_FOUND |
path Parameters
idinsuranceIddelete-insurance › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.