Previous Next JavaScript must be enabled to correctly display this content

## Get all Valid Transaction of an Existing Loan

get

/service/icl/loan/{loanId}/transactions

This endpoint is used to get all valid transactions of an existing loan.

### Request

Supported Media Types

- application/json
- application/xml

Path Parameters

- loanId: string
  Maximum Length: `36`
  Id of the user that needs to be fetched

Query Parameters

- currency(optional): string
  Maximum Length: `3`
  debit disbursement currency
- endDate(optional): string
  trx date to
- limit(optional): integer
  limit is maximum no of records to be fetched
- offset(optional): integer
  offset is starting no of records to be fetched
- startDate(optional): string
  trx date from
- transactionDate(optional): string
  trx date

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 201 Response

Returns message of succes or failure
Headers

- Location: string

Body ()
Root Schema : IclTbLoanTransactionCollection
Type: `object`
Collection of transactions of a loan.
Show Source

- data(optional): array data
- paging(optional): object PagingDto

    {
        "description":"Collection of transactions of a loan.",
        "type":"object",
        "properties":{
            "data":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/IclTbLoanTransactionDTO"
                }
            },
            "paging":{
                "$ref":"#/definitions/PagingDto"
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: object IclTbLoanTransactionDTO

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

Nested Schema : PagingDto
Type: `object`
Show Source

- totalResults(optional): integer

    {
        "type":"object",
        "properties":{
            "totalResults":{
                "type":"integer"
            }
        }
    }

Nested Schema : IclTbLoanTransactionDTO
Type: `object`
Show Source

- currency(optional): string
- days(optional): number
- endDate(optional): string
- fromAccount(optional): string
- id(optional): string
- interestMethod(optional): string
- interestPaid(optional): number
- loanId(optional): string
- principalPaid(optional): number
- rate(optional): number
- startDate(optional): string
- toAccount(optional): string
- transactionAmount(optional): number
- transactionDate(optional): string
- transactionReference(optional): string
- transactionType(optional): string

    {
        "type":"object",
        "properties":{
            "currency":{
                "type":"string",
                "description":""
            },
            "days":{
                "type":"number",
                "description":""
            },
            "endDate":{
                "type":"string",
                "description":""
            },
            "fromAccount":{
                "type":"string",
                "description":""
            },
            "id":{
                "type":"string",
                "description":""
            },
            "interestMethod":{
                "type":"string",
                "description":""
            },
            "interestPaid":{
                "type":"number",
                "description":""
            },
            "loanId":{
                "type":"string",
                "description":""
            },
            "principalPaid":{
                "type":"number",
                "description":""
            },
            "rate":{
                "type":"number",
                "description":""
            },
            "startDate":{
                "type":"string",
                "description":""
            },
            "toAccount":{
                "type":"string",
                "description":""
            },
            "transactionAmount":{
                "type":"number",
                "description":""
            },
            "transactionDate":{
                "type":"string",
                "description":""
            },
            "transactionReference":{
                "type":"string",
                "description":""
            },
            "transactionType":{
                "type":"string",
                "description":""
            }
        }
    }

#### 400 Response

Malformed syntax.

#### 401 Response

Request does not have sufficient credentials.

#### 403 Response

Request is not authorized.

#### 405 Response

Invalid input

#### 500 Response

Internal error
Back to Top