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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	UserName: String,
	Password: String,
	LoginKey: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
			}
		]
	}
}