POST Api/Student/SaveDeviceTokenFromMobile

Request Information

URI Parameters

None.

Body Parameters

Students
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

CompanyId

integer

None.

BatchId

integer

None.

StreamId

integer

None.

CourseId

integer

None.

IsActive

boolean

None.

SemNo

integer

None.

IsApproved

boolean

None.

StudentId

integer

None.

StudentCode

string

None.

StudentPhoto

string

None.

Password

string

None.

DisplayName

string

None.

CourseName

string

None.

RegistrationNo

string

None.

MobileNo

string

None.

DOB

string

None.

ImagePath

string

None.

DeviceToken

string

None.

LoginTime

date

None.

dtStudents

DataTable

None.

studentsdata

Collection of Students

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Skfgi.Models.ViewModels.Students'. Path 'studentsdata'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Skfgi.Models.ViewModels.Students'. Path 'studentsdata'.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Skfgi.Models.ViewModels.Students, Skfgi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.