GET api/Category/GetAll?departmentId={departmentId}&token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| departmentId | integer |
Required |
|
| token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MDLCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Type | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Type": 4
},
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Type": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfMDLCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared.ComplaintsManagement">
<MDLCategory>
<Description>sample string 3</Description>
<Id>1</Id>
<Name>sample string 2</Name>
<Type>4</Type>
</MDLCategory>
<MDLCategory>
<Description>sample string 3</Description>
<Id>1</Id>
<Name>sample string 2</Name>
<Type>4</Type>
</MDLCategory>
</ArrayOfMDLCategory>