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": "324d24f7-44e0-48be-900c-4c3429f868f8",
"TypeId": 1,
"DataJson": "sample string 2",
"ReadDate": "2026-10-10T23:55:32.3527943+00:00",
"CreateDate": "2026-10-10T23:55:32.3527943+00:00"
},
{
"Id": "324d24f7-44e0-48be-900c-4c3429f868f8",
"TypeId": 1,
"DataJson": "sample string 2",
"ReadDate": "2026-10-10T23:55:32.3527943+00:00",
"CreateDate": "2026-10-10T23:55:32.3527943+00:00"
}
]
text/html
Sample:
[{"Id":"324d24f7-44e0-48be-900c-4c3429f868f8","TypeId":1,"DataJson":"sample string 2","ReadDate":"2026-10-10T23:55:32.3527943+00:00","CreateDate":"2026-10-10T23:55:32.3527943+00:00"},{"Id":"324d24f7-44e0-48be-900c-4c3429f868f8","TypeId":1,"DataJson":"sample string 2","ReadDate":"2026-10-10T23:55:32.3527943+00:00","CreateDate":"2026-10-10T23:55:32.3527943+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-10-10T23:55:32.3527943+00:00</CreateDate>
<DataJson>sample string 2</DataJson>
<Id>324d24f7-44e0-48be-900c-4c3429f868f8</Id>
<ReadDate>2026-10-10T23:55:32.3527943+00:00</ReadDate>
<TypeId>Matching</TypeId>
</MessageModel>
<MessageModel>
<CreateDate>2026-10-10T23:55:32.3527943+00:00</CreateDate>
<DataJson>sample string 2</DataJson>
<Id>324d24f7-44e0-48be-900c-4c3429f868f8</Id>
<ReadDate>2026-10-10T23:55:32.3527943+00:00</ReadDate>
<TypeId>Matching</TypeId>
</MessageModel>
</ArrayOfMessageModel>