POST api/auth/google/link

POST Attach a mobile number to a Google identity. Body has idToken, ContactNo, Password, Fullname, Lang. If the number is already registered its password must match, otherwise a new account is created and this becomes its password.

Request Information

URI Parameters

None.

Body Parameters

TGoogleLink
NameDescriptionTypeAdditional information
idToken

string

None.

ContactNo

string

None.

Password

string

None.

Fullname

string

None.

Lang

string

None.

Request Formats

application/json, text/json

Sample:
{
  "idToken": "sample string 1",
  "ContactNo": "sample string 2",
  "Password": "sample string 3",
  "Fullname": "sample string 4",
  "Lang": "sample string 5"
}

application/xml, text/xml

Sample:
<SQLFunction.TGoogleLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTapi20.AppsDAL">
  <ContactNo>sample string 2</ContactNo>
  <Fullname>sample string 4</Fullname>
  <Lang>sample string 5</Lang>
  <Password>sample string 3</Password>
  <idToken>sample string 1</idToken>
</SQLFunction.TGoogleLink>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.