POST api/Groups

Request Information

URI Parameters

None.

Body Parameters

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.

Request 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:23:33.0963793+00:00"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Group'.

Response Information

Resource Description

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:23:33.0963793+00:00"
}

application/xml, text/xml

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