POST api/GetPayDetailsAuthorisedMileage
Get an employee's authorised pay details mileages
Request Information
Payload
Name | Payload Parameters | Additional information |
---|---|---|
Parameters |
int Personnel_Number int TaxYear |
None. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "ID": 1, "MileageDate": "2025-04-29T19:51:51.8157589+01:00", "PassengerCount": 3, "MilesClaimed": 4.0, "FuelValue": 5.0, "VATValue": 6.0, "Rejected": true, "RejectedReason": "sample string 8", "Cost_centre": "sample string 9", "Submitted": true, "VehicleType": "sample string 11", "AllowanceCode": "sample string 12", "FromPostcode": "sample string 13", "ToPostcode": "sample string 14", "CostCentre": "sample string 15", "VehicleID": 1, "Notes": "sample string 19", "Status": "REJECTED", "StatusImage": "~/ICONS/dcancel.png", "Tooltip": "rejected by manager : sample string 8", "PersonnelID": 16, "EmployeeName": "sample string 17", "DocumentCount": 18, "Description": "sample string 19", "FromLocation": "", "ToLocation": "" }, { "ID": 1, "MileageDate": "2025-04-29T19:51:51.8157589+01:00", "PassengerCount": 3, "MilesClaimed": 4.0, "FuelValue": 5.0, "VATValue": 6.0, "Rejected": true, "RejectedReason": "sample string 8", "Cost_centre": "sample string 9", "Submitted": true, "VehicleType": "sample string 11", "AllowanceCode": "sample string 12", "FromPostcode": "sample string 13", "ToPostcode": "sample string 14", "CostCentre": "sample string 15", "VehicleID": 1, "Notes": "sample string 19", "Status": "REJECTED", "StatusImage": "~/ICONS/dcancel.png", "Tooltip": "rejected by manager : sample string 8", "PersonnelID": 16, "EmployeeName": "sample string 17", "DocumentCount": 18, "Description": "sample string 19", "FromLocation": "", "ToLocation": "" }, { "ID": 1, "MileageDate": "2025-04-29T19:51:51.8157589+01:00", "PassengerCount": 3, "MilesClaimed": 4.0, "FuelValue": 5.0, "VATValue": 6.0, "Rejected": true, "RejectedReason": "sample string 8", "Cost_centre": "sample string 9", "Submitted": true, "VehicleType": "sample string 11", "AllowanceCode": "sample string 12", "FromPostcode": "sample string 13", "ToPostcode": "sample string 14", "CostCentre": "sample string 15", "VehicleID": 1, "Notes": "sample string 19", "Status": "REJECTED", "StatusImage": "~/ICONS/dcancel.png", "Tooltip": "rejected by manager : sample string 8", "PersonnelID": 16, "EmployeeName": "sample string 17", "DocumentCount": 18, "Description": "sample string 19", "FromLocation": "", "ToLocation": "" } ]
text/html
Sample:
[{"ID":1,"MileageDate":"2025-04-29T19:51:51.8157589+01:00","PassengerCount":3,"MilesClaimed":4.0,"FuelValue":5.0,"VATValue":6.0,"Rejected":true,"RejectedReason":"sample string 8","Cost_centre":"sample string 9","Submitted":true,"VehicleType":"sample string 11","AllowanceCode":"sample string 12","FromPostcode":"sample string 13","ToPostcode":"sample string 14","CostCentre":"sample string 15","VehicleID":1,"Notes":"sample string 19","Status":"REJECTED","StatusImage":"~/ICONS/dcancel.png","Tooltip":"rejected by manager : sample string 8","PersonnelID":16,"EmployeeName":"sample string 17","DocumentCount":18,"Description":"sample string 19","FromLocation":"","ToLocation":""},{"ID":1,"MileageDate":"2025-04-29T19:51:51.8157589+01:00","PassengerCount":3,"MilesClaimed":4.0,"FuelValue":5.0,"VATValue":6.0,"Rejected":true,"RejectedReason":"sample string 8","Cost_centre":"sample string 9","Submitted":true,"VehicleType":"sample string 11","AllowanceCode":"sample string 12","FromPostcode":"sample string 13","ToPostcode":"sample string 14","CostCentre":"sample string 15","VehicleID":1,"Notes":"sample string 19","Status":"REJECTED","StatusImage":"~/ICONS/dcancel.png","Tooltip":"rejected by manager : sample string 8","PersonnelID":16,"EmployeeName":"sample string 17","DocumentCount":18,"Description":"sample string 19","FromLocation":"","ToLocation":""},{"ID":1,"MileageDate":"2025-04-29T19:51:51.8157589+01:00","PassengerCount":3,"MilesClaimed":4.0,"FuelValue":5.0,"VATValue":6.0,"Rejected":true,"RejectedReason":"sample string 8","Cost_centre":"sample string 9","Submitted":true,"VehicleType":"sample string 11","AllowanceCode":"sample string 12","FromPostcode":"sample string 13","ToPostcode":"sample string 14","CostCentre":"sample string 15","VehicleID":1,"Notes":"sample string 19","Status":"REJECTED","StatusImage":"~/ICONS/dcancel.png","Tooltip":"rejected by manager : sample string 8","PersonnelID":16,"EmployeeName":"sample string 17","DocumentCount":18,"Description":"sample string 19","FromLocation":"","ToLocation":""}]
application/xml, text/xml
Sample:
<ArrayOfMileage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carval.SelfService.BLL.PayDetails"> <Mileage> <Description>sample string 19</Description> <AllowanceCode>sample string 12</AllowanceCode> <CostCentre>sample string 15</CostCentre> <Cost_centre>sample string 9</Cost_centre> <DocumentCount>18</DocumentCount> <EmployeeName>sample string 17</EmployeeName> <FromPostcode>sample string 13</FromPostcode> <FuelValue>5</FuelValue> <ID>1</ID> <MileageDate>2025-04-29T19:51:51.8157589+01:00</MileageDate> <MilesClaimed>4</MilesClaimed> <PassengerCount>3</PassengerCount> <PersonnelID>16</PersonnelID> <Rejected>true</Rejected> <RejectedReason>sample string 8</RejectedReason> <Submitted>true</Submitted> <ToPostcode>sample string 14</ToPostcode> <VATValue>6</VATValue> <VehicleID>1</VehicleID> <VehicleType>sample string 11</VehicleType> </Mileage> <Mileage> <Description>sample string 19</Description> <AllowanceCode>sample string 12</AllowanceCode> <CostCentre>sample string 15</CostCentre> <Cost_centre>sample string 9</Cost_centre> <DocumentCount>18</DocumentCount> <EmployeeName>sample string 17</EmployeeName> <FromPostcode>sample string 13</FromPostcode> <FuelValue>5</FuelValue> <ID>1</ID> <MileageDate>2025-04-29T19:51:51.8157589+01:00</MileageDate> <MilesClaimed>4</MilesClaimed> <PassengerCount>3</PassengerCount> <PersonnelID>16</PersonnelID> <Rejected>true</Rejected> <RejectedReason>sample string 8</RejectedReason> <Submitted>true</Submitted> <ToPostcode>sample string 14</ToPostcode> <VATValue>6</VATValue> <VehicleID>1</VehicleID> <VehicleType>sample string 11</VehicleType> </Mileage> <Mileage> <Description>sample string 19</Description> <AllowanceCode>sample string 12</AllowanceCode> <CostCentre>sample string 15</CostCentre> <Cost_centre>sample string 9</Cost_centre> <DocumentCount>18</DocumentCount> <EmployeeName>sample string 17</EmployeeName> <FromPostcode>sample string 13</FromPostcode> <FuelValue>5</FuelValue> <ID>1</ID> <MileageDate>2025-04-29T19:51:51.8157589+01:00</MileageDate> <MilesClaimed>4</MilesClaimed> <PassengerCount>3</PassengerCount> <PersonnelID>16</PersonnelID> <Rejected>true</Rejected> <RejectedReason>sample string 8</RejectedReason> <Submitted>true</Submitted> <ToPostcode>sample string 14</ToPostcode> <VATValue>6</VATValue> <VehicleID>1</VehicleID> <VehicleType>sample string 11</VehicleType> </Mileage> </ArrayOfMileage>