GeminiHost

<back to all web services

OrderCreate

The following routes are available for this service:
All Verbs/Order/Create
OrderCreate Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNo
OrderIdqueryintNo
UserIdqueryintNo
PatientIdqueryintNo
PatientFirstNamequerystringNo
PatientSurNamequerystringNo
PatientINquerystringNo
PatientHIquerystringNo
PatientMobilePhonequerystringNo
PatientMailquerystringNo
PatientCityquerystringNo
PatientPostCodequerystringNo
PatientPostStreetquerystringNo
PatientPostHouseNrquerystringNo
PatientCountryquerystringNo
FlagsquerystringNo
ExNotequerystringNo
DealerIdqueryintNo
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/OrderCreate HTTP/1.1 
Host: data.oriem.cz 
Content-Type: application/json
Content-Length: length

{"Token":"String","OrderId":0,"UserId":0,"PatientId":0,"PatientFirstName":"String","PatientSurName":"String","PatientIN":"String","PatientHI":"String","PatientMobilePhone":"String","PatientMail":"String","PatientCity":"String","PatientPostCode":"String","PatientPostStreet":"String","PatientPostHouseNr":"String","PatientCountry":"String","Flags":"String","ExNote":"String","DealerId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"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"}