GET v2/categories?rootOnly={rootOnly}&hasRelease={hasRelease}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
rootOnly | boolean |
Default value is False |
|
hasRelease | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
ListResultOfNewsCategoryModelName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of NewsCategoryModel |
None. |
|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Status | ResultStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "$id": "2", "Name": "sample string 1", "Id": 2, "Slug": "sample string 3", "__metadata": { "$id": "3", "type": "sample string 1", "uri": "sample string 2" } }, { "$ref": "2" } ], "Success": true, "ErrorMessage": "sample string 2", "Status": 0 }
application/xml, text/xml
Sample:
<ListResultOfNewsCategoryModelBrRlwU_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> <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Dino.API.Models"> <d2p1:NewsCategoryModel> <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> </d2p1:NewsCategoryModel> <d2p1:NewsCategoryModel> <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> </d2p1:NewsCategoryModel> </Items> </ListResultOfNewsCategoryModelBrRlwU_Pn>