POST api/Messages
Request Information
URI Parameters
None.
Body Parameters
Messages| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageId | integer |
None. |
|
| EmployesId | integer |
None. |
|
| Txt | string |
None. |
|
| PublishDate | date |
None. |
|
| PublishTime | time interval |
None. |
|
| GroupChatId | integer |
None. |
|
| LastChanged | date |
None. |
|
| LastChange_AuthorId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"MessageId": 1,
"EmployesId": 2,
"Txt": "sample string 3",
"PublishDate": "2025-12-27T02:24:47.4983396+00:00",
"PublishTime": "00:00:00.1234567",
"GroupChatId": 6,
"LastChanged": "2025-12-27T02:24:47.4983396+00:00",
"LastChange_AuthorId": 1
}
application/xml, text/xml
Sample:
<Messages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <EmployesId>2</EmployesId> <GroupChatId>6</GroupChatId> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-12-27T02:24:47.4983396+00:00</LastChanged> <MessageId>1</MessageId> <PublishDate>2025-12-27T02:24:47.4983396+00:00</PublishDate> <PublishTime>PT0.1234567S</PublishTime> <Txt>sample string 3</Txt> </Messages>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Messages| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageId | integer |
None. |
|
| EmployesId | integer |
None. |
|
| Txt | string |
None. |
|
| PublishDate | date |
None. |
|
| PublishTime | time interval |
None. |
|
| GroupChatId | integer |
None. |
|
| LastChanged | date |
None. |
|
| LastChange_AuthorId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"MessageId": 1,
"EmployesId": 2,
"Txt": "sample string 3",
"PublishDate": "2025-12-27T02:24:47.4983396+00:00",
"PublishTime": "00:00:00.1234567",
"GroupChatId": 6,
"LastChanged": "2025-12-27T02:24:47.4983396+00:00",
"LastChange_AuthorId": 1
}
application/xml, text/xml
Sample:
<Messages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <EmployesId>2</EmployesId> <GroupChatId>6</GroupChatId> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-12-27T02:24:47.4983396+00:00</LastChanged> <MessageId>1</MessageId> <PublishDate>2025-12-27T02:24:47.4983396+00:00</PublishDate> <PublishTime>PT0.1234567S</PublishTime> <Txt>sample string 3</Txt> </Messages>