GET api/Articles/{id}?category={category}&status={status}

This call will return an array of all active articles belonging to your unique key and category.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

category

string

Required

status

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ArticleEntity
NameDescriptionTypeAdditional information
Id

string

None.

Title

string

None.

Body

string

None.

PicUrl

string

None.

ViewsNumber

integer

None.

LikesNumber

integer

None.

DateCreated

string

None.

Category

string

None.

Status

string

None.

Custom1

string

None.

Custom2

string

None.

Custom3

string

None.

Custom4

string

None.

Custom5

string

None.

PartitionKey

string

None.

RowKey

string

None.

Timestamp

date

None.

ETag

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Title": "sample string 2",
    "Body": "sample string 3",
    "PicUrl": "sample string 4",
    "ViewsNumber": 5,
    "LikesNumber": 6,
    "DateCreated": "sample string 7",
    "Category": "sample string 8",
    "Status": "sample string 9",
    "Custom1": "sample string 10",
    "Custom2": "sample string 11",
    "Custom3": "sample string 12",
    "Custom4": "sample string 13",
    "Custom5": "sample string 14",
    "PartitionKey": "sample string 15",
    "RowKey": "sample string 16",
    "Timestamp": "2020-12-31T19:50:40.6754145+00:00",
    "ETag": "sample string 18"
  },
  {
    "Id": "sample string 1",
    "Title": "sample string 2",
    "Body": "sample string 3",
    "PicUrl": "sample string 4",
    "ViewsNumber": 5,
    "LikesNumber": 6,
    "DateCreated": "sample string 7",
    "Category": "sample string 8",
    "Status": "sample string 9",
    "Custom1": "sample string 10",
    "Custom2": "sample string 11",
    "Custom3": "sample string 12",
    "Custom4": "sample string 13",
    "Custom5": "sample string 14",
    "PartitionKey": "sample string 15",
    "RowKey": "sample string 16",
    "Timestamp": "2020-12-31T19:50:40.6754145+00:00",
    "ETag": "sample string 18"
  }
]

application/xml, text/xml

Sample:
<ArrayOfArticleEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mekonecampusapi.Models">
  <ArticleEntity>
    <ETag xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 18</ETag>
    <PartitionKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 15</PartitionKey>
    <RowKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 16</RowKey>
    <Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">
      <d3p1:DateTime>2020-12-31T19:50:40.6754145Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </Timestamp>
    <Body>sample string 3</Body>
    <Category>sample string 8</Category>
    <Custom1>sample string 10</Custom1>
    <Custom2>sample string 11</Custom2>
    <Custom3>sample string 12</Custom3>
    <Custom4>sample string 13</Custom4>
    <Custom5>sample string 14</Custom5>
    <DateCreated>sample string 7</DateCreated>
    <Id>sample string 1</Id>
    <LikesNumber>6</LikesNumber>
    <PicUrl>sample string 4</PicUrl>
    <Status>sample string 9</Status>
    <Title>sample string 2</Title>
    <ViewsNumber>5</ViewsNumber>
  </ArticleEntity>
  <ArticleEntity>
    <ETag xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 18</ETag>
    <PartitionKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 15</PartitionKey>
    <RowKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 16</RowKey>
    <Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">
      <d3p1:DateTime>2020-12-31T19:50:40.6754145Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </Timestamp>
    <Body>sample string 3</Body>
    <Category>sample string 8</Category>
    <Custom1>sample string 10</Custom1>
    <Custom2>sample string 11</Custom2>
    <Custom3>sample string 12</Custom3>
    <Custom4>sample string 13</Custom4>
    <Custom5>sample string 14</Custom5>
    <DateCreated>sample string 7</DateCreated>
    <Id>sample string 1</Id>
    <LikesNumber>6</LikesNumber>
    <PicUrl>sample string 4</PicUrl>
    <Status>sample string 9</Status>
    <Title>sample string 2</Title>
    <ViewsNumber>5</ViewsNumber>
  </ArticleEntity>
</ArrayOfArticleEntity>