GET api/Sites/SiteOfCountry/{country}
Get All Site in given country
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
country | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SitesName | Description | Type | Additional information |
---|---|---|---|
SiteId | integer |
None. |
|
CompanyId | integer |
None. |
|
Name | string |
None. |
|
Localisation | string |
None. |
|
AppTemplateId | globally unique identifier |
None. |
|
LastChanged | date |
None. |
|
Country | string |
None. |
|
Town | string |
None. |
|
Adress | string |
None. |
|
PostalCode | string |
None. |
|
Phone | string |
None. |
|
string |
None. |
||
Website | string |
None. |
|
LanguageId | integer |
None. |
|
LastChange_AuthorId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SiteId": 1, "CompanyId": 2, "Name": "sample string 3", "Localisation": "sample string 4", "AppTemplateId": "64105a2e-179c-474d-9ce3-c4dc9f13b62f", "LastChanged": "2025-08-14T03:22:29.6804131+00:00", "Country": "sample string 7", "Town": "sample string 8", "Adress": "sample string 9", "PostalCode": "sample string 10", "Phone": "sample string 11", "Mail": "sample string 12", "Website": "sample string 13", "LanguageId": 1, "LastChange_AuthorId": 1 }, { "SiteId": 1, "CompanyId": 2, "Name": "sample string 3", "Localisation": "sample string 4", "AppTemplateId": "64105a2e-179c-474d-9ce3-c4dc9f13b62f", "LastChanged": "2025-08-14T03:22:29.6804131+00:00", "Country": "sample string 7", "Town": "sample string 8", "Adress": "sample string 9", "PostalCode": "sample string 10", "Phone": "sample string 11", "Mail": "sample string 12", "Website": "sample string 13", "LanguageId": 1, "LastChange_AuthorId": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfSites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <Sites> <Adress>sample string 9</Adress> <AppTemplateId>64105a2e-179c-474d-9ce3-c4dc9f13b62f</AppTemplateId> <CompanyId>2</CompanyId> <Country>sample string 7</Country> <LanguageId>1</LanguageId> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-08-14T03:22:29.6804131+00:00</LastChanged> <Localisation>sample string 4</Localisation> <Mail>sample string 12</Mail> <Name>sample string 3</Name> <Phone>sample string 11</Phone> <PostalCode>sample string 10</PostalCode> <SiteId>1</SiteId> <Town>sample string 8</Town> <Website>sample string 13</Website> </Sites> <Sites> <Adress>sample string 9</Adress> <AppTemplateId>64105a2e-179c-474d-9ce3-c4dc9f13b62f</AppTemplateId> <CompanyId>2</CompanyId> <Country>sample string 7</Country> <LanguageId>1</LanguageId> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-08-14T03:22:29.6804131+00:00</LastChanged> <Localisation>sample string 4</Localisation> <Mail>sample string 12</Mail> <Name>sample string 3</Name> <Phone>sample string 11</Phone> <PostalCode>sample string 10</PostalCode> <SiteId>1</SiteId> <Town>sample string 8</Town> <Website>sample string 13</Website> </Sites> </ArrayOfSites>