-
Type: New Feature
-
Status: Done
-
Priority: High
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: Enhancements - Fall
-
Labels:
-
Company:All Clients/Multiple Clients
-
Sprint:DMS - Fall Sprint 7
Overloaded API method for Generation of Document which takes the “Document_Key” and payload
Add additional property UniqueFormAlias in payload
Document_Key = UniqueFormAlias
1. Create document API will return link to review and sign the generated document and document ID’s of generated documents.
2. CBES need to open the link returned from create document API in iframe by appending 'docId' request parameter in the link(&docId=<documentId>).
3. This iframe will raise event to parent window when user signs or declines.
4. After that download document API can be used to download the signed document.
Sample Payload Create Document API :
{
"templateIds": [
0
],
"formAliases" : [
"AUS_ICRIM"
],
"payload":
,
"sendDocument": 2, // 0-Don't generate document. 1-Generate and send email. 2-Generate but don't send email.
"sourceProduct": "string",
"sourceUserId": "string",
"requisitionId": "string",
"email": "string"
}
Id | CountryCode | OriginalFileName | UniqueFormAlias | FormDisplayName |
1 | NULL | 2016 PSPDisclosureandAuthorizationForm.pdf | 2016_PSP_DISCLOSURE_AND_AUTHORIZATION_FORM | 2016 PSP Disclosure and Authorization Form |
2 | AUS | AUSTRALIA ICRIM.pdf | AUS_ICRIM | AUSTRALIA ICRIM |
3 | CAN | CANADA - NCAN.pdf | CAN_NCAN | CANADA - NCAN |
4 | CAN | CANADA DL - Nova Scotia.pdf | CAN_DL_NOVASCOTIA | CANADA DL - Nova Scotia |
5 | CAN | CANADA DL - Prince Edward Island.pdf | CAN_DL_PRINCEEDWARDISLAND | CANADA DL - Prince Edward Island |
6 | CAN | CANADA DL - Yukon.pdf | CAN_DL_YUKON | CANADA DL - Yukon |
7 | CAN | CANADA Non-Criminal Form.pdf | CAN_NON_CRIMINALFORM | CANADA Non-Criminal Form |
8 | CAN | CANADA PCCAN.pdf | CAN_PCCAN | CANADA PCCAN |
9 | CHN | CHINA ICRIM - CITIZEN.pdf | CHN_ICRIM | CHINA ICRIM - CITIZEN |
10 | HRV | CROATIA ICRIM.pdf | HRV_ICRIM | CROATIA ICRIM |
11 | HRV | Croatia NEW Bilingual Power of Attorney Form-formID-236.pdf | HRV_NEW_Bilingual_Power_of_Attorney_Form_formID_236 | Croatia NEW Bilingual Power of Attorney Form-formID-236 |
12 | CYP | CYPRUS ICRED.pdf | CYP_ICRED | CYPRUS ICRED |
13 | NULL | DOT FMCSA Release - 3 Year v04262019 (002).pdf | DOT_FMCSA_RELEASE_3_YEAR | DOT FMCSA Release - 3 Year v04262019 (002) |
14 | EST | ESTONIA ICRIM.pdf | EST_ICRIM | ESTONIA ICRIM |
15 | EST | ESTONIA IDCHCK.pdf | EST_IDCHCK | ESTONIA IDCHCK |
16 | HKG | HONG KONG ICRIM.pdf | HKG_ICRIM | HONG KONG ICRIM |
17 | LUX | LUXEMBOURG ICRED.pdf | LUX_ICRED | LUXEMBOURG ICRED |
18 | MKD | MACEDONIA ICRIM.pdf | MKD_ICRIM | MACEDONIA ICRIM |
19 | NZL | NEW ZEALAND ICRIM (MOJ).pdf | NZL_ICRIM_MOJ | NEW ZEALAND ICRIM (MOJ) |
20 | PHL | PHILIPPINES ICRIM.pdf | PHL_ICRIM | PHILIPPINES ICRIM |
21 | PRI | PUERTO RICO MVR.pdf | PRI_MVR | PUERTO RICO MVR |
22 | GBR | UK ICRIM (SCOTLAND).pdf | GBR_ICRIM_SCOTLAND | UK ICRIM (SCOTLAND) |
23 | GBR | UK ICRIM (WALES).pdf | GBR_ICRIM_WALES | UK ICRIM (WALES) |
24 | GBR | UK MVR form NEW-formID-195 (1).pdf | GBR_MVR_NEW_FORMID_195_1 | UK MVR form NEW-formID-195 (1) |
25 | UKR | UKRAINE ICRIM.pdf | UKR_ICRIM | UKRAINE ICRIM |
26 | UKR | UKRAINE IEDU.pdf | UKR_IEDU | UKRAINE IEDU |
27 | UKR | UKRAINE IEMP.pdf | UKR_IEMP | UKRAINE IEMP |
28 | ESP | Spain Credit Consent for Disclosure of Personal Data-formID-234.pdf | ESP_Credit_Consent_for_Disclosure_of_Personal_Data_formID_234 | Spain Credit Consent for Disclosure of Personal Data-formID-234 |