GET api/categories?pageNumber={pageNumber}&pageSize={pageSize}
Lists all categories.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageNumber | integer |
None. |
|
| pageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of Category| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
None. |
|
| age | integer |
None. |
|
| category | string |
None. |
|
| category_archived | boolean |
None. |
|
| category_id | globally unique identifier |
None. |
|
| gender | string |
None. |
|
| junior | boolean |
None. |
|
| locale | string |
None. |
|
| lookup | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"active": true,
"age": 2,
"category": "sample string 3",
"category_archived": true,
"category_id": "d519190d-bc2a-41ea-8029-b791d0c1805a",
"gender": "sample string 6",
"junior": true,
"locale": "sample string 8",
"lookup": "sample string 9"
},
{
"active": true,
"age": 2,
"category": "sample string 3",
"category_archived": true,
"category_id": "d519190d-bc2a-41ea-8029-b791d0c1805a",
"gender": "sample string 6",
"junior": true,
"locale": "sample string 8",
"lookup": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API">
<Category>
<active>true</active>
<age>2</age>
<category>sample string 3</category>
<category_archived>true</category_archived>
<category_id>d519190d-bc2a-41ea-8029-b791d0c1805a</category_id>
<gender>sample string 6</gender>
<junior>true</junior>
<locale>sample string 8</locale>
<lookup>sample string 9</lookup>
</Category>
<Category>
<active>true</active>
<age>2</age>
<category>sample string 3</category>
<category_archived>true</category_archived>
<category_id>d519190d-bc2a-41ea-8029-b791d0c1805a</category_id>
<gender>sample string 6</gender>
<junior>true</junior>
<locale>sample string 8</locale>
<lookup>sample string 9</lookup>
</Category>
</ArrayOfCategory>