GET api/Sites/SitesOfCompany/{companyId}
Get All Site of Company
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Sites| Name | 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": "87a56113-360b-4f92-b959-bdf848ab834e",
"LastChanged": "2025-12-24T16:43:43.2687318+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": "87a56113-360b-4f92-b959-bdf848ab834e",
"LastChanged": "2025-12-24T16:43:43.2687318+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>87a56113-360b-4f92-b959-bdf848ab834e</AppTemplateId>
<CompanyId>2</CompanyId>
<Country>sample string 7</Country>
<LanguageId>1</LanguageId>
<LastChange_AuthorId>1</LastChange_AuthorId>
<LastChanged>2025-12-24T16:43:43.2687318+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>87a56113-360b-4f92-b959-bdf848ab834e</AppTemplateId>
<CompanyId>2</CompanyId>
<Country>sample string 7</Country>
<LanguageId>1</LanguageId>
<LastChange_AuthorId>1</LastChange_AuthorId>
<LastChanged>2025-12-24T16:43:43.2687318+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>