GET api/News/Detail/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
NewsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Ordinamento | integer |
None. |
|
Titolo | string |
None. |
|
Abstract | string |
None. |
|
Testo | string |
None. |
|
Inizio | date |
None. |
|
Fine | date |
None. |
|
Pubblicata | boolean |
None. |
|
idOperatoreInsert | integer |
None. |
|
Insert | date |
None. |
|
idOperatoreUpdate | integer |
None. |
|
Update | date |
None. |
|
ImagePath | string |
None. |
|
ImagePathThumb | string |
None. |
|
ImageAltText | string |
None. |
|
Keywords | string |
None. |
|
categoriaNews | CategoriaNews |
None. |
|
Tags | Collection of string |
None. |
|
Siti | SitiNews |
None. |
|
Allegati | Collection of AllegatoNews |
None. |
|
HasAllegati | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Ordinamento": 2, "Titolo": "sample string 3", "Abstract": "sample string 4", "Testo": "sample string 5", "Inizio": "2024-11-16T03:03:08.0950749+01:00", "Fine": "2024-11-16T03:03:08.0950749+01:00", "Pubblicata": true, "idOperatoreInsert": 7, "Insert": "2024-11-16T03:03:08.0950749+01:00", "idOperatoreUpdate": 8, "Update": "2024-11-16T03:03:08.0950749+01:00", "ImagePath": "sample string 9", "ImagePathThumb": "sample string 10", "ImageAltText": "sample string 11", "Keywords": "sample string 12", "categoriaNews": { "idCategoriaNews": 1, "descrizione": "sample string 2", "idSito": 3, "visibileHomePage": true }, "Tags": [ "sample string 1", "sample string 2" ], "Siti": { "Astegiudiziarie": true, "Astetelematiche": true, "Procedure": true, "AsteTraPrivati": true, "ReteAste": true }, "Allegati": [ { "id": 1, "newsid": 2, "datacaricamento": "2024-11-16T03:03:08.0950749+01:00", "nomefile": "sample string 4", "dimensione": 5, "pathfile": "sample string 6", "contentype": "sample string 7" }, { "id": 1, "newsid": 2, "datacaricamento": "2024-11-16T03:03:08.0950749+01:00", "nomefile": "sample string 4", "dimensione": 5, "pathfile": "sample string 6", "contentype": "sample string 7" } ], "HasAllegati": true }
application/xml, text/xml
Sample:
<News xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inlinea.Astegiudiziarie.BL"> <Abstract>sample string 4</Abstract> <Allegati> <AllegatoNews> <contentype>sample string 7</contentype> <datacaricamento>2024-11-16T03:03:08.0950749+01:00</datacaricamento> <dimensione>5</dimensione> <id>1</id> <newsid>2</newsid> <nomefile>sample string 4</nomefile> <pathfile>sample string 6</pathfile> </AllegatoNews> <AllegatoNews> <contentype>sample string 7</contentype> <datacaricamento>2024-11-16T03:03:08.0950749+01:00</datacaricamento> <dimensione>5</dimensione> <id>1</id> <newsid>2</newsid> <nomefile>sample string 4</nomefile> <pathfile>sample string 6</pathfile> </AllegatoNews> </Allegati> <Fine>2024-11-16T03:03:08.0950749+01:00</Fine> <HasAllegati>true</HasAllegati> <Id>1</Id> <ImageAltText>sample string 11</ImageAltText> <ImagePath>sample string 9</ImagePath> <ImagePathThumb>sample string 10</ImagePathThumb> <Inizio>2024-11-16T03:03:08.0950749+01:00</Inizio> <Insert>2024-11-16T03:03:08.0950749+01:00</Insert> <Keywords>sample string 12</Keywords> <Ordinamento>2</Ordinamento> <Pubblicata>true</Pubblicata> <Siti> <AsteTraPrivati>true</AsteTraPrivati> <Astegiudiziarie>true</Astegiudiziarie> <Astetelematiche>true</Astetelematiche> <Procedure>true</Procedure> <ReteAste>true</ReteAste> </Siti> <Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Tags> <Testo>sample string 5</Testo> <Titolo>sample string 3</Titolo> <Update>2024-11-16T03:03:08.0950749+01:00</Update> <categoriaNews> <descrizione>sample string 2</descrizione> <idCategoriaNews>1</idCategoriaNews> <idSito>3</idSito> <visibileHomePage>true</visibileHomePage> </categoriaNews> <idOperatoreInsert>7</idOperatoreInsert> <idOperatoreUpdate>8</idOperatoreUpdate> </News>