POST api/PushNotifications/SaveDeviceInfo

Request Information

URI Parameters

None.

Body Parameters

PushNotificationDeviceRequestVM
NameDescriptionTypeAdditional information
ParentAccountId

string

Required

SubAccountId

string

Required

UserId

string

Required

DeviceId

string

Required

DeviceToken

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ParentAccountId": "sample string 1",
  "SubAccountId": "sample string 2",
  "UserId": "sample string 3",
  "DeviceId": "sample string 4",
  "DeviceToken": "sample string 5"
}

application/xml, text/xml

Sample:
<PushNotificationDeviceRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.PushNotificationRequestViewModels">
  <DeviceId>sample string 4</DeviceId>
  <DeviceToken>sample string 5</DeviceToken>
  <ParentAccountId>sample string 1</ParentAccountId>
  <SubAccountId>sample string 2</SubAccountId>
  <UserId>sample string 3</UserId>
</PushNotificationDeviceRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.