GET api/news/{id}?isFull={isFull}&partner={partner}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

isFull

string

Default value is

partner

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

ReleaseApi
NameDescriptionTypeAdditional information
VideoUrl

string

None.

Body

string

None.

Place

string

None.

Caption

string

None.

ContactName

string

None.

ContactEmail

string

None.

WebsiteUrl

string

None.

ReleaseId

integer

None.

Title

string

None.

Summary

string

None.

PublishedDate

date

None.

UpdatedDate

date

None.

MainPictureUrl

string

None.

SourceUrl

string

None.

CategoriesValues

Collection of Pair of string [key] and string [value]

None.

Categories

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "VideoUrl": "sample string 1",
  "Body": "sample string 4",
  "Place": "sample string 5",
  "Caption": "sample string 6",
  "ContactName": "sample string 7",
  "ContactEmail": "sample string 8",
  "WebsiteUrl": "sample string 9",
  "ReleaseId": 12,
  "Title": "sample string 13",
  "Summary": "sample string 14",
  "PublishedDate": "2017-06-26T02:13:41.2080487-03:00",
  "UpdatedDate": "2017-06-26T02:13:41.2080487-03:00",
  "MainPictureUrl": "http://www.dino.com.br/DinoImages/5716766b-ed19-4b49-b4ab-a209e4e90f09.pdf?quality=50&width=400&height=400",
  "SourceUrl": "sample string 18",
  "CategoriesValues": [
    {
      "Key": "sample string 2",
      "Value": "sample string 1"
    },
    {
      "Key": "sample string 2",
      "Value": "sample string 1"
    }
  ],
  "Categories": [
    "sample string 1",
    "sample string 1"
  ]
}

application/xml, text/xml

Sample:
<ReleaseApi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dino.Model.ApiViewModel">
  <Body i:nil="true" />
  <Categories xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 1</d2p1:string>
  </Categories>
  <CategoriesValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 2</d2p1:key>
      <d2p1:value>sample string 1</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 2</d2p1:key>
      <d2p1:value>sample string 1</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </CategoriesValues>
  <MainPictureUrl>http://www.dino.com.br/DinoImages/5716766b-ed19-4b49-b4ab-a209e4e90f09.pdf?quality=50&amp;width=400&amp;height=400</MainPictureUrl>
  <PublishedDate>2017-06-26T02:13:41.2080487-03:00</PublishedDate>
  <ReleaseId>12</ReleaseId>
  <SourceUrl>sample string 18</SourceUrl>
  <Summary>sample string 14</Summary>
  <Title>sample string 13</Title>
  <UpdatedDate>2017-06-26T02:13:41.2080487-03:00</UpdatedDate>
  <Body>sample string 4</Body>
  <Caption>sample string 6</Caption>
  <ContactEmail>sample string 8</ContactEmail>
  <ContactName>sample string 7</ContactName>
  <Place>sample string 5</Place>
  <VideoUrl>sample string 1</VideoUrl>
  <WebsiteUrl>sample string 9</WebsiteUrl>
</ReleaseApi>