GET api/V3/Allowance/list?lastAllowanceId={lastAllowanceId}
Lists all the expenses . Use this to get latest allowances.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lastAllowanceId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Top 100 expenses are returned
Collection of AllowanceName | Description | Type | Additional information |
---|---|---|---|
AllowanceId |
Id of the visit |
integer |
None. |
FieldUserName | string |
None. |
|
FieldUserErpId | string |
None. |
|
SubmittedDate | date |
None. |
|
SubmittedTime | string |
None. |
|
ApprovedOn | date |
None. |
|
SelectedBeatName | string |
None. |
|
DA | Collection of DA |
None. |
|
TA | Collection of TA |
None. |
|
LC | Collection of LC |
None. |
|
MISC | Collection of MISC |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AllowanceId": 1, "FieldUserName": "sample string 2", "FieldUserErpId": "sample string 3", "SubmittedDate": "2025-04-04T05:15:32.2296425+00:00", "SubmittedTime": "sample string 5", "ApprovedOn": "2025-04-04T05:15:32.2296425+00:00", "SelectedBeatName": "sample string 6", "DA": [ { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" }, { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" } ], "TA": [ { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" }, { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" } ], "LC": [ { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" }, { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" } ], "MISC": [ { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" }, { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" } ] }, { "AllowanceId": 1, "FieldUserName": "sample string 2", "FieldUserErpId": "sample string 3", "SubmittedDate": "2025-04-04T05:15:32.2296425+00:00", "SubmittedTime": "sample string 5", "ApprovedOn": "2025-04-04T05:15:32.2296425+00:00", "SelectedBeatName": "sample string 6", "DA": [ { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" }, { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" } ], "TA": [ { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" }, { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" } ], "LC": [ { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" }, { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" } ], "MISC": [ { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" }, { "ExpenseTitle": "sample string 1", "SubmissionValue": 1.0, "ApprovalValue": 1.0, "ImageUrl": "sample string 2", "SubmissionRemark": "sample string 3", "ApprovalRemark": "sample string 4", "RevisedOn": "2025-04-04T05:15:32.2296425+00:00" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfAllowance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.Models.V3"> <Allowance> <AllowanceId>1</AllowanceId> <ApprovedOn>2025-04-04T05:15:32.2296425+00:00</ApprovedOn> <DA> <DA> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </DA> <DA> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </DA> </DA> <FieldUserErpId>sample string 3</FieldUserErpId> <FieldUserName>sample string 2</FieldUserName> <LC> <LC> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </LC> <LC> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </LC> </LC> <MISC> <MISC> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </MISC> <MISC> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </MISC> </MISC> <SelectedBeatName>sample string 6</SelectedBeatName> <SubmittedDate>2025-04-04T05:15:32.2296425+00:00</SubmittedDate> <SubmittedTime>sample string 5</SubmittedTime> <TA> <TA> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </TA> <TA> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </TA> </TA> </Allowance> <Allowance> <AllowanceId>1</AllowanceId> <ApprovedOn>2025-04-04T05:15:32.2296425+00:00</ApprovedOn> <DA> <DA> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </DA> <DA> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </DA> </DA> <FieldUserErpId>sample string 3</FieldUserErpId> <FieldUserName>sample string 2</FieldUserName> <LC> <LC> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </LC> <LC> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </LC> </LC> <MISC> <MISC> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </MISC> <MISC> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </MISC> </MISC> <SelectedBeatName>sample string 6</SelectedBeatName> <SubmittedDate>2025-04-04T05:15:32.2296425+00:00</SubmittedDate> <SubmittedTime>sample string 5</SubmittedTime> <TA> <TA> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </TA> <TA> <ApprovalRemark>sample string 4</ApprovalRemark> <ApprovalValue>1</ApprovalValue> <ExpenseTitle>sample string 1</ExpenseTitle> <ImageUrl>sample string 2</ImageUrl> <RevisedOn>2025-04-04T05:15:32.2296425+00:00</RevisedOn> <SubmissionRemark>sample string 3</SubmissionRemark> <SubmissionValue>1</SubmissionValue> </TA> </TA> </Allowance> </ArrayOfAllowance>