Hi Harshveer Singh,
Please find below details of get file data of candidate API:
API Endpoint details:
HTTP Method : GET
URL : /api/get/candidate/upload/hbcandidate@hb.com/2/1/DMS/filename/ desc
API Input:
- PersonEmail (Required):This will contain person email address whose uploaded file list needs to provide.
- PageSize: This will contain no of records to be provided for given page.
- PageNumber: This will contain page no to be provided.
- SearchTerm: This will contain string that will be used to search data in list.
- Sortcolumn: This will be used to sort candidates uploaded file(s) list by specific column and this will contain – filename, uploadedby, datetime, description, orderID, releaseID .
- Sortby: This will be used to sort candidates uploaded file(s) list in ascending or descending order and this will contain – asc, desc .
API Return value:
List of candidate uploaded files and total no of records
API Success Response:
On success following response will be returned:
HTTP/1.1 200
{
"data": [
{
"UploadFileobj":
{ "file_name": "CandiadateProfile.doc", "file_description": "Candidate Profile File", "file_content": null, "orderID": 1, "releaseID": 2, "uploaderusername": "Career Builder" }
,
"attchementID": 231,
"CreatedDateTime": "2019-04-29T12:19:47"
},
{
"UploadFileobj":
{ "file_name": "CandiadateEmplyment.pdf", "file_description": "Candidate Emplyment File", "file_content": null, "orderID": 3, "releaseID": 4, "uploaderusername": "You" }
,
"attchementID": 232,
"CreatedDateTime": "2019-04-29T12:22:32"
}
],
"noofrecords": 5
}
Thanks,
Komal
CC:Swapnil Pandhare, Ganesh Sadawarte,Samir
No Testing required from Qa end, So, marking jira done.