{{baseUrl}}/raccomandate_smart/

POST {{baseUrl}}/raccomandate_smart/

Send a Raccomandata Smart. You should provide information about the sender and the receiver(s) in the post body. Additionally, the autoconfirm parameter can be set to false to save it for a later confirmation with a PATCH request, while you do custom logic with the response.

Request Body

{"opzioni"=>{"fronteretro"=>"<boolean>", "colori"=>"<boolean>", "autoconfirm"=>"<boolean>", "ricevuta"=>"<boolean>", "documento_validato_basicauth"=>{"username"=>"<string>", "password"=>"<string>"}, "callback_url"=>"<string>", "callback_field"=>"<string>", "headers"=>{"key"=>"<string>"}, "timestamp_invio"=>"<integer>", "ar"=>"<boolean>", "document_has_covers"=>"<boolean>"}, "mittente"=>{"titolo"=>"<string>", "cap"=>"<string>", "comune"=>"<string>", "dug"=>"<string>", "indirizzo"=>"<string>", "nazione"=>"<string>", "nome"=>"<string>", "cognome"=>"<string>", "ragione_sociale"=>"<string>", "civico"=>"<string>", "provincia"=>"<string>", "email"=>"<string>"}, "destinatari"=>[{"cap"=>"<string>", "civico"=>"<string>", "cognome"=>"<string>", "comune"=>"<string>", "dug"=>"<string>", "indirizzo"=>"<string>", "nazione"=>"<string>", "nome"=>"<string>", "provincia"=>"<string>", "titolo"=>"<string>", "ragione_sociale"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "co"=>"<string>"}, {"cap"=>"<string>", "civico"=>"<string>", "cognome"=>"<string>", "comune"=>"<string>", "dug"=>"<string>", "indirizzo"=>"<string>", "nazione"=>"<string>", "nome"=>"<string>", "provincia"=>"<string>", "titolo"=>"<string>", "ragione_sociale"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "co"=>"<string>"}], "documento"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;data&quot;:[{&quot;mittente&quot;:{&quot;ragione_sociale&quot;:&quot;Openapi SRL&quot;,&quot;civico&quot;:&quot;221&quot;,&quot;comune&quot;:&quot;roma&quot;,&quot;dug&quot;:&quot;via&quot;,&quot;indirizzo&quot;:&quot;Filippo tommaso marinetti&quot;,&quot;cap&quot;:&quot;00143&quot;,&quot;provincia&quot;:&quot;RM&quot;,&quot;nazione&quot;:&quot;IT&quot;,&quot;email&quot;:&quot;l.paderi@openapi.it&quot;,&quot;intestazione_completa&quot;:&quot;Mario Rossi&quot;},&quot;destinatari&quot;:{&quot;nome&quot;:&quot;Mario&quot;,&quot;cognome&quot;:&quot;Rossi&quot;,&quot;dug&quot;:&quot;via&quot;,&quot;indirizzo&quot;:&quot;Dante Alighieri&quot;,&quot;civico&quot;:&quot;6&quot;,&quot;comune&quot;:&quot;Roma&quot;,&quot;cap&quot;:&quot;00143&quot;,&quot;provincia&quot;:&quot;RM&quot;,&quot;nazione&quot;:&quot;Italia&quot;,&quot;intestazione_completa&quot;:&quot;Mario Rossi&quot;,&quot;zona&quot;:&quot;AM&quot;,&quot;id&quot;:&quot;xxxxxxxe557d71a5b600ee17d&quot;,&quot;state&quot;:&quot;NEW&quot;},&quot;documento&quot;:[&quot;https://www.soundczech.cz/temp/lorem-ipsum.pdf&quot;],&quot;opzioni&quot;:{&quot;fronteretro&quot;:false,&quot;colori&quot;:false,&quot;ar&quot;:true,&quot;autoconfirm&quot;:false,&quot;callback_url&quot;:&quot;https://webhook.site/65639a84-77cb-42f2-a621-394921770497&quot;},&quot;prodotto&quot;:&quot;raccomandata_smart&quot;,&quot;creation_timestamp&quot;:1687169678,&quot;update_timestamp&quot;:1687169682,&quot;username&quot;:&quot;gcloud-tests@openapi.it&quot;,&quot;confirmed&quot;:false,&quot;state&quot;:&quot;NEW&quot;,&quot;documento_validato&quot;:{&quot;pdf&quot;:&quot;https://test.ws.ufficiopostale.com/Up/pdf/raccomandata_smartu6pccgbnFNeRA69t7hvPDOKMa.pdf&quot;,&quot;jpg&quot;:&quot;https://test.ws.ufficiopostale.com/Up/jpg/raccomandata_smartu6pccgbnFNeRA69t7hvPDOKMa.jpg&quot;,&quot;filename&quot;:&quot;raccomandata_smartu6pccgbnFNeRA69t7hvPDOKMa.pdf&quot;,&quot;pagine&quot;:2,&quot;size&quot;:49553,&quot;pricing&quot;:{&quot;totale&quot;:{&quot;importo_totale&quot;:0.58},&quot;dettaglio&quot;:[{&quot;codice_servizio&quot;:&quot;STAMPA&quot;,&quot;descrizione_servizio&quot;:&quot;Costo Stampa&quot;,&quot;importo_unitario_totale&quot;:0.28,&quot;importo_unitario_netto&quot;:0.22,&quot;importo_unitario_iva&quot;:0.06,&quot;quantita&quot;:1},{&quot;codice_servizio&quot;:&quot;spedizione&quot;,&quot;descrizione_servizio&quot;:&quot;Spedizione&quot;,&quot;importo_unitario_totale&quot;:0.3,&quot;importo_unitario_netto&quot;:0.3,&quot;importo_unitario_iva&quot;:0,&quot;quantita&quot;:1}]},&quot;id&quot;:&quot;xxxxxxxe557d71a5b600ee13d&quot;}}],&quot;success&quot;:true,&quot;message&quot;:&quot;&quot;,&quot;error&quot;:null}