GET api/SubGroups
Gets all subgroups sorted by the <br/> <see cref="P:Compilator.DDAPI.DTO.Article.SubGroupResponse.Priority">Priority</see> field and <br/> <see cref="P:Compilator.DDAPI.DTO.Article.SubGroupResponse.Id">Id</see>
Request Information
URI Parameters
None.
Body Parameters
None.
Remarks
None.
Example
None.
Response Information
Resource Description
Collection of SubGroupResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Name | string |
Required Max length: 50 |
|
| Visible |
Indicates if the Sub group should be visible or not. |
boolean |
None. |
| Priority |
Used for sorting, the result will be sorted according to this field. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Visible": true,
"Priority": 1
},
{
"Id": 1,
"Name": "sample string 2",
"Visible": true,
"Priority": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfSubGroupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Article">
<SubGroupResponse>
<Id>1</Id>
<Name>sample string 2</Name>
<Priority>1</Priority>
<Visible>true</Visible>
</SubGroupResponse>
<SubGroupResponse>
<Id>1</Id>
<Name>sample string 2</Name>
<Priority>1</Priority>
<Visible>true</Visible>
</SubGroupResponse>
</ArrayOfSubGroupResponse>