GET v1/Employees
Get a list with all available Employees for the logged in user.
Request Information
Requires Authorization!
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of EmployeeBasicInfo objects.
Collection of EmployeeBasicInfo
Name | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the id |
integer |
Required |
FullName |
Gets or sets the FullName |
string |
Required Max length: 100 |
Login |
Gets or sets the Login |
string |
Required Max length: 50 |
Enabled |
Gets or sets the Enabled status |
boolean |
Required |
ShopOwnerId |
Gets or sets the ShopOwnerId |
integer |
None. |
ShopOwnerCompanyName |
Gets or sets the ShopOwnerCompanyName |
string |
None. |
IsAdmin |
Gets or sets the IsAdmin |
boolean |
Required |
IsShopOwnerAdmin |
Gets or sets the IsShopOwnerAdmin |
boolean |
Required |
LastLogin |
Gets or sets the LastLogin date and time |
date |
None. |
PhoneExtension |
Gets or sets the Phone |
string |
Max length: 10 |
CultureId |
Gets or sets the CultureId |
integer |
None. |
CultureCode |
Gets or sets the CultureCode |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "FullName": "sample string 2", "Login": "sample string 3", "Enabled": true, "ShopOwnerId": 1, "ShopOwnerCompanyName": "sample string 5", "IsAdmin": true, "IsShopOwnerAdmin": true, "LastLogin": "2021-12-02T20:19:32.700981+01:00", "PhoneExtension": "sample string 8", "CultureId": 1, "CultureCode": "sample string 9" }, { "Id": 1, "FullName": "sample string 2", "Login": "sample string 3", "Enabled": true, "ShopOwnerId": 1, "ShopOwnerCompanyName": "sample string 5", "IsAdmin": true, "IsShopOwnerAdmin": true, "LastLogin": "2021-12-02T20:19:32.700981+01:00", "PhoneExtension": "sample string 8", "CultureId": 1, "CultureCode": "sample string 9" } ]
application/xml, text/xml
Sample:
<ArrayOfEmployeeBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <EmployeeBasicInfo> <Id>1</Id> <FullName>sample string 2</FullName> <Login>sample string 3</Login> <Enabled>true</Enabled> <ShopOwnerId>1</ShopOwnerId> <ShopOwnerCompanyName>sample string 5</ShopOwnerCompanyName> <IsAdmin>true</IsAdmin> <IsShopOwnerAdmin>true</IsShopOwnerAdmin> <LastLogin>2021-12-02T20:19:32.700981+01:00</LastLogin> <PhoneExtension>sample string 8</PhoneExtension> <CultureId>1</CultureId> <CultureCode>sample string 9</CultureCode> </EmployeeBasicInfo> <EmployeeBasicInfo> <Id>1</Id> <FullName>sample string 2</FullName> <Login>sample string 3</Login> <Enabled>true</Enabled> <ShopOwnerId>1</ShopOwnerId> <ShopOwnerCompanyName>sample string 5</ShopOwnerCompanyName> <IsAdmin>true</IsAdmin> <IsShopOwnerAdmin>true</IsShopOwnerAdmin> <LastLogin>2021-12-02T20:19:32.700981+01:00</LastLogin> <PhoneExtension>sample string 8</PhoneExtension> <CultureId>1</CultureId> <CultureCode>sample string 9</CultureCode> </EmployeeBasicInfo> </ArrayOfEmployeeBasicInfo>