Returns the disposable contract (Mod_NAMCA22D), the privacy document URL, and the T&C document URL for the specified LRA.
The contract is pre-filled with holder data if disposableHolder, disposableContacts and disposableDoc are all provided. If omitted, the contract is returned blank.
Languages of the document. ISO 639-1 alpha-2 codes. You can specify more than one value.
[ "IT" ]
Type of document to return. 1 = PDF, 2 = TXT. You can specify more than one value.
[ 1, 2 ]
Type of disposable certificate. See DisposableType.
Country where the end user is located. ISO 3166-1 alpha-2 code. Optional — if not specified, the default template for the given languageCode is returned. Required when a LRA needs contracts in the same language but for different legislations (e.g. French contract for France vs Belgium).
Holder data. Optional — if provided together with disposableContacts and disposableDoc, the contract (Mod_NAMCA22D) is pre-filled.
Holder contact information. Required if otpType=SMS or otpType=EMAIL. Provide mobile if otpType=SMS, email if otpType=EMAIL.
Identity document information.
Not required if one of the following conditions is true:
DisposableIdentification.identificationTypeisAMLDisposableHolder.identificationTypeis one of:PASSPORT,PERSONAL_NUMBER,NATIONAL_IDENTITY_CARD,DRIVING_LICENSE,RESIDENCE_PERMIT,RESIDENCE_PERMIT_TEMP,EMBASSY_DOCUMENT
- Production environmenthttps://lean.namirialtsp.com/RAWS_DISPOSABLE/api/document/{lraId}/getDisposableContract
- Development and testing environmenthttps://lean.test.namirialtsp.com/RAWS_DISPOSABLE/api/document/{lraId}/getDisposableContract
curl -i -X POST \
-u '<username>:<password>' \
'https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/document/{lraId}/getDisposableContract' \
-H 'Content-Type: application/json' \
-d '{
"languageCode": [
"EN"
],
"docTypes": [
1
],
"productType": "DISPOSABLE"
}'OK
Base64-encoded document (Mod_NAMCA22D). Pre-filled with holder data if disposableHolder, disposableContacts and disposableDoc were provided in the request.
URL to download the privacy document (Mod_NAMGDPR03D).
URL to download the terms and conditions document (Mod_NAMCA01D).
[ { "languageCode": "EN", "docTypes": 1, "doc": "<base64-encoded PDF>", "privacy_link": "https://docs.namirialtsp.com/documents/Mod_NAM_GDPR03D_ENG_IT.pdf", "termsAndConditions_link": "https://docs.namirialtsp.com/documents/Mod_NAM_CA01D_ENG_IT.pdf", "checkBoxes": [ … ] } ]