POST v1/NotificationMessage
Request Information
URI Parameters
None.
Body Parameters
NotificationMessageViewModelName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
Body | string |
None. |
|
EventGuid | globally unique identifier |
None. |
|
NotificationTopicGuid | globally unique identifier |
None. |
|
SendDT | date |
None. |
|
IsSent | boolean |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Title": "sample string 1", "Body": "sample string 2", "EventGuid": "7bcfa049-56ff-4b59-ada6-3570875d3269", "NotificationTopicGuid": "8465e30e-4703-4a4f-aa30-b5916ac7ec6f", "SendDT": "2025-03-12T11:09:15.1016663+00:00", "IsSent": true, "Guid": "7845dbb5-b58b-42cc-a07d-8009c18d0a03", "Created": "2025-03-12T11:09:15.1016663+00:00", "Modified": "2025-03-12T11:09:15.1016663+00:00", "Deleted": "2025-03-12T11:09:15.1016663+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Title":"sample string 1","Body":"sample string 2","EventGuid":"7bcfa049-56ff-4b59-ada6-3570875d3269","NotificationTopicGuid":"8465e30e-4703-4a4f-aa30-b5916ac7ec6f","SendDT":"2025-03-12T11:09:15.1016663+00:00","IsSent":true,"Guid":"7845dbb5-b58b-42cc-a07d-8009c18d0a03","Created":"2025-03-12T11:09:15.1016663+00:00","Modified":"2025-03-12T11:09:15.1016663+00:00","Deleted":"2025-03-12T11:09:15.1016663+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<NotificationMessageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:09:15.1016663+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:09:15.1016663+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">7845dbb5-b58b-42cc-a07d-8009c18d0a03</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:09:15.1016663+00:00</Modified> <Body>sample string 2</Body> <EventGuid>7bcfa049-56ff-4b59-ada6-3570875d3269</EventGuid> <IsSent>true</IsSent> <NotificationTopicGuid>8465e30e-4703-4a4f-aa30-b5916ac7ec6f</NotificationTopicGuid> <SendDT>2025-03-12T11:09:15.1016663+00:00</SendDT> <Title>sample string 1</Title> </NotificationMessageViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NotificationMessageViewModelName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
Body | string |
None. |
|
EventGuid | globally unique identifier |
None. |
|
NotificationTopicGuid | globally unique identifier |
None. |
|
SendDT | date |
None. |
|
IsSent | boolean |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Title": "sample string 1", "Body": "sample string 2", "EventGuid": "3bce79e3-6e06-47ce-be4f-1c73b7d429c0", "NotificationTopicGuid": "f81f288f-a8db-4476-a5cb-65f0697951ef", "SendDT": "2025-03-12T11:09:15.1016663+00:00", "IsSent": true, "Guid": "626bea81-427c-43f2-9d82-843eb988de78", "Created": "2025-03-12T11:09:15.1016663+00:00", "Modified": "2025-03-12T11:09:15.1016663+00:00", "Deleted": "2025-03-12T11:09:15.1016663+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Title":"sample string 1","Body":"sample string 2","EventGuid":"3bce79e3-6e06-47ce-be4f-1c73b7d429c0","NotificationTopicGuid":"f81f288f-a8db-4476-a5cb-65f0697951ef","SendDT":"2025-03-12T11:09:15.1016663+00:00","IsSent":true,"Guid":"626bea81-427c-43f2-9d82-843eb988de78","Created":"2025-03-12T11:09:15.1016663+00:00","Modified":"2025-03-12T11:09:15.1016663+00:00","Deleted":"2025-03-12T11:09:15.1016663+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<NotificationMessageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:09:15.1016663+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:09:15.1016663+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">626bea81-427c-43f2-9d82-843eb988de78</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:09:15.1016663+00:00</Modified> <Body>sample string 2</Body> <EventGuid>3bce79e3-6e06-47ce-be4f-1c73b7d429c0</EventGuid> <IsSent>true</IsSent> <NotificationTopicGuid>f81f288f-a8db-4476-a5cb-65f0697951ef</NotificationTopicGuid> <SendDT>2025-03-12T11:09:15.1016663+00:00</SendDT> <Title>sample string 1</Title> </NotificationMessageViewModel>