# LoanAccountSchedulePreviewApi

All URIs are relative to *http://localhost:8889/api*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getPreviewLoanAccountSchedule**](#getpreviewloanaccountschedule) | **POST** /loans:previewSchedule | Preview loan account schedule for non-existent loan account|

# **getPreviewLoanAccountSchedule**
> LoanAccountSchedule getPreviewLoanAccountSchedule(previewLoanAccountSchedule)


### Example

```typescript
import {
    LoanAccountSchedulePreviewApi,
    Configuration,
    PreviewLoanAccountSchedule
} from './api';

const configuration = new Configuration();
const apiInstance = new LoanAccountSchedulePreviewApi(configuration);

let previewLoanAccountSchedule: PreviewLoanAccountSchedule; //Loan account parameters for a schedule to be previewed.

const { status, data } = await apiInstance.getPreviewLoanAccountSchedule(
    previewLoanAccountSchedule
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **previewLoanAccountSchedule** | **PreviewLoanAccountSchedule**| Loan account parameters for a schedule to be previewed. | |


### Return type

**LoanAccountSchedule**

### Authorization

[basic](../README.md#basic)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/vnd.mambu.v2+json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Loan account schedule preview is ready. |  -  |
|**400** | A validation error occurred |  -  |
|**401** | Unauthorized |  -  |
|**403** | Forbidden |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

