POST api/GetAdministrationApprovalLevels
Get the approval levels currently set up
Request Information
Payload
Name | Payload Parameters | Additional information |
---|---|---|
Parameters | None. |
None. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "CompanyID": 1, "CompanyName": "sample string 2", "AuthorisationRequired": true, "AllowInputs": true, "AllowDeductions": true, "AllowSalary": true, "AllowRateofPay": true }, { "CompanyID": 1, "CompanyName": "sample string 2", "AuthorisationRequired": true, "AllowInputs": true, "AllowDeductions": true, "AllowSalary": true, "AllowRateofPay": true }, { "CompanyID": 1, "CompanyName": "sample string 2", "AuthorisationRequired": true, "AllowInputs": true, "AllowDeductions": true, "AllowSalary": true, "AllowRateofPay": true } ]
text/html
Sample:
[{"CompanyID":1,"CompanyName":"sample string 2","AuthorisationRequired":true,"AllowInputs":true,"AllowDeductions":true,"AllowSalary":true,"AllowRateofPay":true},{"CompanyID":1,"CompanyName":"sample string 2","AuthorisationRequired":true,"AllowInputs":true,"AllowDeductions":true,"AllowSalary":true,"AllowRateofPay":true},{"CompanyID":1,"CompanyName":"sample string 2","AuthorisationRequired":true,"AllowInputs":true,"AllowDeductions":true,"AllowSalary":true,"AllowRateofPay":true}]
application/xml, text/xml
Sample:
<ArrayOfApprovalLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carval.SelfService.BLL.Administration"> <ApprovalLevel> <AllowDeductions>true</AllowDeductions> <AllowInputs>true</AllowInputs> <AllowRateofPay>true</AllowRateofPay> <AllowSalary>true</AllowSalary> <AuthorisationRequired>true</AuthorisationRequired> <CompanyID>1</CompanyID> <CompanyName>sample string 2</CompanyName> </ApprovalLevel> <ApprovalLevel> <AllowDeductions>true</AllowDeductions> <AllowInputs>true</AllowInputs> <AllowRateofPay>true</AllowRateofPay> <AllowSalary>true</AllowSalary> <AuthorisationRequired>true</AuthorisationRequired> <CompanyID>1</CompanyID> <CompanyName>sample string 2</CompanyName> </ApprovalLevel> <ApprovalLevel> <AllowDeductions>true</AllowDeductions> <AllowInputs>true</AllowInputs> <AllowRateofPay>true</AllowRateofPay> <AllowSalary>true</AllowSalary> <AuthorisationRequired>true</AuthorisationRequired> <CompanyID>1</CompanyID> <CompanyName>sample string 2</CompanyName> </ApprovalLevel> </ArrayOfApprovalLevel>