POST api/InvioPdfEmail
Creazione pdf ed invio documento al cliente (specificato nel documento) ATTENZIONE: la chiamata è sincrona, quindi per evitare attese lunghe inviare 1 o al massimo 10 email.
Request Information
URI Parameters
None.
Body Parameters
Collection of DTOInviaDocumento| Name | Description | Type | Additional information |
|---|---|---|---|
| TipoDocumento | TipoDocumento |
Required |
|
| IdDocumento | integer |
None. |
|
| NomeReport | string |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"TipoDocumento": 1,
"IdDocumento": 1,
"NomeReport": "sample string 2"
},
{
"TipoDocumento": 1,
"IdDocumento": 1,
"NomeReport": "sample string 2"
}
]
Response Information
Resource Description
Collection of DTOInviaDocumentoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| TipoDocumento | TipoDocumento |
Required |
|
| IdCliente | integer |
None. |
|
| IdDocumento | integer |
None. |
|
| NomeReport | string |
Required |
|
| IsInviato | boolean |
None. |
|
| Errore | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TipoDocumento": 1,
"IdCliente": 1,
"IdDocumento": 2,
"NomeReport": "sample string 3",
"IsInviato": true,
"Errore": "sample string 5"
},
{
"TipoDocumento": 1,
"IdCliente": 1,
"IdDocumento": 2,
"NomeReport": "sample string 3",
"IsInviato": true,
"Errore": "sample string 5"
}
]