GET Api/Resource/TimeRegistration/ResourcesForGroupUsers?date={date}&allMyGroups={allMyGroups}&group={group}
Returns the resources(users) for the group and user
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
date | date |
Required |
|
allMyGroups | boolean |
Required |
|
group | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ResourceName | Description | Type | Additional information |
---|---|---|---|
DefaultAvailable | boolean |
None. |
|
Name | string |
None. |
|
LastName | string |
None. |
|
MiddleName | string |
None. |
|
FirstName | string |
None. |
|
FullName | string |
None. |
|
EmployeeNumber | string |
None. |
|
UserGroup | string |
None. |
|
GroupSchedule1 | string |
None. |
|
GroupSchedule2 | string |
None. |
|
GroupSchedule3 | string |
None. |
|
GroupSchedule4 | string |
None. |
|
GroupSchedule5 | string |
None. |
|
DefaultUserGroup | string |
None. |
|
UserID | integer |
None. |
|
string |
None. |
||
BeginDates | Collection of date |
None. |
|
EndDates | Collection of date |
None. |
|
ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "DefaultAvailable": true, "UserID": 14, "ID": 16, "Name": "sample string 5", "Email": "sample string 15", "LastName": "sample string 2", "BeginDates": [ "2024-12-22T08:01:26.9335999+01:00", "2024-12-22T08:01:26.9335999+01:00" ], "MiddleName": "sample string 3", "EndDates": [ "2024-12-22T08:01:26.9335999+01:00", "2024-12-22T08:01:26.9335999+01:00" ], "FirstName": "sample string 4", "FullName": "sample string 5", "EmployeeNumber": "sample string 6", "UserGroup": "sample string 7", "GroupSchedule1": "sample string 8", "GroupSchedule2": "sample string 9", "GroupSchedule3": "sample string 10", "GroupSchedule4": "sample string 11", "GroupSchedule5": "sample string 12", "DefaultUserGroup": "sample string 13" }, { "DefaultAvailable": true, "UserID": 14, "ID": 16, "Name": "sample string 5", "Email": "sample string 15", "LastName": "sample string 2", "BeginDates": [ "2024-12-22T08:01:26.9335999+01:00", "2024-12-22T08:01:26.9335999+01:00" ], "MiddleName": "sample string 3", "EndDates": [ "2024-12-22T08:01:26.9335999+01:00", "2024-12-22T08:01:26.9335999+01:00" ], "FirstName": "sample string 4", "FullName": "sample string 5", "EmployeeNumber": "sample string 6", "UserGroup": "sample string 7", "GroupSchedule1": "sample string 8", "GroupSchedule2": "sample string 9", "GroupSchedule3": "sample string 10", "GroupSchedule4": "sample string 11", "GroupSchedule5": "sample string 12", "DefaultUserGroup": "sample string 13" } ]
application/xml, text/xml
Sample:
<ArrayOfResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models"> <Resource> <ID>16</ID> <Name>sample string 5</Name> <UserID>14</UserID> <Email>sample string 15</Email> <BeginDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:dateTime>2024-12-22T08:01:26.9335999+01:00</d3p1:dateTime> <d3p1:dateTime>2024-12-22T08:01:26.9335999+01:00</d3p1:dateTime> </BeginDates> <EndDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:dateTime>2024-12-22T08:01:26.9335999+01:00</d3p1:dateTime> <d3p1:dateTime>2024-12-22T08:01:26.9335999+01:00</d3p1:dateTime> </EndDates> <DefaultAvailable>true</DefaultAvailable> <LastName>sample string 2</LastName> <MiddleName>sample string 3</MiddleName> <FirstName>sample string 4</FirstName> <FullName>sample string 5</FullName> <EmployeeNumber>sample string 6</EmployeeNumber> <UserGroup>sample string 7</UserGroup> <GroupSchedule1>sample string 8</GroupSchedule1> <GroupSchedule2>sample string 9</GroupSchedule2> <GroupSchedule3>sample string 10</GroupSchedule3> <GroupSchedule4>sample string 11</GroupSchedule4> <GroupSchedule5>sample string 12</GroupSchedule5> <DefaultUserGroup>sample string 13</DefaultUserGroup> </Resource> <Resource> <ID>16</ID> <Name>sample string 5</Name> <UserID>14</UserID> <Email>sample string 15</Email> <BeginDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:dateTime>2024-12-22T08:01:26.9335999+01:00</d3p1:dateTime> <d3p1:dateTime>2024-12-22T08:01:26.9335999+01:00</d3p1:dateTime> </BeginDates> <EndDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:dateTime>2024-12-22T08:01:26.9335999+01:00</d3p1:dateTime> <d3p1:dateTime>2024-12-22T08:01:26.9335999+01:00</d3p1:dateTime> </EndDates> <DefaultAvailable>true</DefaultAvailable> <LastName>sample string 2</LastName> <MiddleName>sample string 3</MiddleName> <FirstName>sample string 4</FirstName> <FullName>sample string 5</FullName> <EmployeeNumber>sample string 6</EmployeeNumber> <UserGroup>sample string 7</UserGroup> <GroupSchedule1>sample string 8</GroupSchedule1> <GroupSchedule2>sample string 9</GroupSchedule2> <GroupSchedule3>sample string 10</GroupSchedule3> <GroupSchedule4>sample string 11</GroupSchedule4> <GroupSchedule5>sample string 12</GroupSchedule5> <DefaultUserGroup>sample string 13</DefaultUserGroup> </Resource> </ArrayOfResource>