Interface MappingFinancialActivitiesToAccountsApi
public interface MappingFinancialActivitiesToAccountsApi
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<PostFinancialActivityAccountsResponse> Create a new Financial Activity to Accounts Mapping Mandatory Fields financialActivityId, glAccountIdretrofit2.Call<PostFinancialActivityAccountsResponse> createGLAccount(Map<String, String> headers) Create a new Financial Activity to Accounts Mapping Mandatory Fields financialActivityId, glAccountIdretrofit2.Call<PostFinancialActivityAccountsResponse> createGLAccount(PostFinancialActivityAccountsRequest postFinancialActivityAccountsRequest) Create a new Financial Activity to Accounts Mapping Mandatory Fields financialActivityId, glAccountIdretrofit2.Call<PostFinancialActivityAccountsResponse> createGLAccount(PostFinancialActivityAccountsRequest postFinancialActivityAccountsRequest, Map<String, String> headers) Create a new Financial Activity to Accounts Mapping Mandatory Fields financialActivityId, glAccountIdretrofit2.Call<DeleteFinancialActivityAccountsResponse> deleteGLAccount(Long mappingId) Delete a Financial Activity to Account Mappingretrofit2.Call<DeleteFinancialActivityAccountsResponse> deleteGLAccount(Long mappingId, Map<String, String> headers) Delete a Financial Activity to Account Mappingretrofit2.Call<GetFinancialActivityAccountsResponse> Retrieve a Financial Activity to Account Mapping Example Requests: financialactivityaccounts/1retrofit2.Call<GetFinancialActivityAccountsResponse> Retrieve a Financial Activity to Account Mapping Example Requests: financialactivityaccounts/1retrofit2.Call<List<GetFinancialActivityAccountsResponse>> List Financial Activities to Accounts Mappings Example Requests: financialactivityaccountsretrofit2.Call<List<GetFinancialActivityAccountsResponse>> retrieveAll(Map<String, String> headers) List Financial Activities to Accounts Mappings Example Requests: financialactivityaccountsretrofit2.Call<FinancialActivityAccountData> retrofit2.Call<FinancialActivityAccountData> retrieveTemplate(Map<String, String> headers) retrofit2.Call<PutFinancialActivityAccountsResponse> updateGLAccount(Long mappingId) Update a Financial Activity to Account Mapping the API updates the Ledger account linked to a Financial Activityretrofit2.Call<PutFinancialActivityAccountsResponse> updateGLAccount(Long mappingId, Map<String, String> headers) Update a Financial Activity to Account Mapping the API updates the Ledger account linked to a Financial Activityretrofit2.Call<PutFinancialActivityAccountsResponse> updateGLAccount(Long mappingId, PostFinancialActivityAccountsRequest postFinancialActivityAccountsRequest) Update a Financial Activity to Account Mapping the API updates the Ledger account linked to a Financial Activityretrofit2.Call<PutFinancialActivityAccountsResponse> updateGLAccount(Long mappingId, PostFinancialActivityAccountsRequest postFinancialActivityAccountsRequest, Map<String, String> headers) Update a Financial Activity to Account Mapping the API updates the Ledger account linked to a Financial Activity
-
Method Details
-
createGLAccount
@Headers("Content-Type:application/json") @POST("v1/financialactivityaccounts") retrofit2.Call<PostFinancialActivityAccountsResponse> createGLAccount(@Body PostFinancialActivityAccountsRequest postFinancialActivityAccountsRequest) Create a new Financial Activity to Accounts Mapping Mandatory Fields financialActivityId, glAccountId- Parameters:
postFinancialActivityAccountsRequest- (optional)- Returns:
- Call<PostFinancialActivityAccountsResponse>
-
deleteGLAccount
@DELETE("v1/financialactivityaccounts/{mappingId}") retrofit2.Call<DeleteFinancialActivityAccountsResponse> deleteGLAccount(@Path("mappingId") Long mappingId) Delete a Financial Activity to Account Mapping- Parameters:
mappingId- mappingId (required)- Returns:
- Call<DeleteFinancialActivityAccountsResponse>
-
retreive
@GET("v1/financialactivityaccounts/{mappingId}") retrofit2.Call<GetFinancialActivityAccountsResponse> retreive(@Path("mappingId") Long mappingId) Retrieve a Financial Activity to Account Mapping Example Requests: financialactivityaccounts/1- Parameters:
mappingId- mappingId (required)- Returns:
- Call<GetFinancialActivityAccountsResponse>
-
retrieveAll
@GET("v1/financialactivityaccounts") retrofit2.Call<List<GetFinancialActivityAccountsResponse>> retrieveAll()List Financial Activities to Accounts Mappings Example Requests: financialactivityaccounts- Returns:
- Call<List<GetFinancialActivityAccountsResponse>>
-
retrieveTemplate
@GET("v1/financialactivityaccounts/template") retrofit2.Call<FinancialActivityAccountData> retrieveTemplate()- Returns:
- Call<FinancialActivityAccountData>
-
updateGLAccount
@Headers("Content-Type:application/json") @PUT("v1/financialactivityaccounts/{mappingId}") retrofit2.Call<PutFinancialActivityAccountsResponse> updateGLAccount(@Path("mappingId") Long mappingId, @Body PostFinancialActivityAccountsRequest postFinancialActivityAccountsRequest) Update a Financial Activity to Account Mapping the API updates the Ledger account linked to a Financial Activity- Parameters:
mappingId- mappingId (required)postFinancialActivityAccountsRequest- (optional)- Returns:
- Call<PutFinancialActivityAccountsResponse>
-
createGLAccount
@Headers("Content-Type:application/json") @POST("v1/financialactivityaccounts") retrofit2.Call<PostFinancialActivityAccountsResponse> createGLAccount()Create a new Financial Activity to Accounts Mapping Mandatory Fields financialActivityId, glAccountId- Parameters:
postFinancialActivityAccountsRequest- (optional)- Returns:
- Call<PostFinancialActivityAccountsResponse>
-
updateGLAccount
@Headers("Content-Type:application/json") @PUT("v1/financialactivityaccounts/{mappingId}") retrofit2.Call<PutFinancialActivityAccountsResponse> updateGLAccount(@Path("mappingId") Long mappingId) Update a Financial Activity to Account Mapping the API updates the Ledger account linked to a Financial Activity- Parameters:
mappingId- mappingId (required)postFinancialActivityAccountsRequest- (optional)- Returns:
- Call<PutFinancialActivityAccountsResponse>
-
createGLAccount
@Headers("Content-Type:application/json") @POST("v1/financialactivityaccounts") retrofit2.Call<PostFinancialActivityAccountsResponse> createGLAccount(@Body PostFinancialActivityAccountsRequest postFinancialActivityAccountsRequest, @HeaderMap Map<String, String> headers) Create a new Financial Activity to Accounts Mapping Mandatory Fields financialActivityId, glAccountId- Parameters:
postFinancialActivityAccountsRequest- (optional)- Returns:
- Call<PostFinancialActivityAccountsResponse>
-
deleteGLAccount
@DELETE("v1/financialactivityaccounts/{mappingId}") retrofit2.Call<DeleteFinancialActivityAccountsResponse> deleteGLAccount(@Path("mappingId") Long mappingId, @HeaderMap Map<String, String> headers) Delete a Financial Activity to Account Mapping- Parameters:
mappingId- mappingId (required)- Returns:
- Call<DeleteFinancialActivityAccountsResponse>
-
retreive
@GET("v1/financialactivityaccounts/{mappingId}") retrofit2.Call<GetFinancialActivityAccountsResponse> retreive(@Path("mappingId") Long mappingId, @HeaderMap Map<String, String> headers) Retrieve a Financial Activity to Account Mapping Example Requests: financialactivityaccounts/1- Parameters:
mappingId- mappingId (required)- Returns:
- Call<GetFinancialActivityAccountsResponse>
-
retrieveAll
@GET("v1/financialactivityaccounts") retrofit2.Call<List<GetFinancialActivityAccountsResponse>> retrieveAll(@HeaderMap Map<String, String> headers) List Financial Activities to Accounts Mappings Example Requests: financialactivityaccounts- Returns:
- Call<List<GetFinancialActivityAccountsResponse>>
-
retrieveTemplate
@GET("v1/financialactivityaccounts/template") retrofit2.Call<FinancialActivityAccountData> retrieveTemplate(@HeaderMap Map<String, String> headers) - Returns:
- Call<FinancialActivityAccountData>
-
updateGLAccount
@Headers("Content-Type:application/json") @PUT("v1/financialactivityaccounts/{mappingId}") retrofit2.Call<PutFinancialActivityAccountsResponse> updateGLAccount(@Path("mappingId") Long mappingId, @Body PostFinancialActivityAccountsRequest postFinancialActivityAccountsRequest, @HeaderMap Map<String, String> headers) Update a Financial Activity to Account Mapping the API updates the Ledger account linked to a Financial Activity- Parameters:
mappingId- mappingId (required)postFinancialActivityAccountsRequest- (optional)- Returns:
- Call<PutFinancialActivityAccountsResponse>
-
createGLAccount
@Headers("Content-Type:application/json") @POST("v1/financialactivityaccounts") retrofit2.Call<PostFinancialActivityAccountsResponse> createGLAccount(@HeaderMap Map<String, String> headers) Create a new Financial Activity to Accounts Mapping Mandatory Fields financialActivityId, glAccountId- Parameters:
postFinancialActivityAccountsRequest- (optional)- Returns:
- Call<PostFinancialActivityAccountsResponse>
-
updateGLAccount
@Headers("Content-Type:application/json") @PUT("v1/financialactivityaccounts/{mappingId}") retrofit2.Call<PutFinancialActivityAccountsResponse> updateGLAccount(@Path("mappingId") Long mappingId, @HeaderMap Map<String, String> headers) Update a Financial Activity to Account Mapping the API updates the Ledger account linked to a Financial Activity- Parameters:
mappingId- mappingId (required)postFinancialActivityAccountsRequest- (optional)- Returns:
- Call<PutFinancialActivityAccountsResponse>
-