POST api/OnlineClass/googleAuthCallback

Request Information

URI Parameters

None.

Body Parameters

OAuthCallbackRequest
NameDescriptionTypeAdditional information
Code

string

None.

RedirectUri

string

None.

UserId

integer

None.

InstituteYearId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "RedirectUri": "sample string 2",
  "UserId": 3,
  "InstituteYearId": 4
}

text/html

Sample:
{"Code":"sample string 1","RedirectUri":"sample string 2","UserId":3,"InstituteYearId":4}

application/xml, text/xml

Sample:
<OnlineClassController.OAuthCallbackRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartInstituteSoftware.Controllers">
  <Code>sample string 1</Code>
  <InstituteYearId>4</InstituteYearId>
  <RedirectUri>sample string 2</RedirectUri>
  <UserId>3</UserId>
</OnlineClassController.OAuthCallbackRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

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/" />