POST api/Me/PostMessage
Create new Message With MeEmploye As Author
Request Information
URI Parameters
None.
Body Parameters
MessagesName | 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-08-14T03:23:39.6565704+00:00", "PublishTime": "00:00:00.1234567", "GroupChatId": 6, "LastChanged": "2025-08-14T03:23:39.6565704+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-08-14T03:23:39.6565704+00:00</LastChanged> <MessageId>1</MessageId> <PublishDate>2025-08-14T03:23:39.6565704+00:00</PublishDate> <PublishTime>PT0.1234567S</PublishTime> <Txt>sample string 3</Txt> </Messages>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MessagesName | 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-08-14T03:23:39.6565704+00:00", "PublishTime": "00:00:00.1234567", "GroupChatId": 6, "LastChanged": "2025-08-14T03:23:39.6565704+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-08-14T03:23:39.6565704+00:00</LastChanged> <MessageId>1</MessageId> <PublishDate>2025-08-14T03:23:39.6565704+00:00</PublishDate> <PublishTime>PT0.1234567S</PublishTime> <Txt>sample string 3</Txt> </Messages>