API Details :
API : [GET]- /api/User/ValidatePreviewToken/{token}
Response :
In case of HTML, we will be returning form details and for PDF, form details will be null as form details is required only in the case of HTML
HTML response :
{
"docType": 1,
"companyid": "1",
"fileName": "HTMLLatestVersion_1557483471049.html",
"formDetails": [
{ "Key": "first_name", "Value": "Sue", "AccessRightsID": 31 }
,
{ "Key": "last_name", "Value": "Vincent", "AccessRightsID": 31 }
,
{ "Key": "email", "Value": "ramya.tantry@careerbuilder.com", "AccessRightsID": 31 }
],
"fileExtension": ".html"
}
PDF response :
{ "docType": 3, "companyid": "1", "fileName": "0435996587348727.pdf", "formDetails": null, "fileExtension": ".pdf" }
NOTE : Multiple document form details not yet considered.
Environment: Prod
Login: Admin and Candidate
Browser: FF and Chrome
Points covered:
1. Able to see mapped fields
2. Mapped fields data saved after editing
3. Map fields data displayed with Admin login
Refer screen capture. So, marking jira done.
Samir Rohan J Khandave Sachin Hingole Hrishikesh Deshpande