POST api/GetPayDetailsExpenses
Get an employee's pay details expenses
Request Information
Payload
Name | Payload Parameters | Additional information |
---|---|---|
Parameters |
int Personnel_Number bool Rejected bool Submitted |
None. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "ID": 1, "ExpenseDate": "2025-04-29T19:49:07.9239579+01:00", "Description": "sample string 3", "Cost_centre": "sample string 4", "Cost_centreDesc": "sample string 5", "Value": 6.0, "VATValue": 7.0, "GrossTotal": 13.0, "PayPeriod": 9, "ExpenseType": "sample string 10", "ExpenseTypeCode": "sample string 11", "ExpenseTypeDescription": "sample string 12", "Receipt": true, "Rejected": true, "RejectedReason": "sample string 15", "Notes": "sample string 16", "Submitted": true, "Status": "REJECTED", "StatusImage": "~/ICONS/dcancel.png", "Tooltip": "rejected by manager : sample string 15", "PersonnelID": 21, "EmployeeName": "sample string 22", "DocumentCount": 23 }, { "ID": 1, "ExpenseDate": "2025-04-29T19:49:07.9239579+01:00", "Description": "sample string 3", "Cost_centre": "sample string 4", "Cost_centreDesc": "sample string 5", "Value": 6.0, "VATValue": 7.0, "GrossTotal": 13.0, "PayPeriod": 9, "ExpenseType": "sample string 10", "ExpenseTypeCode": "sample string 11", "ExpenseTypeDescription": "sample string 12", "Receipt": true, "Rejected": true, "RejectedReason": "sample string 15", "Notes": "sample string 16", "Submitted": true, "Status": "REJECTED", "StatusImage": "~/ICONS/dcancel.png", "Tooltip": "rejected by manager : sample string 15", "PersonnelID": 21, "EmployeeName": "sample string 22", "DocumentCount": 23 }, { "ID": 1, "ExpenseDate": "2025-04-29T19:49:07.9239579+01:00", "Description": "sample string 3", "Cost_centre": "sample string 4", "Cost_centreDesc": "sample string 5", "Value": 6.0, "VATValue": 7.0, "GrossTotal": 13.0, "PayPeriod": 9, "ExpenseType": "sample string 10", "ExpenseTypeCode": "sample string 11", "ExpenseTypeDescription": "sample string 12", "Receipt": true, "Rejected": true, "RejectedReason": "sample string 15", "Notes": "sample string 16", "Submitted": true, "Status": "REJECTED", "StatusImage": "~/ICONS/dcancel.png", "Tooltip": "rejected by manager : sample string 15", "PersonnelID": 21, "EmployeeName": "sample string 22", "DocumentCount": 23 } ]
text/html
Sample:
[{"ID":1,"ExpenseDate":"2025-04-29T19:49:07.9239579+01:00","Description":"sample string 3","Cost_centre":"sample string 4","Cost_centreDesc":"sample string 5","Value":6.0,"VATValue":7.0,"GrossTotal":13.0,"PayPeriod":9,"ExpenseType":"sample string 10","ExpenseTypeCode":"sample string 11","ExpenseTypeDescription":"sample string 12","Receipt":true,"Rejected":true,"RejectedReason":"sample string 15","Notes":"sample string 16","Submitted":true,"Status":"REJECTED","StatusImage":"~/ICONS/dcancel.png","Tooltip":"rejected by manager : sample string 15","PersonnelID":21,"EmployeeName":"sample string 22","DocumentCount":23},{"ID":1,"ExpenseDate":"2025-04-29T19:49:07.9239579+01:00","Description":"sample string 3","Cost_centre":"sample string 4","Cost_centreDesc":"sample string 5","Value":6.0,"VATValue":7.0,"GrossTotal":13.0,"PayPeriod":9,"ExpenseType":"sample string 10","ExpenseTypeCode":"sample string 11","ExpenseTypeDescription":"sample string 12","Receipt":true,"Rejected":true,"RejectedReason":"sample string 15","Notes":"sample string 16","Submitted":true,"Status":"REJECTED","StatusImage":"~/ICONS/dcancel.png","Tooltip":"rejected by manager : sample string 15","PersonnelID":21,"EmployeeName":"sample string 22","DocumentCount":23},{"ID":1,"ExpenseDate":"2025-04-29T19:49:07.9239579+01:00","Description":"sample string 3","Cost_centre":"sample string 4","Cost_centreDesc":"sample string 5","Value":6.0,"VATValue":7.0,"GrossTotal":13.0,"PayPeriod":9,"ExpenseType":"sample string 10","ExpenseTypeCode":"sample string 11","ExpenseTypeDescription":"sample string 12","Receipt":true,"Rejected":true,"RejectedReason":"sample string 15","Notes":"sample string 16","Submitted":true,"Status":"REJECTED","StatusImage":"~/ICONS/dcancel.png","Tooltip":"rejected by manager : sample string 15","PersonnelID":21,"EmployeeName":"sample string 22","DocumentCount":23}]
application/xml, text/xml
Sample:
<ArrayOfExpense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carval.SelfService.BLL.PayDetails"> <Expense> <Cost_centre>sample string 4</Cost_centre> <Cost_centreDesc>sample string 5</Cost_centreDesc> <Description>sample string 3</Description> <DocumentCount>23</DocumentCount> <EmployeeName>sample string 22</EmployeeName> <ExpenseDate>2025-04-29T19:49:07.9239579+01:00</ExpenseDate> <ExpenseType>sample string 10</ExpenseType> <ExpenseTypeCode>sample string 11</ExpenseTypeCode> <ExpenseTypeDescription>sample string 12</ExpenseTypeDescription> <GrossTotal>13</GrossTotal> <ID>1</ID> <Notes>sample string 16</Notes> <PayPeriod>9</PayPeriod> <PersonnelID>21</PersonnelID> <Receipt>true</Receipt> <Rejected>true</Rejected> <RejectedReason>sample string 15</RejectedReason> <Status>REJECTED</Status> <StatusImage>~/ICONS/dcancel.png</StatusImage> <Submitted>true</Submitted> <Tooltip>rejected by manager : sample string 15</Tooltip> <VATValue>7</VATValue> <Value>6</Value> </Expense> <Expense> <Cost_centre>sample string 4</Cost_centre> <Cost_centreDesc>sample string 5</Cost_centreDesc> <Description>sample string 3</Description> <DocumentCount>23</DocumentCount> <EmployeeName>sample string 22</EmployeeName> <ExpenseDate>2025-04-29T19:49:07.9239579+01:00</ExpenseDate> <ExpenseType>sample string 10</ExpenseType> <ExpenseTypeCode>sample string 11</ExpenseTypeCode> <ExpenseTypeDescription>sample string 12</ExpenseTypeDescription> <GrossTotal>13</GrossTotal> <ID>1</ID> <Notes>sample string 16</Notes> <PayPeriod>9</PayPeriod> <PersonnelID>21</PersonnelID> <Receipt>true</Receipt> <Rejected>true</Rejected> <RejectedReason>sample string 15</RejectedReason> <Status>REJECTED</Status> <StatusImage>~/ICONS/dcancel.png</StatusImage> <Submitted>true</Submitted> <Tooltip>rejected by manager : sample string 15</Tooltip> <VATValue>7</VATValue> <Value>6</Value> </Expense> <Expense> <Cost_centre>sample string 4</Cost_centre> <Cost_centreDesc>sample string 5</Cost_centreDesc> <Description>sample string 3</Description> <DocumentCount>23</DocumentCount> <EmployeeName>sample string 22</EmployeeName> <ExpenseDate>2025-04-29T19:49:07.9239579+01:00</ExpenseDate> <ExpenseType>sample string 10</ExpenseType> <ExpenseTypeCode>sample string 11</ExpenseTypeCode> <ExpenseTypeDescription>sample string 12</ExpenseTypeDescription> <GrossTotal>13</GrossTotal> <ID>1</ID> <Notes>sample string 16</Notes> <PayPeriod>9</PayPeriod> <PersonnelID>21</PersonnelID> <Receipt>true</Receipt> <Rejected>true</Rejected> <RejectedReason>sample string 15</RejectedReason> <Status>REJECTED</Status> <StatusImage>~/ICONS/dcancel.png</StatusImage> <Submitted>true</Submitted> <Tooltip>rejected by manager : sample string 15</Tooltip> <VATValue>7</VATValue> <Value>6</Value> </Expense> </ArrayOfExpense>