GeminiHost

<back to all web services

Login

The following routes are available for this service:
All Verbs/Login
Login Parameters:
NameParameterData TypeRequiredDescription
UserNamequerystringNo
PasswordquerystringNo
LoginKeyquerystringNo
Access Parameters:
NameParameterData TypeRequiredDescription
ErrorformboolNo
ErrorMessageformstringNo
UserIdformintNo
IsNurseformboolNo
WorkerIdformintNo
IsDealerformboolNo
TokenformstringNo
UserNameformstringNo
ClinicIdsformint[]No
ProtocolsformintNo
CountryformstringNo
DealerFirstNameformstringNo
DealerSurNameformstringNo
DealerMailformstringNo
DealerMobilePhoneformstringNo
AllowNewsformboolNo
AllowOrdersformboolNo
AllowProtocolformboolNo
AllowReportsformboolNo
AllowSeminarformboolNo
AllowSeminarManagementformboolNo
AllowGemifinOrderformboolNo
AllowDiscountformboolNo
WebRequestOperationsformOperationReturn[]No
UnreadThreadsformintNo
ExternalDoctorformExternalDoctorReturnNo
OperationReturn Parameters:
NameParameterData TypeRequiredDescription
OperationIdformintNo
OperationCodeformstringNo
OperationDescriptionformstringNo
ExternalDoctorReturn Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
ClinicIdsformint[]No
FirstNameformstringNo
SurNameformstringNo
TitleformstringNo
CityformstringNo
AllowNewsformboolNo
AllowOrdersformboolNo
AllowProtocolformboolNo
AllowReportsformboolNo
AllowSeminarformboolNo
BillToNameformstringNo
BillToStreetformstringNo
BillToHouseNrformstringNo
BillToPostCodeformstringNo
BillToCityformstringNo
BillToCountryformstringNo
BillToICOformstringNo
BillToDICformstringNo
BillToPhoneformstringNo
BillToMobilePhoneformstringNo
BillToMailformstringNo
OrderFlagsformOrderFlagGpDto[]No
WebRequestOperationsformOperationReturn[]No
OrderFlagGpDto Parameters:
NameParameterData TypeRequiredDescription
CodeformstringNo
ShortCodeformstringNo
StudyformboolNo
WebIconformstringNo
BaseXpoDto Parameters:
NameParameterData TypeRequiredDescription
UIDformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/Login HTTP/1.1 
Host: data.oriem.cz 
Content-Type: application/json
Content-Length: length

{"UserName":"String","Password":"String","LoginKey":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Error":false,"ErrorMessage":"String","UserId":0,"IsNurse":false,"WorkerId":0,"IsDealer":false,"Token":"String","UserName":"String","ClinicIds":[0],"Protocols":0,"Country":"String","DealerFirstName":"String","DealerSurName":"String","DealerMail":"String","DealerMobilePhone":"String","AllowNews":false,"AllowOrders":false,"AllowProtocol":false,"AllowReports":false,"AllowSeminar":false,"AllowSeminarManagement":false,"AllowGemifinOrder":false,"AllowDiscount":false,"WebRequestOperations":[{"OperationId":0,"OperationCode":"String","OperationDescription":"String"}],"UnreadThreads":0,"ExternalDoctor":{"UserId":0,"ClinicIds":[0],"FirstName":"String","SurName":"String","Title":"String","City":"String","AllowNews":false,"AllowOrders":false,"AllowProtocol":false,"AllowReports":false,"AllowSeminar":false,"BillToName":"String","BillToStreet":"String","BillToHouseNr":"String","BillToPostCode":"String","BillToCity":"String","BillToCountry":"String","BillToICO":"String","BillToDIC":"String","BillToPhone":"String","BillToMobilePhone":"String","BillToMail":"String","OrderFlags":[{"Code":"String","ShortCode":"String","Study":false,"WebIcon":"String","UID":0}],"WebRequestOperations":[{"OperationId":0,"OperationCode":"String","OperationDescription":"String"}]}}