POST api/OMTServices/InfoOMTAsync
- InfoOMTAsync : This will be used to provide information about Loan account (For Repayment Or Disburse) and return a unique NB to be used in the Confirm Call
Request Information
URI Parameters
None.
Body Parameters
Info Request Model
GetInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
Required |
|
| Otp | string |
None. |
|
| isPayment | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"AccountID": 1,
"Otp": "sample string 2",
"isPayment": 3
}
Response Information
Resource Description
APIResponseOfInfoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| Code | integer |
None. |
|
| Message | string |
None. |
|
| ResponseException | ApiError |
None. |
|
| Result | InfoDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "sample string 1",
"Code": 2,
"Message": "sample string 3",
"Result": {
"AccountID": 1,
"Name": "sample string 2",
"Currency": 3,
"Amount": 4.0,
"Fees": 1.0,
"ClaimValue": "sample string 5"
}
}