POST WEYIServer/Provider/LoginFacebook/{SystemLanguageId}
Login using Facebook account. We only need the facebook email account
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SystemLanguageId | integer |
Required |
Body Parameters
ParaWebServer_LoginInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| LoginInfo | ParaLoginInfo |
None. |
|
| SecurityItem | ParaWebServerSecurity |
None. |
Request Formats
application/json, text/json
Sample:
{
"LoginInfo": {
"Email": "sample string 1",
"Password": "sample string 2",
"SupportNewUrl": true
},
"SecurityItem": {
"GlobalId": 1,
"AuthKeyFrom": "sample string 2",
"AuthKeyTo": "sample string 3"
}
}
application/xml, text/xml
Sample:
<ParaWebServer_LoginInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<SecurityItem>
<AuthKeyFrom>sample string 2</AuthKeyFrom>
<AuthKeyTo>sample string 3</AuthKeyTo>
<GlobalId>1</GlobalId>
</SecurityItem>
<LoginInfo>
<Email>sample string 1</Email>
<Password>sample string 2</Password>
<SupportNewUrl>true</SupportNewUrl>
</LoginInfo>
</ParaWebServer_LoginInfo>
Response Information
Resource Description
ParaSecurityToken| Name | Description | Type | Additional information |
|---|---|---|---|
| GlobalServerId | integer |
None. |
|
| Id | integer |
None. |
|
| Token | string |
None. |
|
| NewURL | string |
None. |
|
| NotificationServerIP | string |
None. |
|
| WebPageLoginInfo | ResultWebLoginPage |
None. |
|
| AgreementUrl | string |
None. |
|
| NotificationServerPort | string |
None. |
|
| SupportScheduleTask | boolean |
None. |
|
| SupportClientPreselectionSchedule | boolean |
None. |
|
| CompanyId | integer |
None. |
|
| CompanyCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"GlobalServerId": 1,
"Id": 1,
"Token": "sample string 1",
"NewURL": "sample string 2",
"NotificationServerIP": "sample string 3",
"WebPageLoginInfo": {
"URL": "sample string 1",
"WebKey": "sample string 2"
},
"AgreementUrl": "sample string 4",
"NotificationServerPort": "sample string 5",
"SupportScheduleTask": true,
"SupportClientPreselectionSchedule": true,
"CompanyId": 1,
"CompanyCode": "sample string 6"
}
application/xml, text/xml
Sample:
<ParaSecurityToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<AgreementUrl>sample string 4</AgreementUrl>
<CompanyCode>sample string 6</CompanyCode>
<CompanyId>1</CompanyId>
<GlobalServerId>1</GlobalServerId>
<Id>1</Id>
<NewURL>sample string 2</NewURL>
<NotificationServerIP>sample string 3</NotificationServerIP>
<NotificationServerPort>sample string 5</NotificationServerPort>
<SupportClientPreselectionSchedule>true</SupportClientPreselectionSchedule>
<SupportScheduleTask>true</SupportScheduleTask>
<Token>sample string 1</Token>
<WebPageLoginInfo>
<URL>sample string 1</URL>
<WebKey>sample string 2</WebKey>
</WebPageLoginInfo>
</ParaSecurityToken>