POST api/GetDashboardApprovalsList
Get an employee's approvals list
Request Information
Payload
| Name | Payload Parameters | Additional information |
|---|---|---|
| Parameters | int Personnel_Number |
None. |
Response Information
Response body formats
application/json, text/json
[
{
"PersonnelID": 1,
"Name": "sample string 2",
"Count": 3,
"Link": "sample string 4",
"Image": "user-alt-2.png",
"Description": "",
"DescriptionNoCount": ""
},
{
"PersonnelID": 1,
"Name": "sample string 2",
"Count": 3,
"Link": "sample string 4",
"Image": "user-alt-2.png",
"Description": "",
"DescriptionNoCount": ""
},
{
"PersonnelID": 1,
"Name": "sample string 2",
"Count": 3,
"Link": "sample string 4",
"Image": "user-alt-2.png",
"Description": "",
"DescriptionNoCount": ""
}
]
text/html
[{"PersonnelID":1,"Name":"sample string 2","Count":3,"Link":"sample string 4","Image":"user-alt-2.png","Description":"","DescriptionNoCount":""},{"PersonnelID":1,"Name":"sample string 2","Count":3,"Link":"sample string 4","Image":"user-alt-2.png","Description":"","DescriptionNoCount":""},{"PersonnelID":1,"Name":"sample string 2","Count":3,"Link":"sample string 4","Image":"user-alt-2.png","Description":"","DescriptionNoCount":""}]
application/xml, text/xml
<ArrayOfApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carval.SelfService.BLL.Dashboard">
<Approval>
<Count>3</Count>
<Link>sample string 4</Link>
<Name>sample string 2</Name>
<PersonnelID>1</PersonnelID>
</Approval>
<Approval>
<Count>3</Count>
<Link>sample string 4</Link>
<Name>sample string 2</Name>
<PersonnelID>1</PersonnelID>
</Approval>
<Approval>
<Count>3</Count>
<Link>sample string 4</Link>
<Name>sample string 2</Name>
<PersonnelID>1</PersonnelID>
</Approval>
</ArrayOfApproval>