GET v1/Employees/{employeeId}/EmployeeGroups
Get a list with all EmployeeGroups for a given Employee.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
employeeId |
The Employee identifier. |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the EmployeeGroup objects.
Collection of EmployeeGroup
Name | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the Id |
integer |
Required |
Name |
Gets or sets the Name |
string |
Max length: 50 |
ShopOwnerId |
Gets or sets the ShopOwnerId |
integer |
None. |
Enabled |
Gets or sets the Enabled |
boolean |
Required |
VoipQueue |
Gets or sets the VoipQueue |
string |
Max length: 50 |
Description |
Gets or sets the Description |
string |
Max length: 2147483647 |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "ShopOwnerId": 1, "Enabled": true, "VoipQueue": "sample string 4", "Description": "sample string 5" }, { "Id": 1, "Name": "sample string 2", "ShopOwnerId": 1, "Enabled": true, "VoipQueue": "sample string 4", "Description": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfEmployeeGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <EmployeeGroup> <Id>1</Id> <Name>sample string 2</Name> <ShopOwnerId>1</ShopOwnerId> <Enabled>true</Enabled> <VoipQueue>sample string 4</VoipQueue> <Description>sample string 5</Description> </EmployeeGroup> <EmployeeGroup> <Id>1</Id> <Name>sample string 2</Name> <ShopOwnerId>1</ShopOwnerId> <Enabled>true</Enabled> <VoipQueue>sample string 4</VoipQueue> <Description>sample string 5</Description> </EmployeeGroup> </ArrayOfEmployeeGroup>