Adds a new Interest Details
post
/interestdetails
This endpoint is used to add a new interest detail.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new interestdetails
Root Schema : LmdTbInterestDetailsDTO
Type:
object
InterestDetails DTO for saving the data
Match All
Show Source
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : LmdTbInterestDetailsDTO-allOf[1]
Type:
Show Source
object
-
accountNumber(optional):
string
Maximum Length:
30
accountNumber in Interest Details -
branchCode(optional):
string
Maximum Length:
4
branchCode of the Interest Details -
currencyCode(optional):
string
Maximum Length:
3
currencyCode of the Interest Details -
customerId(optional):
string
Pattern:
[a-zA-Z0-9]{1,20}
Customer Id for Interest Details -
interestEarned(optional):
integer
interest earned in Interest Details
-
interestPaid(optional):
integer
interest paid of the Interest Details
-
month(optional):
string
Maximum Length:
3
month of the Interest Details -
structureId(optional):
string
Pattern:
[A-Z0-9]{1,30}
structureId of the Interest Details
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created Interest Details
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
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