POST api/notifications
Request Information
URI Parameters
None.
Body Parameters
PostNotificationDeviceModelName | Description | Type | Additional information |
---|---|---|---|
Token | string |
Required |
|
DeviceType | NotificationDeviceType |
None. |
Request Formats
application/json, text/json
Sample:
{ "Token": "sample string 1", "DeviceType": 1 }
text/html
Sample:
{"Token":"sample string 1","DeviceType":1}
application/xml, text/xml
Sample:
<PostNotificationDeviceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StarJob.Bll.Notifications.Models"> <DeviceType>Firebase</DeviceType> <Token>sample string 1</Token> </PostNotificationDeviceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.