All URIs are relative to http://127.0.0.1:8000
Method | HTTP request | Description |
---|---|---|
requestsCreate | POST /api/v1/requests | |
requestsDestroy | DELETE /api/v1/requests/{id} | |
requestsList | GET /api/v1/requests | |
requestsPartialUpdate | PATCH /api/v1/requests/{id} | |
requestsRetrieve | GET /api/v1/requests/{id} | |
requestsUpdate | PUT /api/v1/requests/{id} |
PredictionRequest requestsCreate(predictionRequest)
// Import classes: import org.apache.fineract.credit.scorecard.ApiClient; import org.apache.fineract.credit.scorecard.ApiException; import org.apache.fineract.credit.scorecard.Configuration; import org.apache.fineract.credit.scorecard.models.*; import org.apache.fineract.credit.scorecard.services.RequestsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://127.0.0.1:8000"); RequestsApi apiInstance = new RequestsApi(defaultClient); PredictionRequest predictionRequest = new PredictionRequest(); // PredictionRequest | try { PredictionRequest result = apiInstance.requestsCreate(predictionRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RequestsApi#requestsCreate"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); e.printStackTrace(); } } }
Name | Type | Description | Notes |
---|---|---|---|
predictionRequest | PredictionRequest |
No authorization required
Status code | Description | Response headers |
---|---|---|
201 | - |
requestsDestroy(id)
// Import classes: import org.apache.fineract.credit.scorecard.ApiClient; import org.apache.fineract.credit.scorecard.ApiException; import org.apache.fineract.credit.scorecard.Configuration; import org.apache.fineract.credit.scorecard.models.*; import org.apache.fineract.credit.scorecard.services.RequestsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://127.0.0.1:8000"); RequestsApi apiInstance = new RequestsApi(defaultClient); Integer id = 56; // Integer | A unique integer value identifying this prediction request. try { apiInstance.requestsDestroy(id); } catch (ApiException e) { System.err.println("Exception when calling RequestsApi#requestsDestroy"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); e.printStackTrace(); } } }
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | A unique integer value identifying this prediction request. |
null (empty response body)
No authorization required
Status code | Description | Response headers |
---|---|---|
204 | No response body | - |
java.util.List<PredictionRequest> requestsList()
// Import classes: import org.apache.fineract.credit.scorecard.ApiClient; import org.apache.fineract.credit.scorecard.ApiException; import org.apache.fineract.credit.scorecard.Configuration; import org.apache.fineract.credit.scorecard.models.*; import org.apache.fineract.credit.scorecard.services.RequestsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://127.0.0.1:8000"); RequestsApi apiInstance = new RequestsApi(defaultClient); try { java.util.List<PredictionRequest> result = apiInstance.requestsList(); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RequestsApi#requestsList"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); e.printStackTrace(); } } }
This endpoint does not need any parameter.
java.util.List<PredictionRequest>
No authorization required
Status code | Description | Response headers |
---|---|---|
200 | - |
PredictionRequest requestsPartialUpdate(id, predictionRequest)
// Import classes: import org.apache.fineract.credit.scorecard.ApiClient; import org.apache.fineract.credit.scorecard.ApiException; import org.apache.fineract.credit.scorecard.Configuration; import org.apache.fineract.credit.scorecard.models.*; import org.apache.fineract.credit.scorecard.services.RequestsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://127.0.0.1:8000"); RequestsApi apiInstance = new RequestsApi(defaultClient); Integer id = 56; // Integer | A unique integer value identifying this prediction request. PredictionRequest predictionRequest = new PredictionRequest(); // PredictionRequest | try { PredictionRequest result = apiInstance.requestsPartialUpdate(id, predictionRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RequestsApi#requestsPartialUpdate"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); e.printStackTrace(); } } }
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | A unique integer value identifying this prediction request. | |
predictionRequest | PredictionRequest |
No authorization required
Status code | Description | Response headers |
---|---|---|
200 | - |
PredictionRequest requestsRetrieve(id)
// Import classes: import org.apache.fineract.credit.scorecard.ApiClient; import org.apache.fineract.credit.scorecard.ApiException; import org.apache.fineract.credit.scorecard.Configuration; import org.apache.fineract.credit.scorecard.models.*; import org.apache.fineract.credit.scorecard.services.RequestsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://127.0.0.1:8000"); RequestsApi apiInstance = new RequestsApi(defaultClient); Integer id = 56; // Integer | A unique integer value identifying this prediction request. try { PredictionRequest result = apiInstance.requestsRetrieve(id); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RequestsApi#requestsRetrieve"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); e.printStackTrace(); } } }
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | A unique integer value identifying this prediction request. |
No authorization required
Status code | Description | Response headers |
---|---|---|
200 | - |
PredictionRequest requestsUpdate(id, predictionRequest)
// Import classes: import org.apache.fineract.credit.scorecard.ApiClient; import org.apache.fineract.credit.scorecard.ApiException; import org.apache.fineract.credit.scorecard.Configuration; import org.apache.fineract.credit.scorecard.models.*; import org.apache.fineract.credit.scorecard.services.RequestsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://127.0.0.1:8000"); RequestsApi apiInstance = new RequestsApi(defaultClient); Integer id = 56; // Integer | A unique integer value identifying this prediction request. PredictionRequest predictionRequest = new PredictionRequest(); // PredictionRequest | try { PredictionRequest result = apiInstance.requestsUpdate(id, predictionRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RequestsApi#requestsUpdate"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); e.printStackTrace(); } } }
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | A unique integer value identifying this prediction request. | |
predictionRequest | PredictionRequest |
No authorization required
Status code | Description | Response headers |
---|---|---|
200 | - |