POST api/Groupchats

Request Information

URI Parameters

None.

Body Parameters

GroupChat
NameDescriptionTypeAdditional information
GroupChatId

integer

None.

CreationDate

date

None.

TotalUsers

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupChatId": 1,
  "CreationDate": "2025-08-14T03:16:40.3812155+00:00",
  "TotalUsers": 3,
  "LastChanged": "2025-08-14T03:16:40.3812155+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<GroupChat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CreationDate>2025-08-14T03:16:40.3812155+00:00</CreationDate>
  <GroupChatId>1</GroupChatId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:16:40.3812155+00:00</LastChanged>
  <TotalUsers>3</TotalUsers>
</GroupChat>

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 'GroupChat'.

Response Information

Resource Description

GroupChat
NameDescriptionTypeAdditional information
GroupChatId

integer

None.

CreationDate

date

None.

TotalUsers

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "GroupChatId": 1,
  "CreationDate": "2025-08-14T03:16:40.3812155+00:00",
  "TotalUsers": 3,
  "LastChanged": "2025-08-14T03:16:40.3812155+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<GroupChat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CreationDate>2025-08-14T03:16:40.3812155+00:00</CreationDate>
  <GroupChatId>1</GroupChatId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:16:40.3812155+00:00</LastChanged>
  <TotalUsers>3</TotalUsers>
</GroupChat>