Get Fixed Deposit Accounts
GET /api/v{version}/FixedDeposit/accounts/{ownerId}/get-all
Description
This endpoint retrieves all fixed deposit accounts associated with a specific owner. It supports pagination to manage large datasets by specifying page number and page size. The request can also specify the preferred language for the response.
Parameters
- ownerId (
string($uuid), path, required): The unique identifier of the account owner. - version (
string, path, required): The version of the API. - PageNumber (
integer($int32), query, optional): The page number to retrieve for pagination. - PageSize (
integer($int32), query, optional): The number of records per page for pagination. - Accept-Language (
string, header, optional): Change the default response message language from English (en). Available languages arefranden.
Responses
- 200 OK
-
Media type: Controls Accept header.
-
Description: Success response indicating that the fixed deposit accounts have been retrieved successfully.
-
Example Value:
{
"accounts": [
{
"accountId": "string",
"ownerId": "string",
"balance": 0.0,
"currency": "string",
"interestRate": 0.0,
"maturityDate": "string"
}
],
"pageNumber": 1,
"pageSize": 10,
"totalRecords": 100
}
-
LANGUAGE
CURL REQUEST
curl --request GET \
--url /api/v{version}/FixedDeposit/accounts/{ownerId}/get-all \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!