GeminiHost

<back to all web services

Protocol

The following routes are available for this service:
All Verbs/Protocol
Protocol Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNo
UserIdqueryintNo
OperationIdqueryintNo
DateFromqueryDateTimeNo
DateTillqueryDateTimeNo
PatientquerystringNo
ProtocolListReturn Parameters:
NameParameterData TypeRequiredDescription
ErrorformboolNo
ErrorMessageformstringNo
DataformProtocolReturn[]No
ProtocolReturn Parameters:
NameParameterData TypeRequiredDescription
ProtocolIdformintNo
DateformDateTimeNo
DoctorformstringNo
PatientIdformintNo
PatientFirstNameformstringNo
PatientSurNameformstringNo
PatientINformstringNo
PatientHIformstringNo
PatientMobilePhoneformstringNo
PatientMailformstringNo
OperationIdformintNo
ClinicIdformintNo
EyeTypeformstringNo
VisitIdformintNo
VistDateformDateTimeNo
SP68ALDCformdecimalNo
SP69ALDCformdecimalNo
ErrorformboolNo
ErrorMessageformstringNo

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

HTTP + CSV

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

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

{"Token":"String","UserId":0,"OperationId":0,"DateFrom":"\/Date(-62135596800000-0000)\/","DateTill":"\/Date(-62135596800000-0000)\/","Patient":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Error":false,"ErrorMessage":"String","Data":[{"ProtocolId":0,"Date":"\/Date(-62135596800000-0000)\/","Doctor":"String","PatientId":0,"PatientFirstName":"String","PatientSurName":"String","PatientIN":"String","PatientHI":"String","PatientMobilePhone":"String","PatientMail":"String","OperationId":0,"ClinicId":0,"EyeType":"String","VisitId":0,"VistDate":"\/Date(-62135596800000-0000)\/","SP68ALDC":0,"SP69ALDC":0,"Error":false,"ErrorMessage":"String"}]}