GET api/CostClient/GetCostSelectSummaryByAccountID?accountID={accountID}&showInactive={showInactive}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountID | integer |
Required |
|
showInactive | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
CostListVMName | Description | Type | Additional information |
---|---|---|---|
CostSummaryList | Collection of CostSummaryByAccountID |
None. |
|
NumberOfResults | integer |
None. |
|
Response | IResponse |
None. |
Response Formats
application/json, text/json
Sample:
{ "CostSummaryList": [ { "CostID": 1, "Master_Cost": "sample string 2", "Internal_Cost": 1.0, "Account_Cost": 1.0, "Entity_Cost": 1.0, "Internal_Tax_Rate": 1.0, "Account_Tax_Rate": 1.0, "Entity_Tax_Rate": 1.0, "Internal_Tax": 1.0, "Account_Tax": 1.0, "Entity_Tax": 1.0, "Allocation": 1.0, "Balance": 1.0, "Internal_Reference": "sample string 3", "Entity_Reference": "sample string 4", "Account_Reference": "sample string 5", "Cost_Date": "2025-09-02T23:07:12.3162633+00:00", "InvoiceID": 1, "Currency": "sample string 6", "CurrencyCharacter": "sample string 7", "CurrencyRate": 1.0, "Client_Transaction_Reference": "sample string 8", "Client_Transaction_ID": 1, "Accounting_Batch_ID": 1, "Accounting_Batch_Date": "2025-09-02T23:07:12.3162633+00:00", "Active": true, "CreateTS": "2025-09-02T23:07:12.3162633+00:00", "RecoveryIssueDate": "2025-09-02T23:07:12.3162633+00:00", "DebtReferalStatus": "sample string 9", "Internal_Description": "sample string 10", "Account_Description": "sample string 11", "Entity_Description": "sample string 12", "Cost_Payment_ID": 1, "Review_ID": 1, "Principal_Reference": "sample string 13" }, { "CostID": 1, "Master_Cost": "sample string 2", "Internal_Cost": 1.0, "Account_Cost": 1.0, "Entity_Cost": 1.0, "Internal_Tax_Rate": 1.0, "Account_Tax_Rate": 1.0, "Entity_Tax_Rate": 1.0, "Internal_Tax": 1.0, "Account_Tax": 1.0, "Entity_Tax": 1.0, "Allocation": 1.0, "Balance": 1.0, "Internal_Reference": "sample string 3", "Entity_Reference": "sample string 4", "Account_Reference": "sample string 5", "Cost_Date": "2025-09-02T23:07:12.3162633+00:00", "InvoiceID": 1, "Currency": "sample string 6", "CurrencyCharacter": "sample string 7", "CurrencyRate": 1.0, "Client_Transaction_Reference": "sample string 8", "Client_Transaction_ID": 1, "Accounting_Batch_ID": 1, "Accounting_Batch_Date": "2025-09-02T23:07:12.3162633+00:00", "Active": true, "CreateTS": "2025-09-02T23:07:12.3162633+00:00", "RecoveryIssueDate": "2025-09-02T23:07:12.3162633+00:00", "DebtReferalStatus": "sample string 9", "Internal_Description": "sample string 10", "Account_Description": "sample string 11", "Entity_Description": "sample string 12", "Cost_Payment_ID": 1, "Review_ID": 1, "Principal_Reference": "sample string 13" } ], "NumberOfResults": 1, "Response": null }
application/xml, text/xml
Sample:
<CostListVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.Cost"> <Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" /> <CostSummaryList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.Cost"> <d2p1:CostSummaryByAccountID> <d2p1:Account_Cost>1</d2p1:Account_Cost> <d2p1:Account_Description>sample string 11</d2p1:Account_Description> <d2p1:Account_Reference>sample string 5</d2p1:Account_Reference> <d2p1:Account_Tax>1</d2p1:Account_Tax> <d2p1:Account_Tax_Rate>1</d2p1:Account_Tax_Rate> <d2p1:Accounting_Batch_Date>2025-09-02T23:07:12.3162633+00:00</d2p1:Accounting_Batch_Date> <d2p1:Accounting_Batch_ID>1</d2p1:Accounting_Batch_ID> <d2p1:Active>true</d2p1:Active> <d2p1:Allocation>1</d2p1:Allocation> <d2p1:Balance>1</d2p1:Balance> <d2p1:Client_Transaction_ID>1</d2p1:Client_Transaction_ID> <d2p1:Client_Transaction_Reference>sample string 8</d2p1:Client_Transaction_Reference> <d2p1:CostID>1</d2p1:CostID> <d2p1:Cost_Date>2025-09-02T23:07:12.3162633+00:00</d2p1:Cost_Date> <d2p1:Cost_Payment_ID>1</d2p1:Cost_Payment_ID> <d2p1:CreateTS>2025-09-02T23:07:12.3162633+00:00</d2p1:CreateTS> <d2p1:Currency>sample string 6</d2p1:Currency> <d2p1:CurrencyCharacter>sample string 7</d2p1:CurrencyCharacter> <d2p1:CurrencyRate>1</d2p1:CurrencyRate> <d2p1:DebtReferalStatus>sample string 9</d2p1:DebtReferalStatus> <d2p1:Entity_Cost>1</d2p1:Entity_Cost> <d2p1:Entity_Description>sample string 12</d2p1:Entity_Description> <d2p1:Entity_Reference>sample string 4</d2p1:Entity_Reference> <d2p1:Entity_Tax>1</d2p1:Entity_Tax> <d2p1:Entity_Tax_Rate>1</d2p1:Entity_Tax_Rate> <d2p1:Internal_Cost>1</d2p1:Internal_Cost> <d2p1:Internal_Description>sample string 10</d2p1:Internal_Description> <d2p1:Internal_Reference>sample string 3</d2p1:Internal_Reference> <d2p1:Internal_Tax>1</d2p1:Internal_Tax> <d2p1:Internal_Tax_Rate>1</d2p1:Internal_Tax_Rate> <d2p1:InvoiceID>1</d2p1:InvoiceID> <d2p1:Master_Cost>sample string 2</d2p1:Master_Cost> <d2p1:Principal_Reference>sample string 13</d2p1:Principal_Reference> <d2p1:RecoveryIssueDate>2025-09-02T23:07:12.3162633+00:00</d2p1:RecoveryIssueDate> <d2p1:Review_ID>1</d2p1:Review_ID> </d2p1:CostSummaryByAccountID> <d2p1:CostSummaryByAccountID> <d2p1:Account_Cost>1</d2p1:Account_Cost> <d2p1:Account_Description>sample string 11</d2p1:Account_Description> <d2p1:Account_Reference>sample string 5</d2p1:Account_Reference> <d2p1:Account_Tax>1</d2p1:Account_Tax> <d2p1:Account_Tax_Rate>1</d2p1:Account_Tax_Rate> <d2p1:Accounting_Batch_Date>2025-09-02T23:07:12.3162633+00:00</d2p1:Accounting_Batch_Date> <d2p1:Accounting_Batch_ID>1</d2p1:Accounting_Batch_ID> <d2p1:Active>true</d2p1:Active> <d2p1:Allocation>1</d2p1:Allocation> <d2p1:Balance>1</d2p1:Balance> <d2p1:Client_Transaction_ID>1</d2p1:Client_Transaction_ID> <d2p1:Client_Transaction_Reference>sample string 8</d2p1:Client_Transaction_Reference> <d2p1:CostID>1</d2p1:CostID> <d2p1:Cost_Date>2025-09-02T23:07:12.3162633+00:00</d2p1:Cost_Date> <d2p1:Cost_Payment_ID>1</d2p1:Cost_Payment_ID> <d2p1:CreateTS>2025-09-02T23:07:12.3162633+00:00</d2p1:CreateTS> <d2p1:Currency>sample string 6</d2p1:Currency> <d2p1:CurrencyCharacter>sample string 7</d2p1:CurrencyCharacter> <d2p1:CurrencyRate>1</d2p1:CurrencyRate> <d2p1:DebtReferalStatus>sample string 9</d2p1:DebtReferalStatus> <d2p1:Entity_Cost>1</d2p1:Entity_Cost> <d2p1:Entity_Description>sample string 12</d2p1:Entity_Description> <d2p1:Entity_Reference>sample string 4</d2p1:Entity_Reference> <d2p1:Entity_Tax>1</d2p1:Entity_Tax> <d2p1:Entity_Tax_Rate>1</d2p1:Entity_Tax_Rate> <d2p1:Internal_Cost>1</d2p1:Internal_Cost> <d2p1:Internal_Description>sample string 10</d2p1:Internal_Description> <d2p1:Internal_Reference>sample string 3</d2p1:Internal_Reference> <d2p1:Internal_Tax>1</d2p1:Internal_Tax> <d2p1:Internal_Tax_Rate>1</d2p1:Internal_Tax_Rate> <d2p1:InvoiceID>1</d2p1:InvoiceID> <d2p1:Master_Cost>sample string 2</d2p1:Master_Cost> <d2p1:Principal_Reference>sample string 13</d2p1:Principal_Reference> <d2p1:RecoveryIssueDate>2025-09-02T23:07:12.3162633+00:00</d2p1:RecoveryIssueDate> <d2p1:Review_ID>1</d2p1:Review_ID> </d2p1:CostSummaryByAccountID> </CostSummaryList> <NumberOfResults>1</NumberOfResults> </CostListVM>