POST members/ssologin

login endpoint for sso users

Request Information

Parameters

NameDescriptionAdditional information
stuInfo

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "gender": 0,
  "status": 0,
  "school_id": "sample string 1",
  "current_time": "sample string 2",
  "random_number": "sample string 3",
  "student_email": "sample string 4",
  "first_name": "sample string 5",
  "last_name": "sample string 6",
  "student_id": "sample string 7",
  "birth_year": 1,
  "grad_year": 1,
  "cell_phone": "sample string 8",
  "is_eligible": true,
  "photo_url": "sample string 9",
  "is_eligible_for_intramurals": true,
  "is_eligible_for_fitness": true,
  "is_eligible_for_clubs": true,
  "ssocasid": "sample string 10",
  "hash": "sample string 11"
}

application/xml, text/xml

Sample:
<SSOLoginInDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Input">
  <birth_year>1</birth_year>
  <cell_phone>sample string 8</cell_phone>
  <current_time>sample string 2</current_time>
  <first_name>sample string 5</first_name>
  <gender>Male</gender>
  <grad_year>1</grad_year>
  <hash>sample string 11</hash>
  <is_eligible>true</is_eligible>
  <is_eligible_for_clubs>true</is_eligible_for_clubs>
  <is_eligible_for_fitness>true</is_eligible_for_fitness>
  <is_eligible_for_intramurals>true</is_eligible_for_intramurals>
  <last_name>sample string 6</last_name>
  <photo_url>sample string 9</photo_url>
  <random_number>sample string 3</random_number>
  <school_id>sample string 1</school_id>
  <ssocasid>sample string 10</ssocasid>
  <status>None</status>
  <student_email>sample string 4</student_email>
  <student_id>sample string 7</student_id>
</SSOLoginInDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "authorization": {
    "access_token": "sample string 1",
    "refresh_token": "sample string 2"
  },
  "need_complete_registration": true,
  "email": "sample string 1",
  "dob": "sample string 2",
  "gender": "sample string 3",
  "network": {
    "id": "sample string 1",
    "name": "sample string 2"
  },
  "year_in_school": "sample string 4",
  "grad_year": "sample string 5",
  "active": true,
  "facebook_id": "sample string 7",
  "answers": [
    {
      "id": 1,
      "answer": "sample string 2"
    },
    {
      "id": 1,
      "answer": "sample string 2"
    },
    {
      "id": 1,
      "answer": "sample string 2"
    }
  ],
  "id": "sample string 8",
  "first_name": "sample string 9",
  "last_name": "sample string 10",
  "avatar_url": "sample string 11"
}

application/xml, text/xml

Sample:
<AuthenticatedMemberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <avatar_url>sample string 11</avatar_url>
  <first_name>sample string 9</first_name>
  <id>sample string 8</id>
  <last_name>sample string 10</last_name>
  <active>true</active>
  <answers>
    <QuestionAnswerDto>
      <answer>sample string 2</answer>
      <id>1</id>
    </QuestionAnswerDto>
    <QuestionAnswerDto>
      <answer>sample string 2</answer>
      <id>1</id>
    </QuestionAnswerDto>
    <QuestionAnswerDto>
      <answer>sample string 2</answer>
      <id>1</id>
    </QuestionAnswerDto>
  </answers>
  <dob>sample string 2</dob>
  <email>sample string 1</email>
  <facebook_id>sample string 7</facebook_id>
  <gender>sample string 3</gender>
  <grad_year>sample string 5</grad_year>
  <network>
    <id>sample string 1</id>
    <name>sample string 2</name>
  </network>
  <year_in_school>sample string 4</year_in_school>
  <authorization>
    <access_token>sample string 1</access_token>
    <refresh_token>sample string 2</refresh_token>
  </authorization>
  <need_complete_registration>true</need_complete_registration>
</AuthenticatedMemberDto>