GET v1/company/{companyId}/expenses/{id}
Get expenses detail
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companyId |
Company id |
decimal number |
Required |
id |
Expenses id |
decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfAppExpenseMasterModelName | Description | Type | Additional information |
---|---|---|---|
Result | AppExpenseMasterModel |
None. |
|
Status | boolean |
None. |
|
Message | string |
None. |
|
Errors |
Errors occures while processing request |
Collection of ApiError |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": { "Id": 1.0, "ContactId": 2.0, "ContactName": "sample string 3", "VNo": "sample string 4", "VDate": "2025-04-22", "DueDate": "2025-04-22", "CurrencyCode": "sample string 7", "CurrencySymbol": "sample string 8", "GrossAmount": 9.0, "IGrossAmount": 10.0, "TaxAmount": 11.0, "ITaxAmount": 12.0, "TotalAmount": 22.0, "ITotalAmount": 20.0, "IsEditable": true, "Type": "Expenses", "BalanceRemaining": 16.0, "AppliedAmount": 17.0, "IAppliedAmount": 18.0, "Note": "sample string 19", "Items": [ { "Id": 1.0, "Description": "sample string 3", "Price": 4.0, "AccountId": 5.0, "AccountName": "sample string 6", "AccountCode": "sample string 7", "TaxId": 8.0, "TaxName": "sample string 9", "TaxRate": 10.0, "TaxAmount": 11.0, "VatIncluded": true, "gAmount": 13.0, "NetAmount": -7.0, "GrossAmount": 4.0 }, { "Id": 1.0, "Description": "sample string 3", "Price": 4.0, "AccountId": 5.0, "AccountName": "sample string 6", "AccountCode": "sample string 7", "TaxId": 8.0, "TaxName": "sample string 9", "TaxRate": 10.0, "TaxAmount": 11.0, "VatIncluded": true, "gAmount": 13.0, "NetAmount": -7.0, "GrossAmount": 4.0 } ], "Attachments": [ { "Id": 1.0, "Name": "sample string 2", "ContentType": "sample string 3", "FileUrl": "sample string 6", "FileContent": "sample string 7" }, { "Id": 1.0, "Name": "sample string 2", "ContentType": "sample string 3", "FileUrl": "sample string 6", "FileContent": "sample string 7" } ], "VatIncluded": true, "CurrencyId": 1.0, "CurrencyRate": 22.0, "CurrencyName": "sample string 23", "Payments": [ { "Id": 1.0, "VDate_Payment": "sample string 2", "VNo_Payment": "sample string 3", "Amount": 4.0, "RAmount": 5.0, "Symbol": "sample string 6", "F_CurrencyMaster": 7, "AccountName": "sample string 8" }, { "Id": 1.0, "VDate_Payment": "sample string 2", "VNo_Payment": "sample string 3", "Amount": 4.0, "RAmount": 5.0, "Symbol": "sample string 6", "F_CurrencyMaster": 7, "AccountName": "sample string 8" } ] }, "Status": true, "Message": "sample string 2", "Errors": [ { "Number": 1, "Message": "sample string 2", "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } }, { "Number": 1, "Message": "sample string 2", "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } } ] }