All URIs are relative to https://serverRoot/tmf-api/prepayBalanceManagement/v4
| Method | HTTP request | Description |
|---|---|---|
| createTransferBalance | POST /transferBalance | Creates a TransferBalance |
| deleteTransferBalance | DELETE /transferBalance/{id} | Deletes a TransferBalance |
| listTransferBalance | GET /transferBalance | List or find TransferBalance objects |
| patchTransferBalance | PATCH /transferBalance/{id} | Updates partially a TransferBalance |
| retrieveTransferBalance | GET /transferBalance/{id} | Retrieves a TransferBalance by ID |
TransferBalance createTransferBalance(body)
Creates a TransferBalance
This operation creates a TransferBalance entity.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.TransferBalanceApi;
TransferBalanceApi apiInstance = new TransferBalanceApi();
TransferBalanceCreate body = new TransferBalanceCreate(); // TransferBalanceCreate | The TransferBalance to be created
try {
TransferBalance result = apiInstance.createTransferBalance(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TransferBalanceApi#createTransferBalance");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | TransferBalanceCreate | The TransferBalance to be created |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
deleteTransferBalance(id)
Deletes a TransferBalance
This operation deletes a TransferBalance entity.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.TransferBalanceApi;
TransferBalanceApi apiInstance = new TransferBalanceApi();
String id = "id_example"; // String | Identifier of the TransferBalance
try {
apiInstance.deleteTransferBalance(id);
} catch (ApiException e) {
System.err.println("Exception when calling TransferBalanceApi#deleteTransferBalance");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Identifier of the TransferBalance |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
List<TransferBalance> listTransferBalance(fields, offset, limit)
List or find TransferBalance objects
This operation list or find TransferBalance entities
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.TransferBalanceApi;
TransferBalanceApi apiInstance = new TransferBalanceApi();
String fields = "fields_example"; // String | Comma-separated properties to be provided in response
Integer offset = 56; // Integer | Requested index for start of resources to be provided in response
Integer limit = 56; // Integer | Requested number of resources to be provided in response
try {
List<TransferBalance> result = apiInstance.listTransferBalance(fields, offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TransferBalanceApi#listTransferBalance");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| fields | String | Comma-separated properties to be provided in response | [optional] |
| offset | Integer | Requested index for start of resources to be provided in response | [optional] |
| limit | Integer | Requested number of resources to be provided in response | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
TransferBalance patchTransferBalance(body, id)
Updates partially a TransferBalance
This operation updates partially a TransferBalance entity.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.TransferBalanceApi;
TransferBalanceApi apiInstance = new TransferBalanceApi();
TransferBalanceUpdate body = new TransferBalanceUpdate(); // TransferBalanceUpdate | The TransferBalance to be updated
String id = "id_example"; // String | Identifier of the TransferBalance
try {
TransferBalance result = apiInstance.patchTransferBalance(body, id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TransferBalanceApi#patchTransferBalance");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | TransferBalanceUpdate | The TransferBalance to be updated | |
| id | String | Identifier of the TransferBalance |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
TransferBalance retrieveTransferBalance(id, fields)
Retrieves a TransferBalance by ID
This operation retrieves a TransferBalance entity. Attribute selection is enabled for all first level attributes.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.TransferBalanceApi;
TransferBalanceApi apiInstance = new TransferBalanceApi();
String id = "id_example"; // String | Identifier of the TransferBalance
String fields = "fields_example"; // String | Comma-separated properties to provide in response
try {
TransferBalance result = apiInstance.retrieveTransferBalance(id, fields);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TransferBalanceApi#retrieveTransferBalance");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Identifier of the TransferBalance | |
| fields | String | Comma-separated properties to provide in response | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8