POST api/Student/UploadStudentPhoto

Request Information

URI Parameters

None.

Body Parameters

StudentPhotoUploadRequest
NameDescriptionTypeAdditional information
SessionId

integer

None.

RegNo

string

None.

stuId

integer

None.

PhotoBase64

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionId": 1,
  "RegNo": "sample string 2",
  "stuId": 3,
  "PhotoBase64": "sample string 4"
}

text/html

Sample:
{"SessionId":1,"RegNo":"sample string 2","stuId":3,"PhotoBase64":"sample string 4"}

application/xml, text/xml

Sample:
<StudentPhotoUploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smsapi.Models">
  <PhotoBase64>sample string 4</PhotoBase64>
  <RegNo>sample string 2</RegNo>
  <SessionId>1</SessionId>
  <stuId>3</stuId>
</StudentPhotoUploadRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.