GET v2/apps/{appId}/tenants/active/near?lat={lat}&lng={lng}&distance={distance}
Retrieves all active Tenants for an Application. Returns Not Found if App doesn't exist or is not a Multi-Tenant App
Request Information
URI Parameters
Name | Type | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
appId | integer |
Application Id to fetch tenants for
Additional Info :
Required |
|||||||||||
lat | decimal number |
Latitude
Additional Info :
Required |
|||||||||||
lng | decimal number |
Longtitude
Additional Info :
Required |
|||||||||||
distance | decimal number |
Distance in (km)
Additional Info :
Required |
Body Parameters
None.
Response Information
Resource Description
TenantPageResponseName | Type | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TotalPage | integer |
Zero Base page total count. |
|||||||||||
TotalRecords | integer |
Total record in the database count. |
|||||||||||
List | Collection of TenantResponse |
List of the current request |
Response Formats
{ "totalPage": 1, "totalRecords": 2, "list": [ { "id": 1, "appId": 2, "displayName": "sample string 3", "iconUrl": "sample string 4", "iconUrl32x32": "sample string 5", "splashUrl": "sample string 6", "url": "sample string 7", "disabled": true, "hidden": true, "displayOrder": 10, "createDate": "2025-01-13T22:49:32.4671872Z", "footerUrl": "sample string 12", "shareContent": "sample string 13", "branchUrl": "sample string 14", "description": "sample string 15", "facebookLink": "sample string 16", "twitterLink": "sample string 17", "linkedInLink": "sample string 18", "googlePlus": "sample string 19", "phone": "sample string 20", "supportEmail": "sample string 21", "supportSite": "sample string 22", "ionicTemplateId": "sample string 23", "source": "sample string 24", "category": "sample string 25" }, { "id": 1, "appId": 2, "displayName": "sample string 3", "iconUrl": "sample string 4", "iconUrl32x32": "sample string 5", "splashUrl": "sample string 6", "url": "sample string 7", "disabled": true, "hidden": true, "displayOrder": 10, "createDate": "2025-01-13T22:49:32.4671872Z", "footerUrl": "sample string 12", "shareContent": "sample string 13", "branchUrl": "sample string 14", "description": "sample string 15", "facebookLink": "sample string 16", "twitterLink": "sample string 17", "linkedInLink": "sample string 18", "googlePlus": "sample string 19", "phone": "sample string 20", "supportEmail": "sample string 21", "supportSite": "sample string 22", "ionicTemplateId": "sample string 23", "source": "sample string 24", "category": "sample string 25" } ] }
<TenantPageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppNotch.Converter.Api.Server.Models"> <List> <TenantResponse> <AppId>2</AppId> <BranchUrl>sample string 14</BranchUrl> <Category>sample string 25</Category> <CreateDate>2025-01-13T22:49:32.4671872+00:00</CreateDate> <Description>sample string 15</Description> <Disabled>true</Disabled> <DisplayName>sample string 3</DisplayName> <DisplayOrder>10</DisplayOrder> <FacebookLink>sample string 16</FacebookLink> <FooterUrl>sample string 12</FooterUrl> <GooglePlus>sample string 19</GooglePlus> <Hidden>true</Hidden> <IconUrl>sample string 4</IconUrl> <IconUrl32x32>sample string 5</IconUrl32x32> <Id>1</Id> <IonicTemplateId>sample string 23</IonicTemplateId> <LinkedInLink>sample string 18</LinkedInLink> <Phone>sample string 20</Phone> <ShareContent>sample string 13</ShareContent> <Source>sample string 24</Source> <SplashUrl>sample string 6</SplashUrl> <SupportEmail>sample string 21</SupportEmail> <SupportSite>sample string 22</SupportSite> <TwitterLink>sample string 17</TwitterLink> <Url>sample string 7</Url> </TenantResponse> <TenantResponse> <AppId>2</AppId> <BranchUrl>sample string 14</BranchUrl> <Category>sample string 25</Category> <CreateDate>2025-01-13T22:49:32.4671872+00:00</CreateDate> <Description>sample string 15</Description> <Disabled>true</Disabled> <DisplayName>sample string 3</DisplayName> <DisplayOrder>10</DisplayOrder> <FacebookLink>sample string 16</FacebookLink> <FooterUrl>sample string 12</FooterUrl> <GooglePlus>sample string 19</GooglePlus> <Hidden>true</Hidden> <IconUrl>sample string 4</IconUrl> <IconUrl32x32>sample string 5</IconUrl32x32> <Id>1</Id> <IonicTemplateId>sample string 23</IonicTemplateId> <LinkedInLink>sample string 18</LinkedInLink> <Phone>sample string 20</Phone> <ShareContent>sample string 13</ShareContent> <Source>sample string 24</Source> <SplashUrl>sample string 6</SplashUrl> <SupportEmail>sample string 21</SupportEmail> <SupportSite>sample string 22</SupportSite> <TwitterLink>sample string 17</TwitterLink> <Url>sample string 7</Url> </TenantResponse> </List> <TotalPage>1</TotalPage> <TotalRecords>2</TotalRecords> </TenantPageResponse>