POST api/User/GetNotification
Request Information
URI Parameters
None.
Body Parameters
UserIdentityModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LoggedInUserId | integer |
None. |
|
| DeviceId | string |
None. |
|
| DeviceOS | string |
None. |
|
| UserId | integer |
None. |
|
| Model | string |
None. |
|
| Brand | string |
None. |
|
| FCMToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LoggedInUserId": 1,
"DeviceId": "sample string 2",
"DeviceOS": "sample string 3",
"UserId": 4,
"Model": "sample string 5",
"Brand": "sample string 6",
"FCMToken": "sample string 7"
}
application/xml, text/xml
Sample:
<UserIdentityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InfinitSol.Product.DigiCard.DTO"> <Brand>sample string 6</Brand> <DeviceId>sample string 2</DeviceId> <DeviceOS>sample string 3</DeviceOS> <FCMToken>sample string 7</FCMToken> <Model>sample string 5</Model> <UserId>4</UserId> <LoggedInUserId>1</LoggedInUserId> </UserIdentityModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of NotificarionListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationID | integer |
None. |
|
| Status | string |
None. |
|
| Message | string |
None. |
|
| Title | string |
None. |
|
| Action | string |
None. |
|
| OS | string |
None. |
|
| FCMToken | string |
None. |
|
| IsForAll | boolean |
None. |
|
| ToUserId | integer |
None. |
|
| CreatedUserId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"NotificationID": 1,
"Status": "sample string 2",
"Message": "sample string 3",
"Title": "sample string 4",
"Action": "sample string 5",
"OS": "sample string 6",
"FCMToken": "sample string 7",
"IsForAll": true,
"ToUserId": 9,
"CreatedUserId": 10
},
{
"NotificationID": 1,
"Status": "sample string 2",
"Message": "sample string 3",
"Title": "sample string 4",
"Action": "sample string 5",
"OS": "sample string 6",
"FCMToken": "sample string 7",
"IsForAll": true,
"ToUserId": 9,
"CreatedUserId": 10
}
]
application/xml, text/xml
Sample:
<ArrayOfNotificarionListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InfinitSol.Product.DigiCard.DTO">
<NotificarionListResponse>
<Action>sample string 5</Action>
<CreatedUserId>10</CreatedUserId>
<FCMToken>sample string 7</FCMToken>
<IsForAll>true</IsForAll>
<Message>sample string 3</Message>
<NotificationID>1</NotificationID>
<OS>sample string 6</OS>
<Status>sample string 2</Status>
<Title>sample string 4</Title>
<ToUserId>9</ToUserId>
</NotificarionListResponse>
<NotificarionListResponse>
<Action>sample string 5</Action>
<CreatedUserId>10</CreatedUserId>
<FCMToken>sample string 7</FCMToken>
<IsForAll>true</IsForAll>
<Message>sample string 3</Message>
<NotificationID>1</NotificationID>
<OS>sample string 6</OS>
<Status>sample string 2</Status>
<Title>sample string 4</Title>
<ToUserId>9</ToUserId>
</NotificarionListResponse>
</ArrayOfNotificarionListResponse>