GET v1/Employees/{employeeId}/ShopRoles

Get a list with all ShopRoles for a given Employee.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
employeeId

The Employee identifier.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the ShopRole objects.


Collection of EmployeeShopRole
NameDescriptionTypeAdditional information
Id

Gets or sets the Id

integer

Required

ShopId

Gets or sets the ShopId

integer

Required

Name

Gets or sets the Name

string

None.

Authorizations

Gets the Authorizations

Collection of ShopRoleAuthorization

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ShopId": 2,
    "Name": "sample string 3",
    "Authorizations": []
  },
  {
    "Id": 1,
    "ShopId": 2,
    "Name": "sample string 3",
    "Authorizations": []
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployeeShopRole xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <EmployeeShopRole>
    <Id>1</Id>
    <ShopId>2</ShopId>
    <Name>sample string 3</Name>
    <Authorizations />
  </EmployeeShopRole>
  <EmployeeShopRole>
    <Id>1</Id>
    <ShopId>2</ShopId>
    <Name>sample string 3</Name>
    <Authorizations />
  </EmployeeShopRole>
</ArrayOfEmployeeShopRole>