GET api/Category
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CategoryName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "code": 1, "name": "sample string 2" }, { "code": 1, "name": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISOWebAPI.Models"> <Category> <Code>1</Code> <Name>sample string 2</Name> </Category> <Category> <Code>1</Code> <Name>sample string 2</Name> </Category> </ArrayOfCategory>