POST Api/Token/SendPushNotification

Request Information

URI Parameters

None.

Body Parameters

PushNotificationAlertRequest
NameDescriptionTypeAdditional information
MeterNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MeterNo": "sample string 1"
}

application/xml, text/xml

Sample:
<PushNotificationAlertRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <MeterNo>sample string 1</MeterNo>
</PushNotificationAlertRequest>

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 'PushNotificationAlertRequest'.

Response Information

Resource Description

PushNotificationAlertResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

ServerDateTime

string

None.

ErrorType

Errors

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "ServerDateTime": "sample string 3",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<PushNotificationAlertResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <ErrorType>SystemError</ErrorType>
  <ServerDateTime>sample string 3</ServerDateTime>
  <Success>true</Success>
</PushNotificationAlertResponse>