POST api/PushNotification/SavePushNotificationToken

Request Information

URI Parameters

None.

Body Parameters

PushNotificationTokenDTO
NameDescriptionTypeAdditional information
UserDetailsId

string

None.

FCMUserToken

string

None.

PlatformId

integer

None.

DeviceId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userDetailsId": "sample string 1",
  "fcmUserToken": "sample string 2",
  "platformId": 3,
  "deviceId": "sample string 4"
}

application/xml, text/xml

Sample:
<PushNotificationTokenDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO">
  <DeviceId>sample string 4</DeviceId>
  <FCMUserToken>sample string 2</FCMUserToken>
  <PlatformId>3</PlatformId>
  <UserDetailsId>sample string 1</UserDetailsId>
</PushNotificationTokenDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PushNotificationTokenDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.