GET api/Categories?onlyMain={onlyMain}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
onlyMain | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of CategoryApiName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
UrlName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "Name": "sample string 1", "UrlName": "sample string 2" }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfCategoryApi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dino.Model.DTO"> <CategoryApi> <Name>sample string 1</Name> <UrlName>sample string 2</UrlName> </CategoryApi> <CategoryApi> <Name>sample string 1</Name> <UrlName>sample string 2</UrlName> </CategoryApi> </ArrayOfCategoryApi>