GeminiHost

<back to all web services

OrderLock

The following routes are available for this service:
All Verbs/Order/Lock
OrderLock Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNo
OrderIdqueryintNo
UserIdqueryintNo
OrderLockReturn Parameters:
NameParameterData TypeRequiredDescription
ReloadformboolNo
OrderformOrderReturnNo
SimpleReturn Parameters:
NameParameterData TypeRequiredDescription
ErrorformboolNo
ErrorMessageformstringNo
OrderReturn Parameters:
NameParameterData TypeRequiredDescription
OrderIdformintNo
TimeFromformDateTimeNo
TimeTillformDateTimeNo
StatusformOrderStatusNo
PatientIdformintNo
OperationIdformintNo
ClinicIdformintNo
PatientFirstNameformstringNo
PatientSurNameformstringNo
PatientINformstringNo
PatientHIformstringNo
PatienCityformstringNo
PatienPostCodeformstringNo
PatienPostStreetformstringNo
PatienPostHouseNrformstringNo
PatientMobilePhoneformstringNo
PatientCountryformstringNo
FlagsformstringNo
PatientMailformstringNo
DoctorformstringNo
NoteformstringNo
ExNoteformstringNo
NoteSvozformstringNo
CalendarNoteformstringNo
SvozformboolNo
FreeformboolNo
AllowOdsformboolNo
ErrorformboolNo
ErrorMessageformstringNo

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/OrderLock HTTP/1.1 
Host: data.oriem.cz 
Content-Type: text/jsv
Content-Length: length

{
	Token: String,
	OrderId: 0,
	UserId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Reload: False,
	Order: 
	{
		OrderId: 0,
		TimeFrom: 0001-01-01,
		TimeTill: 0001-01-01,
		Status: Free,
		PatientId: 0,
		OperationId: 0,
		ClinicId: 0,
		PatientFirstName: String,
		PatientSurName: String,
		PatientIN: String,
		PatientHI: String,
		PatienCity: String,
		PatienPostCode: String,
		PatienPostStreet: String,
		PatienPostHouseNr: String,
		PatientMobilePhone: String,
		PatientCountry: String,
		Flags: String,
		PatientMail: String,
		Doctor: String,
		Note: String,
		ExNote: String,
		NoteSvoz: String,
		CalendarNote: String,
		Svoz: False,
		Free: False,
		AllowOds: False,
		Error: False,
		ErrorMessage: String
	},
	Error: False,
	ErrorMessage: String
}