GeminiHost

<back to all web services

ProtocolVisit

The following routes are available for this service:
All Verbs/ProtocolVisit
ProtocolVisit Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNo
UserIdqueryintNo
VisitIdqueryintNo
ProtocolVisitReturn Parameters:
NameParameterData TypeRequiredDescription
PatientIdformintNo
VisitIdformintNo
ClinicIdformintNo
DateformDateTimeNo
EyeTypeformstringNo
StatusformstringNo
NoteformstringNo
OperationResultformintNo
NVDformstringNo
KVDformstringNo
SFDformdecimal?No
CYDformdecimal?No
AXDformdecimal?No
NTDformstringNo
NVSformstringNo
KVSformstringNo
SFSformdecimal?No
CYSformdecimal?No
AXSformdecimal?No
NTSformstringNo
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/ProtocolVisit HTTP/1.1 
Host: data.oriem.cz 
Content-Type: application/json
Content-Length: length

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

{"PatientId":0,"VisitId":0,"ClinicId":0,"Date":"\/Date(-62135596800000-0000)\/","EyeType":"String","Status":"String","Note":"String","OperationResult":0,"NVD":"String","KVD":"String","SFD":0,"CYD":0,"AXD":0,"NTD":"String","NVS":"String","KVS":"String","SFS":0,"CYS":0,"AXS":0,"NTS":"String","Error":false,"ErrorMessage":"String"}