GET api/Groups/OfCompany/{companyId}

Get Groups of targetcompanyId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Group
NameDescriptionTypeAdditional information
GroupId

integer

None.

Name

string

None.

CompanyId

integer

None.

Description

string

None.

DefaultHexaColor

string

None.

LastChanged_AuthorId

integer

None.

LastChanged

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GroupId": 1,
    "Name": "sample string 2",
    "CompanyId": 3,
    "Description": "sample string 4",
    "DefaultHexaColor": "sample string 5",
    "LastChanged_AuthorId": 1,
    "LastChanged": "2025-08-14T03:21:51.4413084+00:00"
  },
  {
    "GroupId": 1,
    "Name": "sample string 2",
    "CompanyId": 3,
    "Description": "sample string 4",
    "DefaultHexaColor": "sample string 5",
    "LastChanged_AuthorId": 1,
    "LastChanged": "2025-08-14T03:21:51.4413084+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <Group>
    <CompanyId>3</CompanyId>
    <DefaultHexaColor>sample string 5</DefaultHexaColor>
    <Description>sample string 4</Description>
    <GroupId>1</GroupId>
    <LastChanged>2025-08-14T03:21:51.4413084+00:00</LastChanged>
    <LastChanged_AuthorId>1</LastChanged_AuthorId>
    <Name>sample string 2</Name>
  </Group>
  <Group>
    <CompanyId>3</CompanyId>
    <DefaultHexaColor>sample string 5</DefaultHexaColor>
    <Description>sample string 4</Description>
    <GroupId>1</GroupId>
    <LastChanged>2025-08-14T03:21:51.4413084+00:00</LastChanged>
    <LastChanged_AuthorId>1</LastChanged_AuthorId>
    <Name>sample string 2</Name>
  </Group>
</ArrayOfGroup>