GET api/Categories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Category| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CategoryName | string |
None. |
|
| CategoryImage | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsNSF | boolean |
None. |
|
| IsFree | boolean |
None. |
|
| CollectionId | integer |
None. |
|
| Discription | string |
None. |
|
| CategoryVideo | string |
None. |
|
| WordCount | integer |
None. |
|
| Price | decimal number |
None. |
|
| Monthly | decimal number |
None. |
|
| Yearly | decimal number |
None. |
|
| CatOrder | integer |
None. |
|
| IsLocked | boolean |
None. |
|
| Progress | string |
None. |
|
| CollectionName | string |
None. |
|
| Expired | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"CategoryName": "sample string 2",
"CategoryImage": "sample string 3",
"IsActive": true,
"IsNSF": true,
"IsFree": true,
"CollectionId": 1,
"Discription": "sample string 5",
"CategoryVideo": "sample string 6",
"WordCount": 1,
"Price": 1.0,
"Monthly": 1.0,
"Yearly": 1.0,
"CatOrder": 1,
"IsLocked": true,
"Progress": "sample string 8",
"CollectionName": "sample string 9",
"Expired": "2025-12-20T17:07:50.5121855-08:00"
}
application/xml, text/xml
Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpellingAPI"> <CatOrder>1</CatOrder> <CategoryImage>sample string 3</CategoryImage> <CategoryName>sample string 2</CategoryName> <CategoryVideo>sample string 6</CategoryVideo> <CollectionId>1</CollectionId> <Discription>sample string 5</Discription> <Id>1</Id> <IsActive>true</IsActive> <IsFree>true</IsFree> <IsNSF>true</IsNSF> <Monthly>1</Monthly> <Price>1</Price> <WordCount>1</WordCount> <Yearly>1</Yearly> </Category>