{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-products/leandisposable/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","tabs","tab"]},"type":"markdown"},"seo":{"title":"Lean - enrollDisposable method","description":"Integration and usage documentation."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"lean---enrolldisposable-method","__idx":0},"children":["Lean - enrollDisposable method"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use this method to enroll a disposable with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificate.type=DISPOSABLE"]},"."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"DEPRECATED API"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-enroll/lean-enroll-method"},"children":["enroll method"]}," specifying  ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificate.type=DISPOSABLE"]}]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"REST API","disable":false},"children":[{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-enroll/lean-enroll-method"},"children":["enroll method"]}," specifying ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificate.type=DISPOSABLE"]},"."]}]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"SOAP API","disable":false},"children":[{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The SOAP interface is deprecated. Use the REST API instead."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Method:"]}," enrollDisposable"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mandatory"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Mandatory"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["holder"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposableholder"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableHolder"]}," object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecontacts"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableContacts"]}," object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["doc"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposableDoc"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableDoc"]}," object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES  ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Not required for specific categories, see more details into the section."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["cert"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecertificate"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificat"]}," object"]},"  ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"The type value is overridden by the value DISPOSABLE"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["YES"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["identification"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposableIdentification"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableIdentification"]}," object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NO"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["address"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposableAddress"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableAddress"]}," object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NO"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["lraid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The LRA identification code"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NO"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-example","__idx":1},"children":["Request example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"xml","header":{"controls":{"copy":{}}},"source":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.ws.nam/\">\n   <soapenv:Header />\n   <soapenv:Body>\n      <ser:enrollDisposable>\n         <holder>\n            <firstName>testDummy</firstName>\n            <identificationCode>123abc456def</identificationCode>\n            <identificationCountry>de</identificationCountry>\n            <identificationType>FOREIGN_TAX_CODE</identificationType>\n            <lastName>cognomeTest</lastName>\n         </holder>\n         <contacts>\n            <email>test@namirial.com</email>\n            <mobile>00393331234567</mobile>\n         </contacts>\n         <doc>\n            <documentExpirationDate>2020-01-01</documentExpirationDate>\n            <documentIssuerDate>2010-01-01</documentIssuerDate>\n            <documentIssuerCountry>IT</documentIssuerCountry>\n            <documentIssuer>COMUNE DI TEST</documentIssuer>\n            <documentNr>123456</documentNr>\n            <documentType>CI</documentType>\n         </doc>\n         <cert>\n            <password>PIN_TO_SET</password>\n            <securityCode>SECURITY_CODE_TO_SET</securityCode>\n         </cert>\n         <lraid>111</lraid>\n      </ser:enrollDisposable>\n   </soapenv:Body>\n</soapenv:Envelope>\n","lang":"xml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-example","__idx":2},"children":["Response example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"xml","header":{"controls":{"copy":{}}},"source":"<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n   <soap:Body>\n      <ns2:enrollDisposableResponse xmlns:ns2=\"http://service.ws.nam/\">\n         <return>\n            <cert>LS0tLS1CRUdJTiBDRVJU.........</cert>\n            <certIdOtp>226761</certIdOtp> \n            <certSerialNumber>76BC101898E7E2DA</certSerialNumber>\n            <certType>DISPOSABLE</certType>\n            <certUsageLimit>L utilizzo del certificato e limitato ai rapporti con ca namirial spa/The certificate may be used only for relations with the ca namirial spa</certUsageLimit>\n            <deviceCode>RHIDP2310114919328</deviceCode>\n         </return>\n      </ns2:enrollDisposableResponse>\n   </soap:Body>\n</soap:Envelope>\n","lang":"xml"},"children":[]}]}]}]},"headings":[{"value":"Lean - enrollDisposable method","id":"lean---enrolldisposable-method","depth":1},{"value":"Request example","id":"request-example","depth":4},{"value":"Response example","id":"response-example","depth":4}],"frontmatter":{"seo":{"title":"Lean - enrollDisposable method"}},"lastModified":"2026-07-27T20:18:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-enroll/lean-enroll-enrolldisposable-method","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}