GET v2/news/esp/{id}/{partner}?isBodyHtml={isBodyHtml}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
partner

string

Required

id

integer

Required

isBodyHtml

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

ItemResultOfNewsModelEsp
NameDescriptionTypeAdditional information
Item

NewsModelEsp

None.

Success

boolean

None.

ErrorMessage

string

None.

Status

ResultStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Item": {
    "$id": "2",
    "Author": "sample string 1",
    "ReleaseId": 2,
    "Imagen": "sample string 3",
    "Categorias": [
      {
        "$id": "3",
        "Name": "sample string 1",
        "Slug": "sample string 2",
        "__metadata": {
          "$id": "4",
          "type": "sample string 1",
          "uri": "sample string 2"
        }
      },
      {
        "$ref": "3"
      }
    ],
    "__metadata": {
      "$ref": "4"
    },
    "Url": "sample string 4",
    "VideoUrl": {
      "$id": "5",
      "Url": "sample string 1",
      "Descricao": "sample string 2"
    },
    "WebsiteUrl": "sample string 5",
    "Titulo": "sample string 6",
    "Cuerpo": "sample string 7",
    "Resumen": "sample string 8",
    "Citar": "sample string 9",
    "FechaDistribucion": "2018-11-17T02:41:59.3814808-02:00",
    "FechaUltimaActualizacion": "2018-11-17T02:41:59.3814808-02:00"
  },
  "Success": true,
  "ErrorMessage": "sample string 2",
  "Status": 0
}

application/xml, text/xml

Sample:
<ItemResultOfNewsModelEspBrRlwU_Pn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dino.Domain.Contracts.Services.Result">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>Success</Status>
  <Success>true</Success>
  <Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/Dino.API.Models">
    <d2p1:Author>sample string 1</d2p1:Author>
    <d2p1:Categorias>
      <d2p1:NewsCategoryModel>
        <d2p1:Metadata>
          <d2p1:Type>sample string 1</d2p1:Type>
          <d2p1:Uri>sample string 2</d2p1:Uri>
        </d2p1:Metadata>
        <d2p1:Name>sample string 1</d2p1:Name>
        <d2p1:Slug>sample string 2</d2p1:Slug>
      </d2p1:NewsCategoryModel>
      <d2p1:NewsCategoryModel>
        <d2p1:Metadata>
          <d2p1:Type>sample string 1</d2p1:Type>
          <d2p1:Uri>sample string 2</d2p1:Uri>
        </d2p1:Metadata>
        <d2p1:Name>sample string 1</d2p1:Name>
        <d2p1:Slug>sample string 2</d2p1:Slug>
      </d2p1:NewsCategoryModel>
    </d2p1:Categorias>
    <d2p1:Citar>sample string 9</d2p1:Citar>
    <d2p1:Cuerpo>sample string 7</d2p1:Cuerpo>
    <d2p1:FechaDistribucion>2018-11-17T02:41:59.3814808-02:00</d2p1:FechaDistribucion>
    <d2p1:FechaUltimaActualizacion>2018-11-17T02:41:59.3814808-02:00</d2p1:FechaUltimaActualizacion>
    <d2p1:Imagen>sample string 3</d2p1:Imagen>
    <d2p1:Metadata>
      <d2p1:Type>sample string 1</d2p1:Type>
      <d2p1:Uri>sample string 2</d2p1:Uri>
    </d2p1:Metadata>
    <d2p1:ReleaseId>2</d2p1:ReleaseId>
    <d2p1:Resumen>sample string 8</d2p1:Resumen>
    <d2p1:Titulo>sample string 6</d2p1:Titulo>
    <d2p1:Url>sample string 4</d2p1:Url>
    <d2p1:VideoUrl xmlns:d3p1="http://schemas.datacontract.org/2004/07/Dino.Infrastructure.Contracts.Data">
      <d3p1:Descricao>sample string 2</d3p1:Descricao>
      <d3p1:Url>sample string 1</d3p1:Url>
    </d2p1:VideoUrl>
    <d2p1:WebsiteUrl>sample string 5</d2p1:WebsiteUrl>
  </Item>
</ItemResultOfNewsModelEspBrRlwU_Pn>