POST api/sms/SaveSmsToRepository
Request Information
URI Parameters
None.
Body Parameters
Collection of SmsEntityWS| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdSoggetto | globally unique identifier |
None. |
|
| IdUtente | globally unique identifier |
None. |
|
| SenderDisplayName | string |
None. |
|
| Testo | string |
None. |
|
| CellulareDestinatario | string |
None. |
|
| DataCreazione | date |
None. |
|
| DataInvioRichiesto | date |
None. |
|
| DataInvio | date |
None. |
|
| Inviato | boolean |
None. |
|
| ErroriInvio | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": "559448b2-2773-4ae8-8e48-49fe9e6d1272",
"IdSoggetto": "3e431539-5282-46bf-b057-dcef921c433e",
"IdUtente": "63dd899f-7518-4cb3-8df9-a75c26e2484a",
"SenderDisplayName": "sample string 4",
"Testo": "sample string 5",
"CellulareDestinatario": "sample string 6",
"DataCreazione": "2026-08-19T21:09:28.9331078+02:00",
"DataInvioRichiesto": "2026-08-19T21:09:28.9331078+02:00",
"DataInvio": "2026-08-19T21:09:28.9331078+02:00",
"Inviato": true,
"ErroriInvio": "sample string 10"
},
{
"Id": "559448b2-2773-4ae8-8e48-49fe9e6d1272",
"IdSoggetto": "3e431539-5282-46bf-b057-dcef921c433e",
"IdUtente": "63dd899f-7518-4cb3-8df9-a75c26e2484a",
"SenderDisplayName": "sample string 4",
"Testo": "sample string 5",
"CellulareDestinatario": "sample string 6",
"DataCreazione": "2026-08-19T21:09:28.9331078+02:00",
"DataInvioRichiesto": "2026-08-19T21:09:28.9331078+02:00",
"DataInvio": "2026-08-19T21:09:28.9331078+02:00",
"Inviato": true,
"ErroriInvio": "sample string 10"
}
]
application/xml, text/xml
Sample:
<ArrayOfSmsEntityWS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdlShared.WebServices.TypeDefinition">
<SmsEntityWS>
<CellulareDestinatario>sample string 6</CellulareDestinatario>
<DataCreazione>2026-08-19T21:09:28.9331078+02:00</DataCreazione>
<DataInvio>2026-08-19T21:09:28.9331078+02:00</DataInvio>
<DataInvioRichiesto>2026-08-19T21:09:28.9331078+02:00</DataInvioRichiesto>
<ErroriInvio>sample string 10</ErroriInvio>
<Id>559448b2-2773-4ae8-8e48-49fe9e6d1272</Id>
<IdSoggetto>3e431539-5282-46bf-b057-dcef921c433e</IdSoggetto>
<IdUtente>63dd899f-7518-4cb3-8df9-a75c26e2484a</IdUtente>
<Inviato>true</Inviato>
<SenderDisplayName>sample string 4</SenderDisplayName>
<Testo>sample string 5</Testo>
</SmsEntityWS>
<SmsEntityWS>
<CellulareDestinatario>sample string 6</CellulareDestinatario>
<DataCreazione>2026-08-19T21:09:28.9331078+02:00</DataCreazione>
<DataInvio>2026-08-19T21:09:28.9331078+02:00</DataInvio>
<DataInvioRichiesto>2026-08-19T21:09:28.9331078+02:00</DataInvioRichiesto>
<ErroriInvio>sample string 10</ErroriInvio>
<Id>559448b2-2773-4ae8-8e48-49fe9e6d1272</Id>
<IdSoggetto>3e431539-5282-46bf-b057-dcef921c433e</IdSoggetto>
<IdUtente>63dd899f-7518-4cb3-8df9-a75c26e2484a</IdUtente>
<Inviato>true</Inviato>
<SenderDisplayName>sample string 4</SenderDisplayName>
<Testo>sample string 5</Testo>
</SmsEntityWS>
</ArrayOfSmsEntityWS>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | string |
None. |
|
| Errori | Collection of string |
None. |
|
| IsSuccessful | boolean |
None. |
|
| IsOnError | boolean |
None. |
|
| ErrorString | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": "sample string 1",
"Errori": [
"sample string 1",
"sample string 2"
],
"IsSuccessful": false,
"IsOnError": true,
"ErrorString": "sample string 1, sample string 2"
}
application/xml, text/xml
Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdlShared.WebServices.TypeDefinition">
<Errori xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errori>
<Result>sample string 1</Result>
</ServiceResult>