POST api/pullFromGoogle

Request Information

URI Parameters

None.

Body Parameters

GoogleClassroomObject
NameDescriptionTypeAdditional information
userId

string

None.

accessToken

string

None.

expiresIn

integer

None.

idToken

string

None.

firstIssued

string

None.

scope

string

None.

tokenType

string

None.

ownedOnly

boolean

None.

googleId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "accessToken": "sample string 2",
  "expiresIn": 3,
  "idToken": "sample string 4",
  "firstIssued": "sample string 5",
  "scope": "sample string 6",
  "tokenType": "sample string 7",
  "ownedOnly": true,
  "googleId": "sample string 9"
}

application/xml, text/xml

Sample:
<GoogleClassroomObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OHS.TLMClassroomResponder.BusinessService.Interface">
  <accessToken>sample string 2</accessToken>
  <expiresIn>3</expiresIn>
  <firstIssued>sample string 5</firstIssued>
  <googleId>sample string 9</googleId>
  <idToken>sample string 4</idToken>
  <ownedOnly>true</ownedOnly>
  <scope>sample string 6</scope>
  <tokenType>sample string 7</tokenType>
  <userId>sample string 1</userId>
</GoogleClassroomObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.