POST api/User/UpdateNotification

Request Information

URI Parameters

None.

Body Parameters

NotificarionUpdateModel
NameDescriptionTypeAdditional information
NotificationID

integer

None.

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:
{
  "NotificationID": 1,
  "LoggedInUserId": 2,
  "DeviceId": "sample string 3",
  "DeviceOS": "sample string 4",
  "UserId": 5,
  "Model": "sample string 6",
  "Brand": "sample string 7",
  "FCMToken": "sample string 8"
}

application/xml, text/xml

Sample:
<NotificarionUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InfinitSol.Product.DigiCard.DTO">
  <Brand>sample string 7</Brand>
  <DeviceId>sample string 3</DeviceId>
  <DeviceOS>sample string 4</DeviceOS>
  <FCMToken>sample string 8</FCMToken>
  <Model>sample string 6</Model>
  <UserId>5</UserId>
  <LoggedInUserId>2</LoggedInUserId>
  <NotificationID>1</NotificationID>
</NotificarionUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NotificarionUpdateResponse
NameDescriptionTypeAdditional information
NotificationID

integer

None.

Status

string

None.

LoggedInUserId

integer

None.

DeviceId

string

None.

DeviceOS

string

None.

UserId

integer

None.

Model

string

None.

Brand

string

None.

FCMToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "NotificationID": 1,
  "Status": "sample string 2",
  "LoggedInUserId": 3,
  "DeviceId": "sample string 4",
  "DeviceOS": "sample string 5",
  "UserId": 6,
  "Model": "sample string 7",
  "Brand": "sample string 8",
  "FCMToken": "sample string 9"
}

application/xml, text/xml

Sample:
<NotificarionUpdateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InfinitSol.Product.DigiCard.DTO">
  <Brand>sample string 8</Brand>
  <DeviceId>sample string 4</DeviceId>
  <DeviceOS>sample string 5</DeviceOS>
  <FCMToken>sample string 9</FCMToken>
  <Model>sample string 7</Model>
  <UserId>6</UserId>
  <LoggedInUserId>3</LoggedInUserId>
  <NotificationID>1</NotificationID>
  <Status>sample string 2</Status>
</NotificarionUpdateResponse>