POST api/AddTeacherPushToken
Request Information
URI Parameters
None.
Body Parameters
TeacherPushToken| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Token | string |
None. |
|
| OS | string |
None. |
|
| TeacherId | integer |
None. |
|
| ApplicationVersion | string |
None. |
|
| DeviceVersion | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Token": "sample string 2",
"OS": "sample string 3",
"TeacherId": 4,
"ApplicationVersion": "sample string 5",
"DeviceVersion": "sample string 6"
}
application/xml, text/xml
Sample:
<TeacherPushToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities"> <ApplicationVersion>sample string 5</ApplicationVersion> <DeviceVersion>sample string 6</DeviceVersion> <Id>1</Id> <OS>sample string 3</OS> <TeacherId>4</TeacherId> <Token>sample string 2</Token> </TeacherPushToken>
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. |