{{baseUrl}}/raccomandate/

POST {{baseUrl}}/raccomandate/

Send a Raccomandata. 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 the Raccomandata for a later confirmation with a PATCH request, while you do custom logic with the response. Check the NumeroRaccomandata field in the recipient object if you need the tracking number

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>"}, "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;titolo&quot;:&quot;mr&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;1&quot;,&quot;comune&quot;:&quot;Roma&quot;,&quot;cap&quot;:&quot;00100&quot;,&quot;provincia&quot;:&quot;RM&quot;,&quot;nazione&quot;:&quot;IT&quot;,&quot;email&quot;:&quot;john.doe@openapi.it&quot;},&quot;destinatari&quot;:[{&quot;nome&quot;:&quot;Mario&quot;,&quot;cognome&quot;:&quot;Rossi&quot;,&quot;co&quot;:&quot;OPENAPI SRL&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;00101&quot;,&quot;provincia&quot;:&quot;RE&quot;,&quot;nazione&quot;:&quot;IT&quot;,&quot;id&quot;:&quot;6103f711dd2507415c5db6ce&quot;,&quot;state&quot;:&quot;NEW&quot;},{&quot;nome&quot;:&quot;Mario&quot;,&quot;cognome&quot;:&quot;Rossi&quot;,&quot;co&quot;:&quot;OPENAPI SRL&quot;,&quot;dug&quot;:&quot;piazza&quot;,&quot;indirizzo&quot;:&quot;San Giovanni&quot;,&quot;civico&quot;:&quot;6&quot;,&quot;comune&quot;:&quot;roma&quot;,&quot;cap&quot;:&quot;00100&quot;,&quot;provincia&quot;:&quot;RM&quot;,&quot;nazione&quot;:&quot;IT&quot;,&quot;id&quot;:&quot;6103f711dd2507415c5db6cf&quot;,&quot;state&quot;:&quot;NEW&quot;}],&quot;documento&quot;:[&quot;Example document&quot;],&quot;opzioni&quot;:{&quot;fronteretro&quot;:false,&quot;colori&quot;:false,&quot;ar&quot;:{&quot;titolo&quot;:&quot;mr&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;1&quot;,&quot;comune&quot;:&quot;Roma&quot;,&quot;cap&quot;:&quot;00100&quot;,&quot;provincia&quot;:&quot;RM&quot;,&quot;nazione&quot;:&quot;IT&quot;,&quot;email&quot;:&quot;john.doe@openapi.it&quot;},&quot;autoconfirm&quot;:true,&quot;timestamp_invio&quot;:1627649810},&quot;prodotto&quot;:&quot;raccomandata&quot;,&quot;creation_timestamp&quot;:1627649809,&quot;update_timestamp&quot;:1627649810,&quot;username&quot;:&quot;john.doe@openapi.it&quot;,&quot;confirmed&quot;:true,&quot;state&quot;:&quot;CONFIRMED&quot;,&quot;documento_validato&quot;:{&quot;pdf&quot;:&quot;https://ws.ufficiopostale.com/Up/pdf/f7294e76871965ea206d560d77ff079e.pdf&quot;,&quot;jpg&quot;:&quot;https://ws.ufficiopostale.com/Up/jpg/f7294e76871965ea206d560d77ff079e.jpg&quot;,&quot;pagine&quot;:1,&quot;size&quot;:9350},&quot;pricing&quot;:{&quot;dettaglio&quot;:[{&quot;codice_servizio&quot;:&quot;RicevutaRitorno&quot;,&quot;descrizione_servizio&quot;:&quot;Ricevuta di Ritorno&quot;,&quot;percentuale_iva&quot;:0,&quot;quantita&quot;:2,&quot;importo_unitario_totale&quot;:0.8,&quot;importo_unitario_netto&quot;:0.8,&quot;importo_unitario_iva&quot;:0},{&quot;codice_servizio&quot;:&quot;pagine&quot;,&quot;descrizione_servizio&quot;:&quot;Tariffa Postale pagine&quot;,&quot;percentuale_iva&quot;:0,&quot;quantita&quot;:2,&quot;importo_unitario_totale&quot;:3.4,&quot;importo_unitario_netto&quot;:3.4,&quot;importo_unitario_iva&quot;:0},{&quot;codice_servizio&quot;:&quot;STAMPA&quot;,&quot;descrizione_servizio&quot;:&quot;Costo Stampa&quot;,&quot;percentuale_iva&quot;:0,&quot;quantita&quot;:2,&quot;importo_unitario_totale&quot;:0.1,&quot;importo_unitario_netto&quot;:0.1,&quot;importo_unitario_iva&quot;:0},{&quot;codice_servizio&quot;:&quot;IMBUST&quot;,&quot;descrizione_servizio&quot;:&quot;Imbustamento&quot;,&quot;percentuale_iva&quot;:0,&quot;quantita&quot;:2,&quot;importo_unitario_totale&quot;:0,&quot;importo_unitario_netto&quot;:0,&quot;importo_unitario_iva&quot;:0}],&quot;totale&quot;:{&quot;importo_totale_netto&quot;:8.6,&quot;importo_totale_iva&quot;:0,&quot;importo_totale&quot;:8.6}},&quot;lock&quot;:false,&quot;confirmed_timestamp&quot;:1627649810,&quot;id&quot;:&quot;6103f712dd2507415c5db6d0&quot;}],&quot;success&quot;:true,&quot;message&quot;:&quot;&quot;,&quot;error&quot;:null}