GET api/groups/{groupId}
Get a group by identifier.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
groupId |
The group identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GroupViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the group unique identifier. |
integer |
None. |
Name |
Gets or sets the name. |
string |
Required Invalid Chars: .!@#$%^&*\|`~=+/?<>()[]," Leading or trailing white spaces are not allowed Max length: 30 |
Type |
Gets or sets the type. |
GroupType |
None. |
Links |
Gets the links. |
Collection of LinkModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "type": 0 }
application/xml, text/xml
Sample:
<GroupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models"> <Id>1</Id> <Name>sample string 2</Name> <Type>Static</Type> </GroupViewModel>