POST api/MessagesAdmin
Request Information
URI Parameters
None.
Body Parameters
MessageCreateModelName | 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 MessageModelName | 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": "90b4c7dd-4ebb-4e94-bec5-9be163f2cffa", "TypeId": 1, "DataJson": "sample string 2", "ReadDate": "2025-04-30T06:02:40.6794466+00:00", "CreateDate": "2025-04-30T06:02:40.6794466+00:00" }, { "Id": "90b4c7dd-4ebb-4e94-bec5-9be163f2cffa", "TypeId": 1, "DataJson": "sample string 2", "ReadDate": "2025-04-30T06:02:40.6794466+00:00", "CreateDate": "2025-04-30T06:02:40.6794466+00:00" } ]
text/html
Sample:
[{"Id":"90b4c7dd-4ebb-4e94-bec5-9be163f2cffa","TypeId":1,"DataJson":"sample string 2","ReadDate":"2025-04-30T06:02:40.6794466+00:00","CreateDate":"2025-04-30T06:02:40.6794466+00:00"},{"Id":"90b4c7dd-4ebb-4e94-bec5-9be163f2cffa","TypeId":1,"DataJson":"sample string 2","ReadDate":"2025-04-30T06:02:40.6794466+00:00","CreateDate":"2025-04-30T06:02:40.6794466+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-04-30T06:02:40.6794466+00:00</CreateDate> <DataJson>sample string 2</DataJson> <Id>90b4c7dd-4ebb-4e94-bec5-9be163f2cffa</Id> <ReadDate>2025-04-30T06:02:40.6794466+00:00</ReadDate> <TypeId>Matching</TypeId> </MessageModel> <MessageModel> <CreateDate>2025-04-30T06:02:40.6794466+00:00</CreateDate> <DataJson>sample string 2</DataJson> <Id>90b4c7dd-4ebb-4e94-bec5-9be163f2cffa</Id> <ReadDate>2025-04-30T06:02:40.6794466+00:00</ReadDate> <TypeId>Matching</TypeId> </MessageModel> </ArrayOfMessageModel>