GET api/CategoryWorks
Возвращает список
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
CategoryWork| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId |
ИД |
integer |
None. |
| CategoryName |
Наименование категории |
string |
Required |
Response Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"CategoryName": "sample string 2"
}
application/xml, text/xml
Sample:
<CategoryWork xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models"> <CategoryId>1</CategoryId> <CategoryName>sample string 2</CategoryName> </CategoryWork>