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": "4359eb42-d179-4d9a-9a09-798237714ca6",
"TypeId": 1,
"DataJson": "sample string 2",
"ReadDate": "2025-11-07T19:45:03.1649814+00:00",
"CreateDate": "2025-11-07T19:45:03.1649814+00:00"
},
{
"Id": "4359eb42-d179-4d9a-9a09-798237714ca6",
"TypeId": 1,
"DataJson": "sample string 2",
"ReadDate": "2025-11-07T19:45:03.1649814+00:00",
"CreateDate": "2025-11-07T19:45:03.1649814+00:00"
}
]
text/html
Sample:
[{"Id":"4359eb42-d179-4d9a-9a09-798237714ca6","TypeId":1,"DataJson":"sample string 2","ReadDate":"2025-11-07T19:45:03.1649814+00:00","CreateDate":"2025-11-07T19:45:03.1649814+00:00"},{"Id":"4359eb42-d179-4d9a-9a09-798237714ca6","TypeId":1,"DataJson":"sample string 2","ReadDate":"2025-11-07T19:45:03.1649814+00:00","CreateDate":"2025-11-07T19:45:03.1649814+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>2025-11-07T19:45:03.1649814+00:00</CreateDate>
<DataJson>sample string 2</DataJson>
<Id>4359eb42-d179-4d9a-9a09-798237714ca6</Id>
<ReadDate>2025-11-07T19:45:03.1649814+00:00</ReadDate>
<TypeId>Matching</TypeId>
</MessageModel>
<MessageModel>
<CreateDate>2025-11-07T19:45:03.1649814+00:00</CreateDate>
<DataJson>sample string 2</DataJson>
<Id>4359eb42-d179-4d9a-9a09-798237714ca6</Id>
<ReadDate>2025-11-07T19:45:03.1649814+00:00</ReadDate>
<TypeId>Matching</TypeId>
</MessageModel>
</ArrayOfMessageModel>