Previous Next JavaScript must be enabled to correctly display this content

## Get the loan summary

get

/service/icl/loan/summary

This endpoint is used to get the loan summary.

### Request

Supported Media Types

- application/json
- application/xml

Query Parameters

- borrowingCustomerId(optional): string
  borrowing customer ID
- currency(optional): string
  value of currency
- groupCorporateId: string
  groupCorporateId for that loans needs to be fetched
- lendingCustomerId(optional): string
  lender customer ID
- limit(optional): integer
  limit is maximum no of records to be fetched
- offset(optional): integer
  offset is starting no of records to be fetched

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 200 Response

Returns the group customer Id based on given customer id.
Body ()
Root Schema : IclTbLoanSummaryCollection
Type: `object`
Collection of loan summary.
Show Source

- data(optional): array data

    {
        "description":"Collection of loan summary.",
        "type":"object",
        "properties":{
            "data":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/IclTbLoanSummaryDTO"
                }
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: object IclTbLoanSummaryDTO

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/IclTbLoanSummaryDTO"
        }
    }

Nested Schema : IclTbLoanSummaryDTO
Type: `object`
Show Source

- borrowingCustomerId(optional): string
- borrowingCustomerName(optional): string
- lendingCustomerId(optional): string
- lendingCustomerName(optional): string
- loanSummaryDetails(optional): array loanSummaryDetails

    {
        "type":"object",
        "properties":{
            "lendingCustomerId":{
                "type":"string",
                "description":""
            },
            "lendingCustomerName":{
                "type":"string",
                "description":""
            },
            "borrowingCustomerName":{
                "type":"string",
                "description":""
            },
            "borrowingCustomerId":{
                "type":"string",
                "description":""
            },
            "loanSummaryDetails":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/IclTbLoanSummaryDetailsDTO"
                }
            }
        }
    }

Nested Schema : loanSummaryDetails
Type: `array`
Show Source

- Array of: object IclTbLoanSummaryDetailsDTO

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/IclTbLoanSummaryDetailsDTO"
        }
    }

Nested Schema : IclTbLoanSummaryDetailsDTO
Type: `object`
Show Source

- currency(optional): string
- loanAmount(optional): number
- noOfLoans(optional): number

    {
        "type":"object",
        "properties":{
            "currency":{
                "type":"string",
                "description":""
            },
            "noOfLoans":{
                "type":"number",
                "description":""
            },
            "loanAmount":{
                "type":"number",
                "description":""
            }
        }
    }

#### 400 Response

Malformed syntax.

#### 401 Response

Request does not have sufficient credentials.

#### 403 Response

Request is not authorized.

#### 500 Response

Internal error
Back to Top