POST api/Partners/AddUserNotificationToken
Request Information
URI Parameters
None.
Body Parameters
UserNotificationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| EmailId | string |
None. |
|
| DeviceToken | string |
None. |
|
| DeviceTypeId | integer |
None. |
|
| TypeofAccount | integer |
None. |
|
| PhoneNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"EmailId": "sample string 2",
"DeviceToken": "sample string 3",
"DeviceTypeId": 4,
"TypeofAccount": 5,
"PhoneNo": "sample string 6"
}
application/xml, text/xml
Sample:
<UserNotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMEduWebAPI2.Models"> <DeviceToken>sample string 3</DeviceToken> <DeviceTypeId>4</DeviceTypeId> <EmailId>sample string 2</EmailId> <PhoneNo>sample string 6</PhoneNo> <TypeofAccount>5</TypeofAccount> <UserId>1</UserId> </UserNotificationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |