POST api/LoginEx/LoginByGoogleCredential

Documentation for 'LoginByGoogleCredential'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "google_credential": "sample string 1",
  "content_server_name": "sample string 2",
  "company_uuid": "sample string 3",
  "verify_company_later": true
}

application/xml, text/xml

Sample:
<LoginByGoogleCredentialRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.NewAPI.Login">
  <company_uuid>sample string 3</company_uuid>
  <content_server_name>sample string 2</content_server_name>
  <google_credential>sample string 1</google_credential>
  <verify_company_later>true</verify_company_later>
</LoginByGoogleCredentialRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "temp_token": "sample string 1",
  "initial": true,
  "mandoe_login": true,
  "is_third_party_login": true,
  "third_party_login_type": "sample string 5",
  "enable_two_steps_authentication": true,
  "enable_google_authenticator": true,
  "google_authenticator_verified": true,
  "enable_email_auth": true,
  "email_auth_list": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "is_success": true,
  "error_message": "sample string 11",
  "exception_name": "sample string 12",
  "error_code": 13
}

application/xml, text/xml

Sample:
<LoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.NewAPI.Login">
  <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">13</error_code>
  <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 11</error_message>
  <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 12</exception_name>
  <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success>
  <email_auth_list xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </email_auth_list>
  <enable_email_auth>true</enable_email_auth>
  <enable_google_authenticator>true</enable_google_authenticator>
  <enable_two_steps_authentication>true</enable_two_steps_authentication>
  <google_authenticator_verified>true</google_authenticator_verified>
  <initial>true</initial>
  <is_third_party_login>true</is_third_party_login>
  <mandoe_login>true</mandoe_login>
  <temp_token>sample string 1</temp_token>
  <third_party_login_type>sample string 5</third_party_login_type>
</LoginResponse>