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

{"Token":"String","OrderId":0,"UserId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Reload":false,"Order":{"OrderId":0,"TimeFrom":"\/Date(-62135596800000-0000)\/","TimeTill":"\/Date(-62135596800000-0000)\/","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"}