POST api/v2/Version2.Notifications
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
ListNotificationsInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LoginUserID | string |
None. |
|
| AuthenticationKey | string |
None. |
|
| DeviceType | string |
None. |
|
| DeviceToken | string |
None. |
|
| ProgramID | string |
None. |
|
| MCRoleID | string |
None. |
|
| NotificationType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LoginUserID": "sample string 1",
"AuthenticationKey": "sample string 2",
"DeviceType": "sample string 3",
"DeviceToken": "sample string 4",
"ProgramID": "sample string 5",
"MCRoleID": "sample string 6",
"NotificationType": "sample string 7"
}
application/xml, text/xml
Sample:
<MCObjects.ListNotificationsInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MC.Entity.v2"> <AuthenticationKey>sample string 2</AuthenticationKey> <DeviceToken>sample string 4</DeviceToken> <DeviceType>sample string 3</DeviceType> <LoginUserID>sample string 1</LoginUserID> <MCRoleID>sample string 6</MCRoleID> <NotificationType>sample string 7</NotificationType> <ProgramID>sample string 5</ProgramID> </MCObjects.ListNotificationsInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
NotificationsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | string |
None. |
|
| ListNotifications | Collection of NotificationsListModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": "sample string 1",
"ListNotifications": [
{
"NotificationId": "sample string 1",
"Title": "sample string 2",
"TextMsg": "sample string 3",
"EventDate": "sample string 4",
"ExpiryDate": "sample string 5",
"Attachment": "sample string 6",
"Recipients": [
{
"NotificationLogID": "sample string 1",
"NotificationID": "sample string 2",
"MCUserID": "sample string 3",
"FullName": "sample string 4",
"Username": "sample string 5",
"PhotoPath": "sample string 6"
},
{
"NotificationLogID": "sample string 1",
"NotificationID": "sample string 2",
"MCUserID": "sample string 3",
"FullName": "sample string 4",
"Username": "sample string 5",
"PhotoPath": "sample string 6"
}
]
},
{
"NotificationId": "sample string 1",
"Title": "sample string 2",
"TextMsg": "sample string 3",
"EventDate": "sample string 4",
"ExpiryDate": "sample string 5",
"Attachment": "sample string 6",
"Recipients": [
{
"NotificationLogID": "sample string 1",
"NotificationID": "sample string 2",
"MCUserID": "sample string 3",
"FullName": "sample string 4",
"Username": "sample string 5",
"PhotoPath": "sample string 6"
},
{
"NotificationLogID": "sample string 1",
"NotificationID": "sample string 2",
"MCUserID": "sample string 3",
"FullName": "sample string 4",
"Username": "sample string 5",
"PhotoPath": "sample string 6"
}
]
}
]
}
application/xml, text/xml
Sample:
<MCObjects.NotificationsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MC.Entity.v2">
<ListNotifications>
<MCObjects.NotificationsListModel>
<Attachment>sample string 6</Attachment>
<EventDate>sample string 4</EventDate>
<ExpiryDate>sample string 5</ExpiryDate>
<NotificationId>sample string 1</NotificationId>
<Recipients>
<MCObjects.NotificationRecipient>
<FullName>sample string 4</FullName>
<MCUserID>sample string 3</MCUserID>
<NotificationID>sample string 2</NotificationID>
<NotificationLogID>sample string 1</NotificationLogID>
<PhotoPath>sample string 6</PhotoPath>
<Username>sample string 5</Username>
</MCObjects.NotificationRecipient>
<MCObjects.NotificationRecipient>
<FullName>sample string 4</FullName>
<MCUserID>sample string 3</MCUserID>
<NotificationID>sample string 2</NotificationID>
<NotificationLogID>sample string 1</NotificationLogID>
<PhotoPath>sample string 6</PhotoPath>
<Username>sample string 5</Username>
</MCObjects.NotificationRecipient>
</Recipients>
<TextMsg>sample string 3</TextMsg>
<Title>sample string 2</Title>
</MCObjects.NotificationsListModel>
<MCObjects.NotificationsListModel>
<Attachment>sample string 6</Attachment>
<EventDate>sample string 4</EventDate>
<ExpiryDate>sample string 5</ExpiryDate>
<NotificationId>sample string 1</NotificationId>
<Recipients>
<MCObjects.NotificationRecipient>
<FullName>sample string 4</FullName>
<MCUserID>sample string 3</MCUserID>
<NotificationID>sample string 2</NotificationID>
<NotificationLogID>sample string 1</NotificationLogID>
<PhotoPath>sample string 6</PhotoPath>
<Username>sample string 5</Username>
</MCObjects.NotificationRecipient>
<MCObjects.NotificationRecipient>
<FullName>sample string 4</FullName>
<MCUserID>sample string 3</MCUserID>
<NotificationID>sample string 2</NotificationID>
<NotificationLogID>sample string 1</NotificationLogID>
<PhotoPath>sample string 6</PhotoPath>
<Username>sample string 5</Username>
</MCObjects.NotificationRecipient>
</Recipients>
<TextMsg>sample string 3</TextMsg>
<Title>sample string 2</Title>
</MCObjects.NotificationsListModel>
</ListNotifications>
<Result>sample string 1</Result>
</MCObjects.NotificationsModel>