POST api/MessagesAdmin
Request Information
URI Parameters
None.
Body Parameters
MessageCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TypeId | MessageTypeEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"TypeId": 1
}
text/html
Sample:
{"TypeId":1}
application/xml, text/xml
Sample:
<MessageCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StarJob.Bll.Messages.Models"> <TypeId>Matching</TypeId> </MessageCreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of MessageModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| TypeId | MessageTypeEnum |
None. |
|
| DataJson | string |
None. |
|
| ReadDate | date |
None. |
|
| CreateDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "14fe68fc-4f11-4f20-adf7-4d8b295740ac",
"TypeId": 1,
"DataJson": "sample string 2",
"ReadDate": "2026-04-10T23:09:45.3141261+00:00",
"CreateDate": "2026-04-10T23:09:45.3141261+00:00"
},
{
"Id": "14fe68fc-4f11-4f20-adf7-4d8b295740ac",
"TypeId": 1,
"DataJson": "sample string 2",
"ReadDate": "2026-04-10T23:09:45.3141261+00:00",
"CreateDate": "2026-04-10T23:09:45.3141261+00:00"
}
]
text/html
Sample:
[{"Id":"14fe68fc-4f11-4f20-adf7-4d8b295740ac","TypeId":1,"DataJson":"sample string 2","ReadDate":"2026-04-10T23:09:45.3141261+00:00","CreateDate":"2026-04-10T23:09:45.3141261+00:00"},{"Id":"14fe68fc-4f11-4f20-adf7-4d8b295740ac","TypeId":1,"DataJson":"sample string 2","ReadDate":"2026-04-10T23:09:45.3141261+00:00","CreateDate":"2026-04-10T23:09:45.3141261+00:00"}]
application/xml, text/xml
Sample:
<ArrayOfMessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StarJob.Bll.Messages.Models">
<MessageModel>
<CreateDate>2026-04-10T23:09:45.3141261+00:00</CreateDate>
<DataJson>sample string 2</DataJson>
<Id>14fe68fc-4f11-4f20-adf7-4d8b295740ac</Id>
<ReadDate>2026-04-10T23:09:45.3141261+00:00</ReadDate>
<TypeId>Matching</TypeId>
</MessageModel>
<MessageModel>
<CreateDate>2026-04-10T23:09:45.3141261+00:00</CreateDate>
<DataJson>sample string 2</DataJson>
<Id>14fe68fc-4f11-4f20-adf7-4d8b295740ac</Id>
<ReadDate>2026-04-10T23:09:45.3141261+00:00</ReadDate>
<TypeId>Matching</TypeId>
</MessageModel>
</ArrayOfMessageModel>