POST api/sms/SaveSmsToRepository

Request Information

URI Parameters

None.

Body Parameters

Collection of SmsEntityWS
NameDescriptionTypeAdditional 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": "f50ae6fa-e9e9-48d5-8557-29cce48bd05a",
    "IdSoggetto": "bfa5ab4f-8250-48c2-bcba-17cdede85b7b",
    "IdUtente": "681d3f52-08d8-40ac-b149-cbfeec6217d8",
    "SenderDisplayName": "sample string 4",
    "Testo": "sample string 5",
    "CellulareDestinatario": "sample string 6",
    "DataCreazione": "2025-12-06T05:44:34.0512183+01:00",
    "DataInvioRichiesto": "2025-12-06T05:44:34.0512183+01:00",
    "DataInvio": "2025-12-06T05:44:34.0512183+01:00",
    "Inviato": true,
    "ErroriInvio": "sample string 10"
  },
  {
    "Id": "f50ae6fa-e9e9-48d5-8557-29cce48bd05a",
    "IdSoggetto": "bfa5ab4f-8250-48c2-bcba-17cdede85b7b",
    "IdUtente": "681d3f52-08d8-40ac-b149-cbfeec6217d8",
    "SenderDisplayName": "sample string 4",
    "Testo": "sample string 5",
    "CellulareDestinatario": "sample string 6",
    "DataCreazione": "2025-12-06T05:44:34.0512183+01:00",
    "DataInvioRichiesto": "2025-12-06T05:44:34.0512183+01:00",
    "DataInvio": "2025-12-06T05:44:34.0512183+01: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>2025-12-06T05:44:34.0512183+01:00</DataCreazione>
    <DataInvio>2025-12-06T05:44:34.0512183+01:00</DataInvio>
    <DataInvioRichiesto>2025-12-06T05:44:34.0512183+01:00</DataInvioRichiesto>
    <ErroriInvio>sample string 10</ErroriInvio>
    <Id>f50ae6fa-e9e9-48d5-8557-29cce48bd05a</Id>
    <IdSoggetto>bfa5ab4f-8250-48c2-bcba-17cdede85b7b</IdSoggetto>
    <IdUtente>681d3f52-08d8-40ac-b149-cbfeec6217d8</IdUtente>
    <Inviato>true</Inviato>
    <SenderDisplayName>sample string 4</SenderDisplayName>
    <Testo>sample string 5</Testo>
  </SmsEntityWS>
  <SmsEntityWS>
    <CellulareDestinatario>sample string 6</CellulareDestinatario>
    <DataCreazione>2025-12-06T05:44:34.0512183+01:00</DataCreazione>
    <DataInvio>2025-12-06T05:44:34.0512183+01:00</DataInvio>
    <DataInvioRichiesto>2025-12-06T05:44:34.0512183+01:00</DataInvioRichiesto>
    <ErroriInvio>sample string 10</ErroriInvio>
    <Id>f50ae6fa-e9e9-48d5-8557-29cce48bd05a</Id>
    <IdSoggetto>bfa5ab4f-8250-48c2-bcba-17cdede85b7b</IdSoggetto>
    <IdUtente>681d3f52-08d8-40ac-b149-cbfeec6217d8</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
NameDescriptionTypeAdditional 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>