GET api/Category/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CategoryF| Name | Description | Type | Additional information |
|---|---|---|---|
| Description | string |
None. |
|
| Published | boolean |
None. |
|
| QuantityDiscountID | integer |
None. |
|
| Deleted | boolean |
None. |
|
| DefaultSectionID | integer |
None. |
|
| PlanSlip | boolean |
None. |
|
| AllowFreeDiscount | boolean |
None. |
|
| CategoryID | integer |
None. |
|
| Name | string |
None. |
|
| ParentCategoryID | integer |
None. |
|
| DisplayOrder | integer |
None. |
|
| Translations | Collection of CategoryNameS |
None. |
Response Formats
application/json, text/json
Sample:
{
"Description": "sample string 1",
"Published": true,
"QuantityDiscountID": 1,
"Deleted": true,
"DefaultSectionID": 1,
"PlanSlip": true,
"AllowFreeDiscount": true,
"CategoryID": 6,
"Name": "sample string 7",
"ParentCategoryID": 8,
"DisplayOrder": 9,
"Translations": [
{
"Language": "sample string 1",
"Name": "sample string 2"
},
{
"Language": "sample string 1",
"Name": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<CategoryF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCircleCommon">
<CategoryID>6</CategoryID>
<DisplayOrder>9</DisplayOrder>
<Name>sample string 7</Name>
<ParentCategoryID>8</ParentCategoryID>
<Translations>
<CategoryNameS>
<Language>sample string 1</Language>
<Name>sample string 2</Name>
</CategoryNameS>
<CategoryNameS>
<Language>sample string 1</Language>
<Name>sample string 2</Name>
</CategoryNameS>
</Translations>
<AllowFreeDiscount>true</AllowFreeDiscount>
<DefaultSectionID>1</DefaultSectionID>
<Deleted>true</Deleted>
<Description>sample string 1</Description>
<PlanSlip>true</PlanSlip>
<Published>true</Published>
<QuantityDiscountID>1</QuantityDiscountID>
</CategoryF>