PUT api/account/link/google
Link Google login.
Request Information
URI Parameters
None.
Body Parameters
Google account link DTO.
LinkGoogleAccountDTOName | Description | Type | Additional information |
---|---|---|---|
GoogleID |
Google ID |
string |
None. |
User's email. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "GoogleID": "sample string 1", "Email": "sample string 2" }
text/html
Sample:
{"GoogleID":"sample string 1","Email":"sample string 2"}
application/xml, text/xml
Sample:
<LinkGoogleAccountDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <Email>sample string 2</Email> <GoogleID>sample string 1</GoogleID> </LinkGoogleAccountDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GoogleAccountLinkStatusResponse Formats
application/json, text/json, text/html
Sample:
0
application/xml, text/xml
Sample:
<GoogleAccountLinkStatus xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">CannotBeLinked</GoogleAccountLinkStatus>