GET api/v2/news/getNews?TenantId={TenantId}&Page={Page}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
TenantId | globally unique identifier |
None. |
|
Page | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
NewsResultName | Description | Type | Additional information |
---|---|---|---|
News | Collection of NewsDetalhesResult |
None. |
|
Succeeded | boolean |
None. |
|
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "News": [ { "TenantId": "b336c4fb-a198-45e8-80dd-cdef4d37381d", "NewsId": "6412bd32-4b3e-4413-ab39-64d48ce8fd55", "Title": "sample string 3", "Picture": "sample string 4", "Type": 0, "PublishDate": "2024-11-21T09:37:25.765846+00:00", "HtmlContent": "sample string 5", "ExternalLink": "sample string 6", "isNew": true, "Succeeded": true, "Errors": [ "sample string 1", "sample string 2" ] }, { "TenantId": "b336c4fb-a198-45e8-80dd-cdef4d37381d", "NewsId": "6412bd32-4b3e-4413-ab39-64d48ce8fd55", "Title": "sample string 3", "Picture": "sample string 4", "Type": 0, "PublishDate": "2024-11-21T09:37:25.765846+00:00", "HtmlContent": "sample string 5", "ExternalLink": "sample string 6", "isNew": true, "Succeeded": true, "Errors": [ "sample string 1", "sample string 2" ] } ], "Succeeded": true, "Errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<NewsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded> <News> <NewsDetalhesResult> <Errors xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Errors> <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded> <ExternalLink>sample string 6</ExternalLink> <HtmlContent>sample string 5</HtmlContent> <NewsId>6412bd32-4b3e-4413-ab39-64d48ce8fd55</NewsId> <Picture>sample string 4</Picture> <PublishDate>2024-11-21T09:37:25.765846+00:00</PublishDate> <TenantId>b336c4fb-a198-45e8-80dd-cdef4d37381d</TenantId> <Title>sample string 3</Title> <Type>News</Type> <isNew>true</isNew> </NewsDetalhesResult> <NewsDetalhesResult> <Errors xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Errors> <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded> <ExternalLink>sample string 6</ExternalLink> <HtmlContent>sample string 5</HtmlContent> <NewsId>6412bd32-4b3e-4413-ab39-64d48ce8fd55</NewsId> <Picture>sample string 4</Picture> <PublishDate>2024-11-21T09:37:25.765846+00:00</PublishDate> <TenantId>b336c4fb-a198-45e8-80dd-cdef4d37381d</TenantId> <Title>sample string 3</Title> <Type>News</Type> <isNew>true</isNew> </NewsDetalhesResult> </News> </NewsResult>