customer-risks
Operations addressed under /customer-risks — 4 operations.
get-customer-risk-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<CustomerRiskDto>.
| Field | Declared type | Nullable |
|---|---|---|
CustomerId | Guid? | yes |
QueryPurpose | int | no |
QueryDate | DateTime? | yes |
TotalRiskAmount | decimal? | yes |
CurrencyNumber | string | no |
CustomerRiskDetails | List<CustomerRiskDetailDto> (collection) | no |
Member names are the service's declaration names.
query Parameters
orderByorderSortpageIndexpageSizeget-customer-risk-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.
currencyNumbercustomerIdidqueryDatequeryPurposePermitted values — validated against the query_purpose parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | limit assign | en: limit assign · tr: Limit atama |
2 | Following | en: Following · tr: Takip |
totalRiskAmountcreate-customer-risk
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 AuraCommandDto.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_RISKMNG_11 | 400 | CURRENCY_ID_NOT_FOUND | Currency cannot be found. |
ERR_RISKMNG_4 | 400 | RISK_LEDGER_RECORD_NOT_FOUND | Risk - ledger record cannot be found. :{0} |
ERR_RISKMNG_5 | 400 | LOCAL_AMOUNT_SUM_MUST_BE_EQUAL_TO_TOTAL_RISK_AMOUNT | The localAmount sum in the customer risk detail list must be equal to the Total Risk Amount. |
create-customer-risk › Request Body
currencyNumbercustomerIdqueryPurposePermitted values — validated against the query_purpose parameter.
| Value | Meaning |
|---|---|
1 | limit assign |
2 | Following |
Permitted values — validated against the query_purpose parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | limit assign | en: limit assign · tr: Limit atama |
2 | Following | en: Following · tr: Takip |
totalRiskAmountcreate-customer-risk › 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.
idget-current-customer-risk-by-customer-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 CustomerRiskDto.
| Field | Declared type | Nullable |
|---|---|---|
CustomerId | Guid? | yes |
QueryPurpose | int | no |
QueryDate | DateTime? | yes |
TotalRiskAmount | decimal? | yes |
CurrencyNumber | string | no |
CustomerRiskDetails | List<CustomerRiskDetailDto> (collection) | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_RISKMNG_10 | 400 | CUSTOMER_RISK_MUST_BE_NOT_NULL | Customer risk cannot be found. :{0} |
path Parameters
customerIdquery Parameters
orderByorderSortget-current-customer-risk-by-customer-id › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
get-customer-risk-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 CustomerRiskDto.
| Field | Declared type | Nullable |
|---|---|---|
CustomerId | Guid? | yes |
QueryPurpose | int | no |
QueryDate | DateTime? | yes |
TotalRiskAmount | decimal? | yes |
CurrencyNumber | string | no |
CustomerRiskDetails | List<CustomerRiskDetailDto> (collection) | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_RISKMNG_10 | 400 | CUSTOMER_RISK_MUST_BE_NOT_NULL | Customer risk cannot be found. :{0} |
path Parameters
idget-customer-risk-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.
currencyIdcustomerIdidqueryDatequeryPurposePermitted values — validated against the query_purpose parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | limit assign | en: limit assign · tr: Limit atama |
2 | Following | en: Following · tr: Takip |
totalRiskAmount