POST WEYIServer/Person/TrialAlreadySetup/{SystemLanguageId}
Check if the device is already setup for a Person.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SystemLanguageId | integer |
Required |
Body Parameters
ParaWebServer_TrialAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceInfo | ParaDevice |
None. |
|
| SecurityItem | ParaWebServerSecurity |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceInfo": {
"DeviceTypeCodeId": 1,
"AppleDevice": {
"AppleDeviceToken": "sample string 1"
},
"AndroidDevice": {
"AndroidDeviceToken": "sample string 1"
},
"WEYIDevice": {
"WEYIDeviceToken": "sample string 1"
},
"FCMDevice": {
"FCMDeviceToken": "sample string 1"
},
"CountryCode": "sample string 2"
},
"SecurityItem": {
"GlobalId": 1,
"AuthKeyFrom": "sample string 2",
"AuthKeyTo": "sample string 3"
}
}
application/xml, text/xml
Sample:
<ParaWebServer_TrialAccount 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>
<DeviceInfo>
<AndroidDevice>
<AndroidDeviceToken>sample string 1</AndroidDeviceToken>
</AndroidDevice>
<AppleDevice>
<AppleDeviceToken>sample string 1</AppleDeviceToken>
</AppleDevice>
<CountryCode>sample string 2</CountryCode>
<DeviceTypeCodeId>1</DeviceTypeCodeId>
<FCMDevice>
<FCMDeviceToken>sample string 1</FCMDeviceToken>
</FCMDevice>
<WEYIDevice>
<WEYIDeviceToken>sample string 1</WEYIDeviceToken>
</WEYIDevice>
</DeviceInfo>
</ParaWebServer_TrialAccount>
Response Information
Resource Description
ResultTrialWithoutRegistration| Name | Description | Type | Additional information |
|---|---|---|---|
| GlobalServerId | integer |
None. |
|
| Id | integer |
None. |
|
| AllowedTrialCnt | integer |
None. |
|
| Token | string |
None. |
|
| LanguageList | Collection of ResultPersonLanguage |
None. |
|
| NewURL | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"GlobalServerId": 1,
"Id": 1,
"AllowedTrialCnt": 1,
"Token": "sample string 2",
"LanguageList": [
{
"LanguageId": 1,
"LanguageName": "sample string 2",
"ProficiencyCodeId": 3,
"Proficiency": "sample string 4"
},
{
"LanguageId": 1,
"LanguageName": "sample string 2",
"ProficiencyCodeId": 3,
"Proficiency": "sample string 4"
}
],
"NewURL": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultTrialWithoutRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<AllowedTrialCnt>1</AllowedTrialCnt>
<GlobalServerId>1</GlobalServerId>
<Id>1</Id>
<LanguageList>
<ResultPersonLanguage>
<LanguageId>1</LanguageId>
<LanguageName>sample string 2</LanguageName>
<Proficiency>sample string 4</Proficiency>
<ProficiencyCodeId>3</ProficiencyCodeId>
</ResultPersonLanguage>
<ResultPersonLanguage>
<LanguageId>1</LanguageId>
<LanguageName>sample string 2</LanguageName>
<Proficiency>sample string 4</Proficiency>
<ProficiencyCodeId>3</ProficiencyCodeId>
</ResultPersonLanguage>
</LanguageList>
<NewURL>sample string 3</NewURL>
<Token>sample string 2</Token>
</ResultTrialWithoutRegistration>