GET api/TechCategories
Gets all Tech Article Category details.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of Tech article categories and it's Details
Collection of ArticleCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryID |
Gets or sets the unique identifier of the category. |
integer |
None. |
| CategoryName |
Gets or sets the name of the category. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CategoryID": 1,
"CategoryName": "sample string 2"
},
{
"CategoryID": 1,
"CategoryName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfArticleCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
<ArticleCategory>
<CategoryID>1</CategoryID>
<CategoryName>sample string 2</CategoryName>
</ArticleCategory>
<ArticleCategory>
<CategoryID>1</CategoryID>
<CategoryName>sample string 2</CategoryName>
</ArticleCategory>
</ArrayOfArticleCategory>