POST WEYIServer/Person/Token
As the host server, create corresponding Person that is hosted in the remote server and return PersonSessionToken for Relay calls
Request Information
URI Parameters
None.
Body Parameters
ParaWebServer_Person| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonInfo | ParaPerson |
None. |
|
| SecurityItem | ParaWebServerSecurity |
None. |
Request Formats
application/json, text/json
Sample:
{
"PersonInfo": {
"GlobalServerId": 1,
"Id": 1,
"SystemLanguageId": 1,
"LanguageList": [
{
"LanguageId": 1,
"ProficiencyCodeId": 2
},
{
"LanguageId": 1,
"ProficiencyCodeId": 2
}
],
"Name": "sample string 1",
"Email": "sample string 2",
"RegionId": 1,
"RegionCode": "sample string 3",
"RegionShortCode": "sample string 4",
"MobilePhone": "sample string 5",
"Password": "sample string 6",
"FacebookEmail": "sample string 7",
"StatusCodeId": 1,
"Status": "sample string 8",
"RegistrationStatusCodeId": 1,
"TrainStatusCodeId": 1,
"CountryCode": "sample string 9",
"PersonBillingType": 10,
"PersonServiceStatusCode": 1,
"PersonMTEnabled": true,
"PersonAnyMeetingEnabled": true,
"NeedAnyMeetingBtnCustomizedName": true,
"AnyMeetingBtnCutomizedName": "sample string 11",
"PersonReconnectPopupHoldSecs": 1,
"CompanyCode": "sample string 12",
"isWebApp": true,
"isScheduleEnabled": true,
"GreetingText": "sample string 13",
"isVoiceRecognitionEnabled": 1,
"PersonVoiceRecognitionLanguageMapId": 1,
"HomePageButtonViewOptionCodeId": 1,
"HomePageText": "sample string 14",
"PatientBtnText": "sample string 15",
"InterpreterBtnText": "sample string 16",
"AutoClick": true,
"NeedLocationBeforeRequest": true,
"PersonPreLanguageScriptUrl": "sample string 17",
"PersonTransactionHistoryEnabled": true,
"CustomizedPauseImageNeeded": true,
"CustomizedPauseImageName": "sample string 18",
"CustomizedPauseImageMobileUrl": "sample string 19",
"CultureInfo": {
"DateDisplay": "sample string 1",
"TimeDisplay": "sample string 2",
"DateTimeDisplay": "sample string 3",
"CurrencyDisplay": "sample string 4"
},
"EpicInfo": {
"PatientName": "sample string 1",
"EncounterLocation": "sample string 2",
"Language": "sample string 3",
"OrgName": "sample string 4"
}
},
"SecurityItem": {
"GlobalId": 1,
"AuthKeyFrom": "sample string 2",
"AuthKeyTo": "sample string 3"
}
}
application/xml, text/xml
Sample:
<ParaWebServer_Person 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>
<PersonInfo>
<AnyMeetingBtnCutomizedName>sample string 11</AnyMeetingBtnCutomizedName>
<AutoClick>true</AutoClick>
<CompanyCode>sample string 12</CompanyCode>
<CountryCode>sample string 9</CountryCode>
<CultureInfo>
<CurrencyDisplay>sample string 4</CurrencyDisplay>
<DateDisplay>sample string 1</DateDisplay>
<DateTimeDisplay>sample string 3</DateTimeDisplay>
<TimeDisplay>sample string 2</TimeDisplay>
</CultureInfo>
<CustomizedPauseImageMobileUrl>sample string 19</CustomizedPauseImageMobileUrl>
<CustomizedPauseImageName>sample string 18</CustomizedPauseImageName>
<CustomizedPauseImageNeeded>true</CustomizedPauseImageNeeded>
<Email>sample string 2</Email>
<EpicInfo xmlns:d3p1="http://schemas.datacontract.org/2004/07/WEYILib">
<d3p1:EncounterLocation>sample string 2</d3p1:EncounterLocation>
<d3p1:Language>sample string 3</d3p1:Language>
<d3p1:OrgName>sample string 4</d3p1:OrgName>
<d3p1:PatientName>sample string 1</d3p1:PatientName>
</EpicInfo>
<FacebookEmail>sample string 7</FacebookEmail>
<GlobalServerId>1</GlobalServerId>
<GreetingText>sample string 13</GreetingText>
<HomePageButtonViewOptionCodeId>1</HomePageButtonViewOptionCodeId>
<HomePageText>sample string 14</HomePageText>
<Id>1</Id>
<InterpreterBtnText>sample string 16</InterpreterBtnText>
<LanguageList>
<ParaPersonLanguage>
<LanguageId>1</LanguageId>
<ProficiencyCodeId>2</ProficiencyCodeId>
</ParaPersonLanguage>
<ParaPersonLanguage>
<LanguageId>1</LanguageId>
<ProficiencyCodeId>2</ProficiencyCodeId>
</ParaPersonLanguage>
</LanguageList>
<MobilePhone>sample string 5</MobilePhone>
<Name>sample string 1</Name>
<NeedAnyMeetingBtnCustomizedName>true</NeedAnyMeetingBtnCustomizedName>
<NeedLocationBeforeRequest>true</NeedLocationBeforeRequest>
<Password>sample string 6</Password>
<PatientBtnText>sample string 15</PatientBtnText>
<PersonAnyMeetingEnabled>true</PersonAnyMeetingEnabled>
<PersonBillingType>10</PersonBillingType>
<PersonMTEnabled>true</PersonMTEnabled>
<PersonPreLanguageScriptUrl>sample string 17</PersonPreLanguageScriptUrl>
<PersonReconnectPopupHoldSecs>1</PersonReconnectPopupHoldSecs>
<PersonServiceStatusCode>1</PersonServiceStatusCode>
<PersonTransactionHistoryEnabled>true</PersonTransactionHistoryEnabled>
<PersonVoiceRecognitionLanguageMapId>1</PersonVoiceRecognitionLanguageMapId>
<RegionCode>sample string 3</RegionCode>
<RegionId>1</RegionId>
<RegionShortCode>sample string 4</RegionShortCode>
<RegistrationStatusCodeId>1</RegistrationStatusCodeId>
<Status>sample string 8</Status>
<StatusCodeId>1</StatusCodeId>
<SystemLanguageId>1</SystemLanguageId>
<TrainStatusCodeId>1</TrainStatusCodeId>
<isScheduleEnabled>true</isScheduleEnabled>
<isVoiceRecognitionEnabled>1</isVoiceRecognitionEnabled>
<isWebApp>true</isWebApp>
</PersonInfo>
</ParaWebServer_Person>
Response Information
Resource Description
ParaString| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Content": "sample string 1"
}
application/xml, text/xml
Sample:
<ParaString xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <Content>sample string 1</Content> </ParaString>