POST api/Student/StudentUploadAvatar

Request Information

URI Parameters

None.

Body Parameters

RequestStudentUploadAvatar
NameDescriptionTypeAdditional information
StudentId

integer

None.

AvatarBase

string

None.

ApiURL

string

None.

IsSyncAvatar

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentId": 1,
  "AvatarBase": "sample string 2",
  "ApiURL": "sample string 3",
  "IsSyncAvatar": true
}

application/xml, text/xml

Sample:
<StudentModels.RequestStudentUploadAvatar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Api.Models">
  <ApiURL>sample string 3</ApiURL>
  <AvatarBase>sample string 2</AvatarBase>
  <IsSyncAvatar>true</IsSyncAvatar>
  <StudentId>1</StudentId>
</StudentModels.RequestStudentUploadAvatar>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />