GeminiHost

<back to all web services

ProtocolVisit_v2Create

The following routes are available for this service:
All Verbs/ProtocolVisit_V2/Create
ProtocolVisit_v2Create Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNo
UserIdqueryintNo
ProtocolVisit_v2Return Parameters:
NameParameterData TypeRequiredDescription
PatientIdformintNo
VisitIdformintNo
ClinicIdformintNo
DateformDateTimeNo
EyeTypeformstringNo
StatusformstringNo
OperationResultformintNo
NoteformstringNo
NVformstringNo
KVformstringNo
SFformdecimal?No
CYformdecimal?No
ErrorformboolNo
ErrorMessageformstringNo
ProtocolVisit_v2Return Parameters:
NameParameterData TypeRequiredDescription
PatientIdformintNo
VisitIdformintNo
ClinicIdformintNo
DateformDateTimeNo
EyeTypeformstringNo
StatusformstringNo
OperationResultformintNo
NoteformstringNo
NVformstringNo
KVformstringNo
SFformdecimal?No
CYformdecimal?No
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_v2Create HTTP/1.1 
Host: data.oriem.cz 
Content-Type: application/json
Content-Length: length

{"Token":"String","UserId":0,"PatientId":0,"VisitId":0,"ClinicId":0,"Date":"\/Date(-62135596800000-0000)\/","EyeType":"String","Status":"String","OperationResult":0,"Note":"String","NV":"String","KV":"String","SF":0,"CY":0,"Error":false,"ErrorMessage":"String"}
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","OperationResult":0,"Note":"String","NV":"String","KV":"String","SF":0,"CY":0,"Error":false,"ErrorMessage":"String"}