GET api/Companies/CompaniesWithCategory/{categoryId}

Get All Companies with given categoryId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Companies
NameDescriptionTypeAdditional information
CompanyId

integer

None.

OfferId

integer

None.

StripeId

string

None.

Name

string

None.

TotalUsers

integer

None.

TotalSites

integer

None.

SuperAdminId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

StatTemplateId

globally unique identifier

None.

CreationDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CompanyId": 1,
    "OfferId": 2,
    "StripeId": "sample string 3",
    "Name": "sample string 4",
    "TotalUsers": 5,
    "TotalSites": 6,
    "SuperAdminId": 1,
    "LastChanged": "2025-08-14T03:21:56.8011051+00:00",
    "LastChange_AuthorId": 1,
    "StatTemplateId": "87606017-0c5f-4709-a587-eabf722bddad",
    "CreationDate": "2025-08-14T03:21:56.8011051+00:00"
  },
  {
    "CompanyId": 1,
    "OfferId": 2,
    "StripeId": "sample string 3",
    "Name": "sample string 4",
    "TotalUsers": 5,
    "TotalSites": 6,
    "SuperAdminId": 1,
    "LastChanged": "2025-08-14T03:21:56.8011051+00:00",
    "LastChange_AuthorId": 1,
    "StatTemplateId": "87606017-0c5f-4709-a587-eabf722bddad",
    "CreationDate": "2025-08-14T03:21:56.8011051+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanies xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <Companies>
    <CompanyId>1</CompanyId>
    <CreationDate>2025-08-14T03:21:56.8011051+00:00</CreationDate>
    <LastChange_AuthorId>1</LastChange_AuthorId>
    <LastChanged>2025-08-14T03:21:56.8011051+00:00</LastChanged>
    <Name>sample string 4</Name>
    <OfferId>2</OfferId>
    <StatTemplateId>87606017-0c5f-4709-a587-eabf722bddad</StatTemplateId>
    <StripeId>sample string 3</StripeId>
    <SuperAdminId>1</SuperAdminId>
    <TotalSites>6</TotalSites>
    <TotalUsers>5</TotalUsers>
  </Companies>
  <Companies>
    <CompanyId>1</CompanyId>
    <CreationDate>2025-08-14T03:21:56.8011051+00:00</CreationDate>
    <LastChange_AuthorId>1</LastChange_AuthorId>
    <LastChanged>2025-08-14T03:21:56.8011051+00:00</LastChanged>
    <Name>sample string 4</Name>
    <OfferId>2</OfferId>
    <StatTemplateId>87606017-0c5f-4709-a587-eabf722bddad</StatTemplateId>
    <StripeId>sample string 3</StripeId>
    <SuperAdminId>1</SuperAdminId>
    <TotalSites>6</TotalSites>
    <TotalUsers>5</TotalUsers>
  </Companies>
</ArrayOfCompanies>