GET api/messaggi/leggi?IdMessaggio={IdMessaggio}
Restituisce il dettaglio di un messaggio
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
IdMessaggio | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MessaggioName | Description | Type | Additional information |
---|---|---|---|
IdMessaggio |
Identificativo univoco del messaggio |
integer |
None. |
Mittente |
Mittente |
string |
None. |
Data |
Data |
date |
None. |
Oggetto |
Oggetto del messaggio |
string |
None. |
Testo |
Testo del messaggio |
string |
None. |
Allegato |
Allegato in formato base64 |
string |
None. |
Nuovo |
Nuovo messaggio |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "IdMessaggio": 1, "Mittente": "sample string 2", "Data": "2024-07-07T11:30:47.510885+02:00", "Oggetto": "sample string 4", "Testo": "sample string 5", "Allegato": "sample string 6", "Nuovo": true }
application/xml, text/xml
Sample:
<Messaggio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GalileoNETWebAPI.Common"> <Allegato>sample string 6</Allegato> <Data>2024-07-07T11:30:47.510885+02:00</Data> <IdMessaggio>1</IdMessaggio> <Mittente>sample string 2</Mittente> <Nuovo>true</Nuovo> <Oggetto>sample string 4</Oggetto> <Testo>sample string 5</Testo> </Messaggio>