GET api/delegategroups/{delegateGroupId}/delegates
Gets all delegates in a delegate group by id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
delegateGroupId |
The id of the delegate group |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns the delegates, or an empty list if the group was not found
Collection of DelegateName | Description | Type | Additional information |
---|---|---|---|
Id |
The delegate's id. |
integer |
None. |
DelegateGroupId |
The ID of the delegate group the delegate is in. |
integer |
None. |
FirstName |
The first name of the delegate. |
string |
None. |
LastName |
The last name of the delegate. |
string |
None. |
Phone |
The delegate's phone number. |
string |
None. |
Username |
The username that the delegate uses to log in to the system. |
string |
None. |
The delegate's email address. |
string |
None. |
|
Role |
The delegate's position relative to their organization or the passenger. For informational purposes. |
string |
None. |
Comments |
Gets or sets optional comments for the delegate. |
string |
None. |
AddressComments |
Gets or sets optional address comments for the delegate. This is helpful for situations where the delegate is a part of a Facility group but is working from a different branch or location. |
string |
None. |
SecuritySettings |
The security permissions for the delegate. If no security permissions have been defined for the delegate, this will fall back to the group security settings that the delegate inherits from |
DelegateSecurity |
None. |
CanManageClients |
Gets whether the delegate add/remove clients from the group |
boolean |
None. |
CanManageDelegates |
Gets whether the delegate can add/remove delegates from the group |
boolean |
None. |
CanManageLocations |
Gets whether the delegate can add/edit locations |
boolean |
None. |
InheritGroupSecurity |
Gets whether the delegate will have access to all settings the group does, in addition to its own security permissions |
boolean |
None. |
DateCreated |
Gets or sets the date on which delegate was created |
date |
None. |
Response Formats
application/json, text/json
[ { "id": 1, "delegateGroupId": 2, "firstName": "sample string 3", "lastName": "sample string 4", "phone": "sample string 5", "username": "sample string 6", "email": "sample string 7", "role": "sample string 8", "comments": "sample string 9", "addressComments": "sample string 10", "securitySettings": { "canBookSubscriptions": true, "canBookTrips": true, "canEditProfile": true, "canViewProfile": true, "canCancelTrips": true, "canManagePassengerFeedback": true, "canEditCasualTrips": true, "canEditSubscriptionTrips": true, "canTopUpAccount": true, "canViewTransactionHistory": true }, "canManageClients": true, "canManageDelegates": true, "canManageLocations": true, "inheritGroupSecurity": true, "dateCreated": "2024-12-23T12:26:03.6402659-07:00" }, { "id": 1, "delegateGroupId": 2, "firstName": "sample string 3", "lastName": "sample string 4", "phone": "sample string 5", "username": "sample string 6", "email": "sample string 7", "role": "sample string 8", "comments": "sample string 9", "addressComments": "sample string 10", "securitySettings": { "canBookSubscriptions": true, "canBookTrips": true, "canEditProfile": true, "canViewProfile": true, "canCancelTrips": true, "canManagePassengerFeedback": true, "canEditCasualTrips": true, "canEditSubscriptionTrips": true, "canTopUpAccount": true, "canViewTransactionHistory": true }, "canManageClients": true, "canManageDelegates": true, "canManageLocations": true, "inheritGroupSecurity": true, "dateCreated": "2024-12-23T12:26:03.6402659-07:00" } ]
application/xml, text/xml
<ArrayOfDelegate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources.Delegates"> <Delegate> <AddressComments>sample string 10</AddressComments> <CanManageClients>true</CanManageClients> <CanManageDelegates>true</CanManageDelegates> <CanManageLocations>true</CanManageLocations> <Comments>sample string 9</Comments> <DateCreated>2024-12-23T12:26:03.6402659-07:00</DateCreated> <DelegateGroupId>2</DelegateGroupId> <Email>sample string 7</Email> <FirstName>sample string 3</FirstName> <Id>1</Id> <InheritGroupSecurity>true</InheritGroupSecurity> <LastName>sample string 4</LastName> <Phone>sample string 5</Phone> <Role>sample string 8</Role> <SecuritySettings> <CanBookSubscriptions>true</CanBookSubscriptions> <CanBookTrips>true</CanBookTrips> <CanCancelTrips>true</CanCancelTrips> <CanEditCasualTrips>true</CanEditCasualTrips> <CanEditProfile>true</CanEditProfile> <CanEditSubscriptionTrips>true</CanEditSubscriptionTrips> <CanManagePassengerFeedback>true</CanManagePassengerFeedback> <CanTopUpAccount>true</CanTopUpAccount> <CanViewProfile>true</CanViewProfile> <CanViewTransactionHistory>true</CanViewTransactionHistory> </SecuritySettings> <Username>sample string 6</Username> </Delegate> <Delegate> <AddressComments>sample string 10</AddressComments> <CanManageClients>true</CanManageClients> <CanManageDelegates>true</CanManageDelegates> <CanManageLocations>true</CanManageLocations> <Comments>sample string 9</Comments> <DateCreated>2024-12-23T12:26:03.6402659-07:00</DateCreated> <DelegateGroupId>2</DelegateGroupId> <Email>sample string 7</Email> <FirstName>sample string 3</FirstName> <Id>1</Id> <InheritGroupSecurity>true</InheritGroupSecurity> <LastName>sample string 4</LastName> <Phone>sample string 5</Phone> <Role>sample string 8</Role> <SecuritySettings> <CanBookSubscriptions>true</CanBookSubscriptions> <CanBookTrips>true</CanBookTrips> <CanCancelTrips>true</CanCancelTrips> <CanEditCasualTrips>true</CanEditCasualTrips> <CanEditProfile>true</CanEditProfile> <CanEditSubscriptionTrips>true</CanEditSubscriptionTrips> <CanManagePassengerFeedback>true</CanManagePassengerFeedback> <CanTopUpAccount>true</CanTopUpAccount> <CanViewProfile>true</CanViewProfile> <CanViewTransactionHistory>true</CanViewTransactionHistory> </SecuritySettings> <Username>sample string 6</Username> </Delegate> </ArrayOfDelegate>