GET api/delegategroups/search?query={query}&groupType={groupType}&includeMatchedObjects={includeMatchedObjects}

Searches through delegate groups for a name, client or delegate that matches the specified search string. If a group type is provided, then only delegate groups matching the filter criteria will be included.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
query

The text to search for. This may be either the delegate group's name, a client's name, ID or Client Code, or a delegate's name, username or email.

string

Required

groupType

An optional delegate group type to filter by.

DelegateGroupType

None.

includeMatchedObjects

Whether or not to include the full information of the matched objects in the search results. Objects may be one of , or

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Returns a list of search results, which includes the Delegate Group's ID, and details about what triggered the hit.

Collection of DelegateGroupSearchResult
NameDescriptionTypeAdditional information
DelegateGroup

Optionally included information on the delegate group

DelegateGroup

None.

DelegateGroupId

Gets or sets the ID of the delegate group that was matched.

integer

None.

Matches

Gets or sets the properties that triggered the search hit.

Collection of DelegateGroupSearchMatch

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "delegateGroup": {
      "id": 1,
      "tenantId": 2,
      "name": "sample string 3",
      "address": "sample string 4",
      "groupType": 1,
      "phone": "sample string 5",
      "description": "sample string 6",
      "fundingSourceId": 1,
      "serviceTypeId": 1,
      "serviceTypeIds": [
        1,
        2
      ],
      "locationId": 1,
      "securitySettings": {
        "canBookSubscriptions": true,
        "canBookTrips": true,
        "canEditProfile": true,
        "canViewProfile": true,
        "canCancelTrips": true,
        "canManagePassengerFeedback": true,
        "canEditCasualTrips": true,
        "canEditSubscriptionTrips": true,
        "canTopUpAccount": true,
        "canViewTransactionHistory": true
      },
      "fundingSource": {
        "id": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "address": {
          "id": 1,
          "description": "sample string 1",
          "category": "sample string 2",
          "categoryId": "sample string 3",
          "name": "sample string 4",
          "latitude": 1.1,
          "longitude": 1.1,
          "streetNumber": "sample string 5",
          "onStreet": "sample string 6",
          "atStreet": "sample string 7",
          "city": "sample string 8",
          "state": "sample string 9",
          "postalCode": "sample string 10",
          "itemType": 0,
          "internalType": 0,
          "unit": "sample string 11",
          "comments": "sample string 12",
          "isGeocoded": true,
          "contact": {
            "id": 1,
            "referenceId": "sample string 2",
            "contactType": "sample string 3",
            "firstName": "sample string 4",
            "lastName": "sample string 5",
            "comments": "sample string 6",
            "details": [
              {
                "id": 1,
                "contactString": "sample string 2",
                "type": {
                  "code": "sample string 1",
                  "name": "sample string 2",
                  "type": 0
                },
                "isPreferred": true
              },
              {
                "id": 1,
                "contactString": "sample string 2",
                "type": {
                  "code": "sample string 1",
                  "name": "sample string 2",
                  "type": 0
                },
                "isPreferred": true
              }
            ]
          },
          "country": "sample string 14",
          "stopCode": "sample string 15",
          "procedureModifier": "sample string 16",
          "timeZoneId": "sample string 17"
        }
      },
      "location": {
        "id": 1,
        "description": "sample string 1",
        "category": "sample string 2",
        "categoryId": "sample string 3",
        "name": "sample string 4",
        "latitude": 1.1,
        "longitude": 1.1,
        "streetNumber": "sample string 5",
        "onStreet": "sample string 6",
        "atStreet": "sample string 7",
        "city": "sample string 8",
        "state": "sample string 9",
        "postalCode": "sample string 10",
        "itemType": 0,
        "internalType": 0,
        "unit": "sample string 11",
        "comments": "sample string 12",
        "isGeocoded": true,
        "contact": {
          "id": 1,
          "referenceId": "sample string 2",
          "contactType": "sample string 3",
          "firstName": "sample string 4",
          "lastName": "sample string 5",
          "comments": "sample string 6",
          "details": [
            {
              "id": 1,
              "contactString": "sample string 2",
              "type": {
                "code": "sample string 1",
                "name": "sample string 2",
                "type": 0
              },
              "isPreferred": true
            },
            {
              "id": 1,
              "contactString": "sample string 2",
              "type": {
                "code": "sample string 1",
                "name": "sample string 2",
                "type": 0
              },
              "isPreferred": true
            }
          ]
        },
        "country": "sample string 14",
        "stopCode": "sample string 15",
        "procedureModifier": "sample string 16",
        "timeZoneId": "sample string 17"
      },
      "requiredClientInformation": 0,
      "numClients": 7,
      "numDelegates": 8,
      "agencyIds": [
        1,
        2
      ],
      "agencies": [
        {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "address": {
            "id": 1,
            "description": "sample string 1",
            "category": "sample string 2",
            "categoryId": "sample string 3",
            "name": "sample string 4",
            "latitude": 1.1,
            "longitude": 1.1,
            "streetNumber": "sample string 5",
            "onStreet": "sample string 6",
            "atStreet": "sample string 7",
            "city": "sample string 8",
            "state": "sample string 9",
            "postalCode": "sample string 10",
            "itemType": 0,
            "internalType": 0,
            "unit": "sample string 11",
            "comments": "sample string 12",
            "isGeocoded": true,
            "contact": {
              "id": 1,
              "referenceId": "sample string 2",
              "contactType": "sample string 3",
              "firstName": "sample string 4",
              "lastName": "sample string 5",
              "comments": "sample string 6",
              "details": [
                {
                  "id": 1,
                  "contactString": "sample string 2",
                  "type": {
                    "code": "sample string 1",
                    "name": "sample string 2",
                    "type": 0
                  },
                  "isPreferred": true
                },
                {
                  "id": 1,
                  "contactString": "sample string 2",
                  "type": {
                    "code": "sample string 1",
                    "name": "sample string 2",
                    "type": 0
                  },
                  "isPreferred": true
                }
              ]
            },
            "country": "sample string 14",
            "stopCode": "sample string 15",
            "procedureModifier": "sample string 16",
            "timeZoneId": "sample string 17"
          }
        },
        {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "address": {
            "id": 1,
            "description": "sample string 1",
            "category": "sample string 2",
            "categoryId": "sample string 3",
            "name": "sample string 4",
            "latitude": 1.1,
            "longitude": 1.1,
            "streetNumber": "sample string 5",
            "onStreet": "sample string 6",
            "atStreet": "sample string 7",
            "city": "sample string 8",
            "state": "sample string 9",
            "postalCode": "sample string 10",
            "itemType": 0,
            "internalType": 0,
            "unit": "sample string 11",
            "comments": "sample string 12",
            "isGeocoded": true,
            "contact": {
              "id": 1,
              "referenceId": "sample string 2",
              "contactType": "sample string 3",
              "firstName": "sample string 4",
              "lastName": "sample string 5",
              "comments": "sample string 6",
              "details": [
                {
                  "id": 1,
                  "contactString": "sample string 2",
                  "type": {
                    "code": "sample string 1",
                    "name": "sample string 2",
                    "type": 0
                  },
                  "isPreferred": true
                },
                {
                  "id": 1,
                  "contactString": "sample string 2",
                  "type": {
                    "code": "sample string 1",
                    "name": "sample string 2",
                    "type": 0
                  },
                  "isPreferred": true
                }
              ]
            },
            "country": "sample string 14",
            "stopCode": "sample string 15",
            "procedureModifier": "sample string 16",
            "timeZoneId": "sample string 17"
          }
        }
      ]
    },
    "delegateGroupId": 1,
    "matches": [
      {
        "matchType": 0,
        "objectId": 1,
        "name": "sample string 2",
        "matchValue": "sample string 3",
        "matchedObject": {},
        "matchedObjectType": 0
      },
      {
        "matchType": 0,
        "objectId": 1,
        "name": "sample string 2",
        "matchValue": "sample string 3",
        "matchedObject": {},
        "matchedObjectType": 0
      }
    ]
  },
  {
    "delegateGroup": {
      "id": 1,
      "tenantId": 2,
      "name": "sample string 3",
      "address": "sample string 4",
      "groupType": 1,
      "phone": "sample string 5",
      "description": "sample string 6",
      "fundingSourceId": 1,
      "serviceTypeId": 1,
      "serviceTypeIds": [
        1,
        2
      ],
      "locationId": 1,
      "securitySettings": {
        "canBookSubscriptions": true,
        "canBookTrips": true,
        "canEditProfile": true,
        "canViewProfile": true,
        "canCancelTrips": true,
        "canManagePassengerFeedback": true,
        "canEditCasualTrips": true,
        "canEditSubscriptionTrips": true,
        "canTopUpAccount": true,
        "canViewTransactionHistory": true
      },
      "fundingSource": {
        "id": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "address": {
          "id": 1,
          "description": "sample string 1",
          "category": "sample string 2",
          "categoryId": "sample string 3",
          "name": "sample string 4",
          "latitude": 1.1,
          "longitude": 1.1,
          "streetNumber": "sample string 5",
          "onStreet": "sample string 6",
          "atStreet": "sample string 7",
          "city": "sample string 8",
          "state": "sample string 9",
          "postalCode": "sample string 10",
          "itemType": 0,
          "internalType": 0,
          "unit": "sample string 11",
          "comments": "sample string 12",
          "isGeocoded": true,
          "contact": {
            "id": 1,
            "referenceId": "sample string 2",
            "contactType": "sample string 3",
            "firstName": "sample string 4",
            "lastName": "sample string 5",
            "comments": "sample string 6",
            "details": [
              {
                "id": 1,
                "contactString": "sample string 2",
                "type": {
                  "code": "sample string 1",
                  "name": "sample string 2",
                  "type": 0
                },
                "isPreferred": true
              },
              {
                "id": 1,
                "contactString": "sample string 2",
                "type": {
                  "code": "sample string 1",
                  "name": "sample string 2",
                  "type": 0
                },
                "isPreferred": true
              }
            ]
          },
          "country": "sample string 14",
          "stopCode": "sample string 15",
          "procedureModifier": "sample string 16",
          "timeZoneId": "sample string 17"
        }
      },
      "location": {
        "id": 1,
        "description": "sample string 1",
        "category": "sample string 2",
        "categoryId": "sample string 3",
        "name": "sample string 4",
        "latitude": 1.1,
        "longitude": 1.1,
        "streetNumber": "sample string 5",
        "onStreet": "sample string 6",
        "atStreet": "sample string 7",
        "city": "sample string 8",
        "state": "sample string 9",
        "postalCode": "sample string 10",
        "itemType": 0,
        "internalType": 0,
        "unit": "sample string 11",
        "comments": "sample string 12",
        "isGeocoded": true,
        "contact": {
          "id": 1,
          "referenceId": "sample string 2",
          "contactType": "sample string 3",
          "firstName": "sample string 4",
          "lastName": "sample string 5",
          "comments": "sample string 6",
          "details": [
            {
              "id": 1,
              "contactString": "sample string 2",
              "type": {
                "code": "sample string 1",
                "name": "sample string 2",
                "type": 0
              },
              "isPreferred": true
            },
            {
              "id": 1,
              "contactString": "sample string 2",
              "type": {
                "code": "sample string 1",
                "name": "sample string 2",
                "type": 0
              },
              "isPreferred": true
            }
          ]
        },
        "country": "sample string 14",
        "stopCode": "sample string 15",
        "procedureModifier": "sample string 16",
        "timeZoneId": "sample string 17"
      },
      "requiredClientInformation": 0,
      "numClients": 7,
      "numDelegates": 8,
      "agencyIds": [
        1,
        2
      ],
      "agencies": [
        {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "address": {
            "id": 1,
            "description": "sample string 1",
            "category": "sample string 2",
            "categoryId": "sample string 3",
            "name": "sample string 4",
            "latitude": 1.1,
            "longitude": 1.1,
            "streetNumber": "sample string 5",
            "onStreet": "sample string 6",
            "atStreet": "sample string 7",
            "city": "sample string 8",
            "state": "sample string 9",
            "postalCode": "sample string 10",
            "itemType": 0,
            "internalType": 0,
            "unit": "sample string 11",
            "comments": "sample string 12",
            "isGeocoded": true,
            "contact": {
              "id": 1,
              "referenceId": "sample string 2",
              "contactType": "sample string 3",
              "firstName": "sample string 4",
              "lastName": "sample string 5",
              "comments": "sample string 6",
              "details": [
                {
                  "id": 1,
                  "contactString": "sample string 2",
                  "type": {
                    "code": "sample string 1",
                    "name": "sample string 2",
                    "type": 0
                  },
                  "isPreferred": true
                },
                {
                  "id": 1,
                  "contactString": "sample string 2",
                  "type": {
                    "code": "sample string 1",
                    "name": "sample string 2",
                    "type": 0
                  },
                  "isPreferred": true
                }
              ]
            },
            "country": "sample string 14",
            "stopCode": "sample string 15",
            "procedureModifier": "sample string 16",
            "timeZoneId": "sample string 17"
          }
        },
        {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "address": {
            "id": 1,
            "description": "sample string 1",
            "category": "sample string 2",
            "categoryId": "sample string 3",
            "name": "sample string 4",
            "latitude": 1.1,
            "longitude": 1.1,
            "streetNumber": "sample string 5",
            "onStreet": "sample string 6",
            "atStreet": "sample string 7",
            "city": "sample string 8",
            "state": "sample string 9",
            "postalCode": "sample string 10",
            "itemType": 0,
            "internalType": 0,
            "unit": "sample string 11",
            "comments": "sample string 12",
            "isGeocoded": true,
            "contact": {
              "id": 1,
              "referenceId": "sample string 2",
              "contactType": "sample string 3",
              "firstName": "sample string 4",
              "lastName": "sample string 5",
              "comments": "sample string 6",
              "details": [
                {
                  "id": 1,
                  "contactString": "sample string 2",
                  "type": {
                    "code": "sample string 1",
                    "name": "sample string 2",
                    "type": 0
                  },
                  "isPreferred": true
                },
                {
                  "id": 1,
                  "contactString": "sample string 2",
                  "type": {
                    "code": "sample string 1",
                    "name": "sample string 2",
                    "type": 0
                  },
                  "isPreferred": true
                }
              ]
            },
            "country": "sample string 14",
            "stopCode": "sample string 15",
            "procedureModifier": "sample string 16",
            "timeZoneId": "sample string 17"
          }
        }
      ]
    },
    "delegateGroupId": 1,
    "matches": [
      {
        "matchType": 0,
        "objectId": 1,
        "name": "sample string 2",
        "matchValue": "sample string 3",
        "matchedObject": {},
        "matchedObjectType": 0
      },
      {
        "matchType": 0,
        "objectId": 1,
        "name": "sample string 2",
        "matchValue": "sample string 3",
        "matchedObject": {},
        "matchedObjectType": 0
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfDelegateGroupSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources.Delegates">
  <DelegateGroupSearchResult>
    <DelegateGroup>
      <Address>sample string 4</Address>
      <Agencies xmlns:d4p1="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
        <d4p1:Agency>
          <d4p1:Address>
            <d4p1:AtStreet>sample string 7</d4p1:AtStreet>
            <d4p1:Category>sample string 2</d4p1:Category>
            <d4p1:CategoryId>sample string 3</d4p1:CategoryId>
            <d4p1:City>sample string 8</d4p1:City>
            <d4p1:Comments>sample string 12</d4p1:Comments>
            <d4p1:Contact>
              <d4p1:Comments>sample string 6</d4p1:Comments>
              <d4p1:ContactType>sample string 3</d4p1:ContactType>
              <d4p1:Details>
                <d4p1:ContactDetail>
                  <d4p1:ContactString>sample string 2</d4p1:ContactString>
                  <d4p1:ID>1</d4p1:ID>
                  <d4p1:IsPreferred>true</d4p1:IsPreferred>
                  <d4p1:Type>
                    <d4p1:Code>sample string 1</d4p1:Code>
                    <d4p1:Name>sample string 2</d4p1:Name>
                    <d4p1:Type>Phone</d4p1:Type>
                  </d4p1:Type>
                </d4p1:ContactDetail>
                <d4p1:ContactDetail>
                  <d4p1:ContactString>sample string 2</d4p1:ContactString>
                  <d4p1:ID>1</d4p1:ID>
                  <d4p1:IsPreferred>true</d4p1:IsPreferred>
                  <d4p1:Type>
                    <d4p1:Code>sample string 1</d4p1:Code>
                    <d4p1:Name>sample string 2</d4p1:Name>
                    <d4p1:Type>Phone</d4p1:Type>
                  </d4p1:Type>
                </d4p1:ContactDetail>
              </d4p1:Details>
              <d4p1:FirstName>sample string 4</d4p1:FirstName>
              <d4p1:ID>1</d4p1:ID>
              <d4p1:LastName>sample string 5</d4p1:LastName>
              <d4p1:ReferenceId>sample string 2</d4p1:ReferenceId>
            </d4p1:Contact>
            <d4p1:Country>sample string 14</d4p1:Country>
            <d4p1:Description>sample string 1</d4p1:Description>
            <d4p1:ID>1</d4p1:ID>
            <d4p1:InternalType>Location</d4p1:InternalType>
            <d4p1:IsGeocoded>true</d4p1:IsGeocoded>
            <d4p1:ItemType>Location</d4p1:ItemType>
            <d4p1:Latitude>1.1</d4p1:Latitude>
            <d4p1:Longitude>1.1</d4p1:Longitude>
            <d4p1:Name>sample string 4</d4p1:Name>
            <d4p1:OnStreet>sample string 6</d4p1:OnStreet>
            <d4p1:PostalCode>sample string 10</d4p1:PostalCode>
            <d4p1:ProcedureModifier>sample string 16</d4p1:ProcedureModifier>
            <d4p1:State>sample string 9</d4p1:State>
            <d4p1:StopCode>sample string 15</d4p1:StopCode>
            <d4p1:StreetNumber>sample string 5</d4p1:StreetNumber>
            <d4p1:TimeZoneId>sample string 17</d4p1:TimeZoneId>
            <d4p1:Unit>sample string 11</d4p1:Unit>
          </d4p1:Address>
          <d4p1:Description>sample string 3</d4p1:Description>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:Agency>
        <d4p1:Agency>
          <d4p1:Address>
            <d4p1:AtStreet>sample string 7</d4p1:AtStreet>
            <d4p1:Category>sample string 2</d4p1:Category>
            <d4p1:CategoryId>sample string 3</d4p1:CategoryId>
            <d4p1:City>sample string 8</d4p1:City>
            <d4p1:Comments>sample string 12</d4p1:Comments>
            <d4p1:Contact>
              <d4p1:Comments>sample string 6</d4p1:Comments>
              <d4p1:ContactType>sample string 3</d4p1:ContactType>
              <d4p1:Details>
                <d4p1:ContactDetail>
                  <d4p1:ContactString>sample string 2</d4p1:ContactString>
                  <d4p1:ID>1</d4p1:ID>
                  <d4p1:IsPreferred>true</d4p1:IsPreferred>
                  <d4p1:Type>
                    <d4p1:Code>sample string 1</d4p1:Code>
                    <d4p1:Name>sample string 2</d4p1:Name>
                    <d4p1:Type>Phone</d4p1:Type>
                  </d4p1:Type>
                </d4p1:ContactDetail>
                <d4p1:ContactDetail>
                  <d4p1:ContactString>sample string 2</d4p1:ContactString>
                  <d4p1:ID>1</d4p1:ID>
                  <d4p1:IsPreferred>true</d4p1:IsPreferred>
                  <d4p1:Type>
                    <d4p1:Code>sample string 1</d4p1:Code>
                    <d4p1:Name>sample string 2</d4p1:Name>
                    <d4p1:Type>Phone</d4p1:Type>
                  </d4p1:Type>
                </d4p1:ContactDetail>
              </d4p1:Details>
              <d4p1:FirstName>sample string 4</d4p1:FirstName>
              <d4p1:ID>1</d4p1:ID>
              <d4p1:LastName>sample string 5</d4p1:LastName>
              <d4p1:ReferenceId>sample string 2</d4p1:ReferenceId>
            </d4p1:Contact>
            <d4p1:Country>sample string 14</d4p1:Country>
            <d4p1:Description>sample string 1</d4p1:Description>
            <d4p1:ID>1</d4p1:ID>
            <d4p1:InternalType>Location</d4p1:InternalType>
            <d4p1:IsGeocoded>true</d4p1:IsGeocoded>
            <d4p1:ItemType>Location</d4p1:ItemType>
            <d4p1:Latitude>1.1</d4p1:Latitude>
            <d4p1:Longitude>1.1</d4p1:Longitude>
            <d4p1:Name>sample string 4</d4p1:Name>
            <d4p1:OnStreet>sample string 6</d4p1:OnStreet>
            <d4p1:PostalCode>sample string 10</d4p1:PostalCode>
            <d4p1:ProcedureModifier>sample string 16</d4p1:ProcedureModifier>
            <d4p1:State>sample string 9</d4p1:State>
            <d4p1:StopCode>sample string 15</d4p1:StopCode>
            <d4p1:StreetNumber>sample string 5</d4p1:StreetNumber>
            <d4p1:TimeZoneId>sample string 17</d4p1:TimeZoneId>
            <d4p1:Unit>sample string 11</d4p1:Unit>
          </d4p1:Address>
          <d4p1:Description>sample string 3</d4p1:Description>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:Agency>
      </Agencies>
      <AgencyIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </AgencyIds>
      <Description>sample string 6</Description>
      <FundingSource xmlns:d4p1="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
        <d4p1:Address>
          <d4p1:AtStreet>sample string 7</d4p1:AtStreet>
          <d4p1:Category>sample string 2</d4p1:Category>
          <d4p1:CategoryId>sample string 3</d4p1:CategoryId>
          <d4p1:City>sample string 8</d4p1:City>
          <d4p1:Comments>sample string 12</d4p1:Comments>
          <d4p1:Contact>
            <d4p1:Comments>sample string 6</d4p1:Comments>
            <d4p1:ContactType>sample string 3</d4p1:ContactType>
            <d4p1:Details>
              <d4p1:ContactDetail>
                <d4p1:ContactString>sample string 2</d4p1:ContactString>
                <d4p1:ID>1</d4p1:ID>
                <d4p1:IsPreferred>true</d4p1:IsPreferred>
                <d4p1:Type>
                  <d4p1:Code>sample string 1</d4p1:Code>
                  <d4p1:Name>sample string 2</d4p1:Name>
                  <d4p1:Type>Phone</d4p1:Type>
                </d4p1:Type>
              </d4p1:ContactDetail>
              <d4p1:ContactDetail>
                <d4p1:ContactString>sample string 2</d4p1:ContactString>
                <d4p1:ID>1</d4p1:ID>
                <d4p1:IsPreferred>true</d4p1:IsPreferred>
                <d4p1:Type>
                  <d4p1:Code>sample string 1</d4p1:Code>
                  <d4p1:Name>sample string 2</d4p1:Name>
                  <d4p1:Type>Phone</d4p1:Type>
                </d4p1:Type>
              </d4p1:ContactDetail>
            </d4p1:Details>
            <d4p1:FirstName>sample string 4</d4p1:FirstName>
            <d4p1:ID>1</d4p1:ID>
            <d4p1:LastName>sample string 5</d4p1:LastName>
            <d4p1:ReferenceId>sample string 2</d4p1:ReferenceId>
          </d4p1:Contact>
          <d4p1:Country>sample string 14</d4p1:Country>
          <d4p1:Description>sample string 1</d4p1:Description>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:InternalType>Location</d4p1:InternalType>
          <d4p1:IsGeocoded>true</d4p1:IsGeocoded>
          <d4p1:ItemType>Location</d4p1:ItemType>
          <d4p1:Latitude>1.1</d4p1:Latitude>
          <d4p1:Longitude>1.1</d4p1:Longitude>
          <d4p1:Name>sample string 4</d4p1:Name>
          <d4p1:OnStreet>sample string 6</d4p1:OnStreet>
          <d4p1:PostalCode>sample string 10</d4p1:PostalCode>
          <d4p1:ProcedureModifier>sample string 16</d4p1:ProcedureModifier>
          <d4p1:State>sample string 9</d4p1:State>
          <d4p1:StopCode>sample string 15</d4p1:StopCode>
          <d4p1:StreetNumber>sample string 5</d4p1:StreetNumber>
          <d4p1:TimeZoneId>sample string 17</d4p1:TimeZoneId>
          <d4p1:Unit>sample string 11</d4p1:Unit>
        </d4p1:Address>
        <d4p1:Description>sample string 3</d4p1:Description>
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </FundingSource>
      <FundingSourceId>1</FundingSourceId>
      <GroupType>Facility</GroupType>
      <Id>1</Id>
      <Location xmlns:d4p1="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
        <d4p1:AtStreet>sample string 7</d4p1:AtStreet>
        <d4p1:Category>sample string 2</d4p1:Category>
        <d4p1:CategoryId>sample string 3</d4p1:CategoryId>
        <d4p1:City>sample string 8</d4p1:City>
        <d4p1:Comments>sample string 12</d4p1:Comments>
        <d4p1:Contact>
          <d4p1:Comments>sample string 6</d4p1:Comments>
          <d4p1:ContactType>sample string 3</d4p1:ContactType>
          <d4p1:Details>
            <d4p1:ContactDetail>
              <d4p1:ContactString>sample string 2</d4p1:ContactString>
              <d4p1:ID>1</d4p1:ID>
              <d4p1:IsPreferred>true</d4p1:IsPreferred>
              <d4p1:Type>
                <d4p1:Code>sample string 1</d4p1:Code>
                <d4p1:Name>sample string 2</d4p1:Name>
                <d4p1:Type>Phone</d4p1:Type>
              </d4p1:Type>
            </d4p1:ContactDetail>
            <d4p1:ContactDetail>
              <d4p1:ContactString>sample string 2</d4p1:ContactString>
              <d4p1:ID>1</d4p1:ID>
              <d4p1:IsPreferred>true</d4p1:IsPreferred>
              <d4p1:Type>
                <d4p1:Code>sample string 1</d4p1:Code>
                <d4p1:Name>sample string 2</d4p1:Name>
                <d4p1:Type>Phone</d4p1:Type>
              </d4p1:Type>
            </d4p1:ContactDetail>
          </d4p1:Details>
          <d4p1:FirstName>sample string 4</d4p1:FirstName>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:LastName>sample string 5</d4p1:LastName>
          <d4p1:ReferenceId>sample string 2</d4p1:ReferenceId>
        </d4p1:Contact>
        <d4p1:Country>sample string 14</d4p1:Country>
        <d4p1:Description>sample string 1</d4p1:Description>
        <d4p1:ID>1</d4p1:ID>
        <d4p1:InternalType>Location</d4p1:InternalType>
        <d4p1:IsGeocoded>true</d4p1:IsGeocoded>
        <d4p1:ItemType>Location</d4p1:ItemType>
        <d4p1:Latitude>1.1</d4p1:Latitude>
        <d4p1:Longitude>1.1</d4p1:Longitude>
        <d4p1:Name>sample string 4</d4p1:Name>
        <d4p1:OnStreet>sample string 6</d4p1:OnStreet>
        <d4p1:PostalCode>sample string 10</d4p1:PostalCode>
        <d4p1:ProcedureModifier>sample string 16</d4p1:ProcedureModifier>
        <d4p1:State>sample string 9</d4p1:State>
        <d4p1:StopCode>sample string 15</d4p1:StopCode>
        <d4p1:StreetNumber>sample string 5</d4p1:StreetNumber>
        <d4p1:TimeZoneId>sample string 17</d4p1:TimeZoneId>
        <d4p1:Unit>sample string 11</d4p1:Unit>
      </Location>
      <LocationId>1</LocationId>
      <Name>sample string 3</Name>
      <NumClients>7</NumClients>
      <NumDelegates>8</NumDelegates>
      <Phone>sample string 5</Phone>
      <RequiredClientInformation>None</RequiredClientInformation>
      <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>
      <ServiceTypeId>1</ServiceTypeId>
      <ServiceTypeIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </ServiceTypeIds>
      <TenantId>2</TenantId>
    </DelegateGroup>
    <DelegateGroupId>1</DelegateGroupId>
    <Matches>
      <DelegateGroupSearchMatch>
        <MatchType>GroupName</MatchType>
        <MatchValue>sample string 3</MatchValue>
        <MatchedObject />
        <MatchedObjectType>None</MatchedObjectType>
        <Name>sample string 2</Name>
        <ObjectId>1</ObjectId>
      </DelegateGroupSearchMatch>
      <DelegateGroupSearchMatch>
        <MatchType>GroupName</MatchType>
        <MatchValue>sample string 3</MatchValue>
        <MatchedObject />
        <MatchedObjectType>None</MatchedObjectType>
        <Name>sample string 2</Name>
        <ObjectId>1</ObjectId>
      </DelegateGroupSearchMatch>
    </Matches>
  </DelegateGroupSearchResult>
  <DelegateGroupSearchResult>
    <DelegateGroup>
      <Address>sample string 4</Address>
      <Agencies xmlns:d4p1="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
        <d4p1:Agency>
          <d4p1:Address>
            <d4p1:AtStreet>sample string 7</d4p1:AtStreet>
            <d4p1:Category>sample string 2</d4p1:Category>
            <d4p1:CategoryId>sample string 3</d4p1:CategoryId>
            <d4p1:City>sample string 8</d4p1:City>
            <d4p1:Comments>sample string 12</d4p1:Comments>
            <d4p1:Contact>
              <d4p1:Comments>sample string 6</d4p1:Comments>
              <d4p1:ContactType>sample string 3</d4p1:ContactType>
              <d4p1:Details>
                <d4p1:ContactDetail>
                  <d4p1:ContactString>sample string 2</d4p1:ContactString>
                  <d4p1:ID>1</d4p1:ID>
                  <d4p1:IsPreferred>true</d4p1:IsPreferred>
                  <d4p1:Type>
                    <d4p1:Code>sample string 1</d4p1:Code>
                    <d4p1:Name>sample string 2</d4p1:Name>
                    <d4p1:Type>Phone</d4p1:Type>
                  </d4p1:Type>
                </d4p1:ContactDetail>
                <d4p1:ContactDetail>
                  <d4p1:ContactString>sample string 2</d4p1:ContactString>
                  <d4p1:ID>1</d4p1:ID>
                  <d4p1:IsPreferred>true</d4p1:IsPreferred>
                  <d4p1:Type>
                    <d4p1:Code>sample string 1</d4p1:Code>
                    <d4p1:Name>sample string 2</d4p1:Name>
                    <d4p1:Type>Phone</d4p1:Type>
                  </d4p1:Type>
                </d4p1:ContactDetail>
              </d4p1:Details>
              <d4p1:FirstName>sample string 4</d4p1:FirstName>
              <d4p1:ID>1</d4p1:ID>
              <d4p1:LastName>sample string 5</d4p1:LastName>
              <d4p1:ReferenceId>sample string 2</d4p1:ReferenceId>
            </d4p1:Contact>
            <d4p1:Country>sample string 14</d4p1:Country>
            <d4p1:Description>sample string 1</d4p1:Description>
            <d4p1:ID>1</d4p1:ID>
            <d4p1:InternalType>Location</d4p1:InternalType>
            <d4p1:IsGeocoded>true</d4p1:IsGeocoded>
            <d4p1:ItemType>Location</d4p1:ItemType>
            <d4p1:Latitude>1.1</d4p1:Latitude>
            <d4p1:Longitude>1.1</d4p1:Longitude>
            <d4p1:Name>sample string 4</d4p1:Name>
            <d4p1:OnStreet>sample string 6</d4p1:OnStreet>
            <d4p1:PostalCode>sample string 10</d4p1:PostalCode>
            <d4p1:ProcedureModifier>sample string 16</d4p1:ProcedureModifier>
            <d4p1:State>sample string 9</d4p1:State>
            <d4p1:StopCode>sample string 15</d4p1:StopCode>
            <d4p1:StreetNumber>sample string 5</d4p1:StreetNumber>
            <d4p1:TimeZoneId>sample string 17</d4p1:TimeZoneId>
            <d4p1:Unit>sample string 11</d4p1:Unit>
          </d4p1:Address>
          <d4p1:Description>sample string 3</d4p1:Description>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:Agency>
        <d4p1:Agency>
          <d4p1:Address>
            <d4p1:AtStreet>sample string 7</d4p1:AtStreet>
            <d4p1:Category>sample string 2</d4p1:Category>
            <d4p1:CategoryId>sample string 3</d4p1:CategoryId>
            <d4p1:City>sample string 8</d4p1:City>
            <d4p1:Comments>sample string 12</d4p1:Comments>
            <d4p1:Contact>
              <d4p1:Comments>sample string 6</d4p1:Comments>
              <d4p1:ContactType>sample string 3</d4p1:ContactType>
              <d4p1:Details>
                <d4p1:ContactDetail>
                  <d4p1:ContactString>sample string 2</d4p1:ContactString>
                  <d4p1:ID>1</d4p1:ID>
                  <d4p1:IsPreferred>true</d4p1:IsPreferred>
                  <d4p1:Type>
                    <d4p1:Code>sample string 1</d4p1:Code>
                    <d4p1:Name>sample string 2</d4p1:Name>
                    <d4p1:Type>Phone</d4p1:Type>
                  </d4p1:Type>
                </d4p1:ContactDetail>
                <d4p1:ContactDetail>
                  <d4p1:ContactString>sample string 2</d4p1:ContactString>
                  <d4p1:ID>1</d4p1:ID>
                  <d4p1:IsPreferred>true</d4p1:IsPreferred>
                  <d4p1:Type>
                    <d4p1:Code>sample string 1</d4p1:Code>
                    <d4p1:Name>sample string 2</d4p1:Name>
                    <d4p1:Type>Phone</d4p1:Type>
                  </d4p1:Type>
                </d4p1:ContactDetail>
              </d4p1:Details>
              <d4p1:FirstName>sample string 4</d4p1:FirstName>
              <d4p1:ID>1</d4p1:ID>
              <d4p1:LastName>sample string 5</d4p1:LastName>
              <d4p1:ReferenceId>sample string 2</d4p1:ReferenceId>
            </d4p1:Contact>
            <d4p1:Country>sample string 14</d4p1:Country>
            <d4p1:Description>sample string 1</d4p1:Description>
            <d4p1:ID>1</d4p1:ID>
            <d4p1:InternalType>Location</d4p1:InternalType>
            <d4p1:IsGeocoded>true</d4p1:IsGeocoded>
            <d4p1:ItemType>Location</d4p1:ItemType>
            <d4p1:Latitude>1.1</d4p1:Latitude>
            <d4p1:Longitude>1.1</d4p1:Longitude>
            <d4p1:Name>sample string 4</d4p1:Name>
            <d4p1:OnStreet>sample string 6</d4p1:OnStreet>
            <d4p1:PostalCode>sample string 10</d4p1:PostalCode>
            <d4p1:ProcedureModifier>sample string 16</d4p1:ProcedureModifier>
            <d4p1:State>sample string 9</d4p1:State>
            <d4p1:StopCode>sample string 15</d4p1:StopCode>
            <d4p1:StreetNumber>sample string 5</d4p1:StreetNumber>
            <d4p1:TimeZoneId>sample string 17</d4p1:TimeZoneId>
            <d4p1:Unit>sample string 11</d4p1:Unit>
          </d4p1:Address>
          <d4p1:Description>sample string 3</d4p1:Description>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:Agency>
      </Agencies>
      <AgencyIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </AgencyIds>
      <Description>sample string 6</Description>
      <FundingSource xmlns:d4p1="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
        <d4p1:Address>
          <d4p1:AtStreet>sample string 7</d4p1:AtStreet>
          <d4p1:Category>sample string 2</d4p1:Category>
          <d4p1:CategoryId>sample string 3</d4p1:CategoryId>
          <d4p1:City>sample string 8</d4p1:City>
          <d4p1:Comments>sample string 12</d4p1:Comments>
          <d4p1:Contact>
            <d4p1:Comments>sample string 6</d4p1:Comments>
            <d4p1:ContactType>sample string 3</d4p1:ContactType>
            <d4p1:Details>
              <d4p1:ContactDetail>
                <d4p1:ContactString>sample string 2</d4p1:ContactString>
                <d4p1:ID>1</d4p1:ID>
                <d4p1:IsPreferred>true</d4p1:IsPreferred>
                <d4p1:Type>
                  <d4p1:Code>sample string 1</d4p1:Code>
                  <d4p1:Name>sample string 2</d4p1:Name>
                  <d4p1:Type>Phone</d4p1:Type>
                </d4p1:Type>
              </d4p1:ContactDetail>
              <d4p1:ContactDetail>
                <d4p1:ContactString>sample string 2</d4p1:ContactString>
                <d4p1:ID>1</d4p1:ID>
                <d4p1:IsPreferred>true</d4p1:IsPreferred>
                <d4p1:Type>
                  <d4p1:Code>sample string 1</d4p1:Code>
                  <d4p1:Name>sample string 2</d4p1:Name>
                  <d4p1:Type>Phone</d4p1:Type>
                </d4p1:Type>
              </d4p1:ContactDetail>
            </d4p1:Details>
            <d4p1:FirstName>sample string 4</d4p1:FirstName>
            <d4p1:ID>1</d4p1:ID>
            <d4p1:LastName>sample string 5</d4p1:LastName>
            <d4p1:ReferenceId>sample string 2</d4p1:ReferenceId>
          </d4p1:Contact>
          <d4p1:Country>sample string 14</d4p1:Country>
          <d4p1:Description>sample string 1</d4p1:Description>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:InternalType>Location</d4p1:InternalType>
          <d4p1:IsGeocoded>true</d4p1:IsGeocoded>
          <d4p1:ItemType>Location</d4p1:ItemType>
          <d4p1:Latitude>1.1</d4p1:Latitude>
          <d4p1:Longitude>1.1</d4p1:Longitude>
          <d4p1:Name>sample string 4</d4p1:Name>
          <d4p1:OnStreet>sample string 6</d4p1:OnStreet>
          <d4p1:PostalCode>sample string 10</d4p1:PostalCode>
          <d4p1:ProcedureModifier>sample string 16</d4p1:ProcedureModifier>
          <d4p1:State>sample string 9</d4p1:State>
          <d4p1:StopCode>sample string 15</d4p1:StopCode>
          <d4p1:StreetNumber>sample string 5</d4p1:StreetNumber>
          <d4p1:TimeZoneId>sample string 17</d4p1:TimeZoneId>
          <d4p1:Unit>sample string 11</d4p1:Unit>
        </d4p1:Address>
        <d4p1:Description>sample string 3</d4p1:Description>
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </FundingSource>
      <FundingSourceId>1</FundingSourceId>
      <GroupType>Facility</GroupType>
      <Id>1</Id>
      <Location xmlns:d4p1="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
        <d4p1:AtStreet>sample string 7</d4p1:AtStreet>
        <d4p1:Category>sample string 2</d4p1:Category>
        <d4p1:CategoryId>sample string 3</d4p1:CategoryId>
        <d4p1:City>sample string 8</d4p1:City>
        <d4p1:Comments>sample string 12</d4p1:Comments>
        <d4p1:Contact>
          <d4p1:Comments>sample string 6</d4p1:Comments>
          <d4p1:ContactType>sample string 3</d4p1:ContactType>
          <d4p1:Details>
            <d4p1:ContactDetail>
              <d4p1:ContactString>sample string 2</d4p1:ContactString>
              <d4p1:ID>1</d4p1:ID>
              <d4p1:IsPreferred>true</d4p1:IsPreferred>
              <d4p1:Type>
                <d4p1:Code>sample string 1</d4p1:Code>
                <d4p1:Name>sample string 2</d4p1:Name>
                <d4p1:Type>Phone</d4p1:Type>
              </d4p1:Type>
            </d4p1:ContactDetail>
            <d4p1:ContactDetail>
              <d4p1:ContactString>sample string 2</d4p1:ContactString>
              <d4p1:ID>1</d4p1:ID>
              <d4p1:IsPreferred>true</d4p1:IsPreferred>
              <d4p1:Type>
                <d4p1:Code>sample string 1</d4p1:Code>
                <d4p1:Name>sample string 2</d4p1:Name>
                <d4p1:Type>Phone</d4p1:Type>
              </d4p1:Type>
            </d4p1:ContactDetail>
          </d4p1:Details>
          <d4p1:FirstName>sample string 4</d4p1:FirstName>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:LastName>sample string 5</d4p1:LastName>
          <d4p1:ReferenceId>sample string 2</d4p1:ReferenceId>
        </d4p1:Contact>
        <d4p1:Country>sample string 14</d4p1:Country>
        <d4p1:Description>sample string 1</d4p1:Description>
        <d4p1:ID>1</d4p1:ID>
        <d4p1:InternalType>Location</d4p1:InternalType>
        <d4p1:IsGeocoded>true</d4p1:IsGeocoded>
        <d4p1:ItemType>Location</d4p1:ItemType>
        <d4p1:Latitude>1.1</d4p1:Latitude>
        <d4p1:Longitude>1.1</d4p1:Longitude>
        <d4p1:Name>sample string 4</d4p1:Name>
        <d4p1:OnStreet>sample string 6</d4p1:OnStreet>
        <d4p1:PostalCode>sample string 10</d4p1:PostalCode>
        <d4p1:ProcedureModifier>sample string 16</d4p1:ProcedureModifier>
        <d4p1:State>sample string 9</d4p1:State>
        <d4p1:StopCode>sample string 15</d4p1:StopCode>
        <d4p1:StreetNumber>sample string 5</d4p1:StreetNumber>
        <d4p1:TimeZoneId>sample string 17</d4p1:TimeZoneId>
        <d4p1:Unit>sample string 11</d4p1:Unit>
      </Location>
      <LocationId>1</LocationId>
      <Name>sample string 3</Name>
      <NumClients>7</NumClients>
      <NumDelegates>8</NumDelegates>
      <Phone>sample string 5</Phone>
      <RequiredClientInformation>None</RequiredClientInformation>
      <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>
      <ServiceTypeId>1</ServiceTypeId>
      <ServiceTypeIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </ServiceTypeIds>
      <TenantId>2</TenantId>
    </DelegateGroup>
    <DelegateGroupId>1</DelegateGroupId>
    <Matches>
      <DelegateGroupSearchMatch>
        <MatchType>GroupName</MatchType>
        <MatchValue>sample string 3</MatchValue>
        <MatchedObject />
        <MatchedObjectType>None</MatchedObjectType>
        <Name>sample string 2</Name>
        <ObjectId>1</ObjectId>
      </DelegateGroupSearchMatch>
      <DelegateGroupSearchMatch>
        <MatchType>GroupName</MatchType>
        <MatchValue>sample string 3</MatchValue>
        <MatchedObject />
        <MatchedObjectType>None</MatchedObjectType>
        <Name>sample string 2</Name>
        <ObjectId>1</ObjectId>
      </DelegateGroupSearchMatch>
    </Matches>
  </DelegateGroupSearchResult>
</ArrayOfDelegateGroupSearchResult>