POST api/DraftCredit
Request Information
URI Parameters
None.
Body Parameters
DraftCreditData| Name | Description | Type | Additional information |
|---|---|---|---|
| CapitalValue | decimal number |
Required |
|
| PaymentCount | integer |
Required |
|
| CreditFirstPaymentDay | string |
Required |
|
| CreditTypeId | integer |
None. |
|
| BannerStudentPidm | integer |
None. |
|
| CreditFactor | decimal number |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"capitalValue": 1.0,
"paymentCount": 2,
"creditFirstPaymentDay": "sample string 3",
"creditTypeId": 4,
"bannerStudentPidm": 5,
"creditFactor": 6.0,
"description": "sample string 7"
}
Response Information
Resource Description
DraftCreditPostResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | DraftCreditExceptionType |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseData | DraftCreditResponseData |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseCode": 0,
"responseMessage": "sample string 1",
"responseData": {
"draftCreditId": 1,
"capitalValue": 2.0,
"creditCostValue": 3.0,
"creditTotalValue": 4.0,
"paymentCount": 5,
"creditFirstPaymentDate": "sample string 6",
"amortizationTableLineList": [
{
"creditLineDate": "sample string 1",
"creditLineInitialRunningBalanceValue": 2.0,
"creditLineAdditionalCostValue": 3.0,
"creditLineScheduledPaymentValue": 4.0,
"creditLineFinalRunningBalanceValue": 5.0
},
{
"creditLineDate": "sample string 1",
"creditLineInitialRunningBalanceValue": 2.0,
"creditLineAdditionalCostValue": 3.0,
"creditLineScheduledPaymentValue": 4.0,
"creditLineFinalRunningBalanceValue": 5.0
}
]
}
}