POST api/GetNotifications
Request Information
URI Parameters
None.
Body Parameters
VoidRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| API_Key | string |
None. |
|
| Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"API_Key": "sample string 1",
"Token": "sample string 2"
}
application/xml, text/xml
Sample:
<VoidRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Solution.Models"> <API_Key>sample string 1</API_Key> <Token>sample string 2</Token> </VoidRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetNotificationsResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | string |
None. |
|
| Code | integer |
None. |
|
| Message | string |
None. |
|
| Notifications | Collection of NotificationModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": "sample string 1",
"Code": 2,
"Message": "sample string 3",
"Notifications": [
{
"Id": 1,
"Subject": "sample string 2",
"TimeStamp": "sample string 3",
"Message": "sample string 4"
},
{
"Id": 1,
"Subject": "sample string 2",
"TimeStamp": "sample string 3",
"Message": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<GetNotificationsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeadsManager.Model">
<Code>2</Code>
<Message>sample string 3</Message>
<Notifications>
<NotificationModel>
<Id>1</Id>
<Message>sample string 4</Message>
<Subject>sample string 2</Subject>
<TimeStamp>sample string 3</TimeStamp>
</NotificationModel>
<NotificationModel>
<Id>1</Id>
<Message>sample string 4</Message>
<Subject>sample string 2</Subject>
<TimeStamp>sample string 3</TimeStamp>
</NotificationModel>
</Notifications>
<Response>sample string 1</Response>
</GetNotificationsResponseModel>