POST api/News/GetByParams
Request Information
URI Parameters
None.
Body Parameters
NewsParametersName | Description | Type | Additional information |
---|---|---|---|
Titolo | string |
None. |
|
idCategoriaNews | integer |
None. |
|
Pubblicato | boolean |
None. |
|
dataDal | date |
None. |
|
dataAl | date |
None. |
|
tag | string |
None. |
|
sito | integer |
None. |
|
numeroNews | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Titolo": "sample string 1", "idCategoriaNews": 1, "Pubblicato": true, "dataDal": "2024-11-16T03:02:09.0268169+01:00", "dataAl": "2024-11-16T03:02:09.0268169+01:00", "tag": "sample string 2", "sito": 1, "numeroNews": 1 }
application/xml, text/xml
Sample:
<NewsParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inlinea.Astegiudiziarie.WebAPI.Models"> <Pubblicato>true</Pubblicato> <Titolo>sample string 1</Titolo> <dataAl>2024-11-16T03:02:09.0268169+01:00</dataAl> <dataDal>2024-11-16T03:02:09.0268169+01:00</dataDal> <idCategoriaNews>1</idCategoriaNews> <numeroNews>1</numeroNews> <sito>1</sito> <tag>sample string 2</tag> </NewsParameters>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of 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:02:09.0368649+01:00", "Fine": "2024-11-16T03:02:09.0368649+01:00", "Pubblicata": true, "idOperatoreInsert": 7, "Insert": "2024-11-16T03:02:09.0368649+01:00", "idOperatoreUpdate": 8, "Update": "2024-11-16T03:02:09.0368649+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:02:09.0368649+01:00", "nomefile": "sample string 4", "dimensione": 5, "pathfile": "sample string 6", "contentype": "sample string 7" }, { "id": 1, "newsid": 2, "datacaricamento": "2024-11-16T03:02:09.0368649+01:00", "nomefile": "sample string 4", "dimensione": 5, "pathfile": "sample string 6", "contentype": "sample string 7" } ], "HasAllegati": true }, { "Id": 1, "Ordinamento": 2, "Titolo": "sample string 3", "Abstract": "sample string 4", "Testo": "sample string 5", "Inizio": "2024-11-16T03:02:09.0368649+01:00", "Fine": "2024-11-16T03:02:09.0368649+01:00", "Pubblicata": true, "idOperatoreInsert": 7, "Insert": "2024-11-16T03:02:09.0368649+01:00", "idOperatoreUpdate": 8, "Update": "2024-11-16T03:02:09.0368649+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:02:09.0368649+01:00", "nomefile": "sample string 4", "dimensione": 5, "pathfile": "sample string 6", "contentype": "sample string 7" }, { "id": 1, "newsid": 2, "datacaricamento": "2024-11-16T03:02:09.0368649+01:00", "nomefile": "sample string 4", "dimensione": 5, "pathfile": "sample string 6", "contentype": "sample string 7" } ], "HasAllegati": true } ]
application/xml, text/xml
Sample:
<ArrayOfNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inlinea.Astegiudiziarie.BL"> <News> <Abstract>sample string 4</Abstract> <Allegati> <AllegatoNews> <contentype>sample string 7</contentype> <datacaricamento>2024-11-16T03:02:09.0368649+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:02:09.0368649+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:02:09.0368649+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:02:09.0368649+01:00</Inizio> <Insert>2024-11-16T03:02:09.0368649+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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Tags> <Testo>sample string 5</Testo> <Titolo>sample string 3</Titolo> <Update>2024-11-16T03:02:09.0368649+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> <News> <Abstract>sample string 4</Abstract> <Allegati> <AllegatoNews> <contentype>sample string 7</contentype> <datacaricamento>2024-11-16T03:02:09.0368649+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:02:09.0368649+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:02:09.0368649+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:02:09.0368649+01:00</Inizio> <Insert>2024-11-16T03:02:09.0368649+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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Tags> <Testo>sample string 5</Testo> <Titolo>sample string 3</Titolo> <Update>2024-11-16T03:02:09.0368649+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> </ArrayOfNews>