GET api/v3/Connect/ListDepartments?latitude={latitude}&longitude={longitude}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
latitude

string

None.

longitude

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DepartmentProfile
NameDescriptionTypeAdditional information
ProfileId

integer

None.

Did

integer

None.

Name

string

None.

ShortName

string

None.

Description

string

None.

InCaseOfEmergency

string

None.

ServiceArea

string

None.

ServicesProvided

string

None.

Founded

date

None.

Logo

Collection of byte

None.

Keywords

string

None.

InviteOnly

boolean

None.

AllowMessages

boolean

None.

VolunteerPositionsAvailable

boolean

None.

ShareStats

boolean

None.

VolunteerKeywords

string

None.

VolunteerDescription

string

None.

VolunteerContactName

string

None.

VolunteerContactInfo

string

None.

Geofence

string

None.

Address

Address

None.

Latitude

string

None.

Longitude

string

None.

What3Words

string

None.

Facebook

string

None.

Twitter

string

None.

GooglePlus

string

None.

LinkedIn

string

None.

Instagram

string

None.

YouTube

string

None.

Website

string

None.

PhoneNumber

string

None.

Following

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProfileId": 1,
    "Did": 2,
    "Name": "sample string 3",
    "ShortName": "sample string 4",
    "Description": "sample string 5",
    "InCaseOfEmergency": "sample string 6",
    "ServiceArea": "sample string 7",
    "ServicesProvided": "sample string 8",
    "Founded": "2017-12-14T00:21:47.3700548+00:00",
    "Logo": "QEA=",
    "Keywords": "sample string 9",
    "InviteOnly": true,
    "AllowMessages": true,
    "VolunteerPositionsAvailable": true,
    "ShareStats": true,
    "VolunteerKeywords": "sample string 14",
    "VolunteerDescription": "sample string 15",
    "VolunteerContactName": "sample string 16",
    "VolunteerContactInfo": "sample string 17",
    "Geofence": "sample string 18",
    "Address": null,
    "Latitude": "sample string 19",
    "Longitude": "sample string 20",
    "What3Words": "sample string 21",
    "Facebook": "sample string 22",
    "Twitter": "sample string 23",
    "GooglePlus": "sample string 24",
    "LinkedIn": "sample string 25",
    "Instagram": "sample string 26",
    "YouTube": "sample string 27",
    "Website": "sample string 28",
    "PhoneNumber": "sample string 29",
    "Following": true
  },
  {
    "ProfileId": 1,
    "Did": 2,
    "Name": "sample string 3",
    "ShortName": "sample string 4",
    "Description": "sample string 5",
    "InCaseOfEmergency": "sample string 6",
    "ServiceArea": "sample string 7",
    "ServicesProvided": "sample string 8",
    "Founded": "2017-12-14T00:21:47.3700548+00:00",
    "Logo": "QEA=",
    "Keywords": "sample string 9",
    "InviteOnly": true,
    "AllowMessages": true,
    "VolunteerPositionsAvailable": true,
    "ShareStats": true,
    "VolunteerKeywords": "sample string 14",
    "VolunteerDescription": "sample string 15",
    "VolunteerContactName": "sample string 16",
    "VolunteerContactInfo": "sample string 17",
    "Geofence": "sample string 18",
    "Address": null,
    "Latitude": "sample string 19",
    "Longitude": "sample string 20",
    "What3Words": "sample string 21",
    "Facebook": "sample string 22",
    "Twitter": "sample string 23",
    "GooglePlus": "sample string 24",
    "LinkedIn": "sample string 25",
    "Instagram": "sample string 26",
    "YouTube": "sample string 27",
    "Website": "sample string 28",
    "PhoneNumber": "sample string 29",
    "Following": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfDepartmentProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Connect">
  <DepartmentProfile>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/Resgrid.Model" i:nil="true" />
    <AllowMessages>true</AllowMessages>
    <Description>sample string 5</Description>
    <Did>2</Did>
    <Facebook>sample string 22</Facebook>
    <Following>true</Following>
    <Founded>2017-12-14T00:21:47.3700548+00:00</Founded>
    <Geofence>sample string 18</Geofence>
    <GooglePlus>sample string 24</GooglePlus>
    <InCaseOfEmergency>sample string 6</InCaseOfEmergency>
    <Instagram>sample string 26</Instagram>
    <InviteOnly>true</InviteOnly>
    <Keywords>sample string 9</Keywords>
    <Latitude>sample string 19</Latitude>
    <LinkedIn>sample string 25</LinkedIn>
    <Logo>QEA=</Logo>
    <Longitude>sample string 20</Longitude>
    <Name>sample string 3</Name>
    <PhoneNumber>sample string 29</PhoneNumber>
    <ProfileId>1</ProfileId>
    <ServiceArea>sample string 7</ServiceArea>
    <ServicesProvided>sample string 8</ServicesProvided>
    <ShareStats>true</ShareStats>
    <ShortName>sample string 4</ShortName>
    <Twitter>sample string 23</Twitter>
    <VolunteerContactInfo>sample string 17</VolunteerContactInfo>
    <VolunteerContactName>sample string 16</VolunteerContactName>
    <VolunteerDescription>sample string 15</VolunteerDescription>
    <VolunteerKeywords>sample string 14</VolunteerKeywords>
    <VolunteerPositionsAvailable>true</VolunteerPositionsAvailable>
    <Website>sample string 28</Website>
    <What3Words>sample string 21</What3Words>
    <YouTube>sample string 27</YouTube>
  </DepartmentProfile>
  <DepartmentProfile>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/Resgrid.Model" i:nil="true" />
    <AllowMessages>true</AllowMessages>
    <Description>sample string 5</Description>
    <Did>2</Did>
    <Facebook>sample string 22</Facebook>
    <Following>true</Following>
    <Founded>2017-12-14T00:21:47.3700548+00:00</Founded>
    <Geofence>sample string 18</Geofence>
    <GooglePlus>sample string 24</GooglePlus>
    <InCaseOfEmergency>sample string 6</InCaseOfEmergency>
    <Instagram>sample string 26</Instagram>
    <InviteOnly>true</InviteOnly>
    <Keywords>sample string 9</Keywords>
    <Latitude>sample string 19</Latitude>
    <LinkedIn>sample string 25</LinkedIn>
    <Logo>QEA=</Logo>
    <Longitude>sample string 20</Longitude>
    <Name>sample string 3</Name>
    <PhoneNumber>sample string 29</PhoneNumber>
    <ProfileId>1</ProfileId>
    <ServiceArea>sample string 7</ServiceArea>
    <ServicesProvided>sample string 8</ServicesProvided>
    <ShareStats>true</ShareStats>
    <ShortName>sample string 4</ShortName>
    <Twitter>sample string 23</Twitter>
    <VolunteerContactInfo>sample string 17</VolunteerContactInfo>
    <VolunteerContactName>sample string 16</VolunteerContactName>
    <VolunteerDescription>sample string 15</VolunteerDescription>
    <VolunteerKeywords>sample string 14</VolunteerKeywords>
    <VolunteerPositionsAvailable>true</VolunteerPositionsAvailable>
    <Website>sample string 28</Website>
    <What3Words>sample string 21</What3Words>
    <YouTube>sample string 27</YouTube>
  </DepartmentProfile>
</ArrayOfDepartmentProfile>