GET v2/categories/{slug}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
slug

string

Required

Body Parameters

None.

Response Information

Resource Description

ItemResultOfNewsCategoryModel
NameDescriptionTypeAdditional information
Item

NewsCategoryModel

None.

Success

boolean

None.

ErrorMessage

string

None.

Status

ResultStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Item": {
    "$id": "2",
    "Name": "sample string 1",
    "Id": 2,
    "Slug": "sample string 3",
    "__metadata": {
      "$id": "3",
      "type": "sample string 1",
      "uri": "sample string 2"
    }
  },
  "Success": true,
  "ErrorMessage": "sample string 2",
  "Status": 0
}

application/xml, text/xml

Sample:
<ItemResultOfNewsCategoryModelBrRlwU_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:Id>2</d2p1:Id>
    <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 3</d2p1:Slug>
  </Item>
</ItemResultOfNewsCategoryModelBrRlwU_Pn>