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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	Token: String,
	UserId: 0,
	OperationId: 0,
	DateFrom: 0001-01-01,
	DateTill: 0001-01-01,
	Patient: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Error: False,
	ErrorMessage: String,
	Data: 
	[
		{
			ProtocolId: 0,
			Date: 0001-01-01,
			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: 0001-01-01,
			SP68ALDC: 0,
			SP69ALDC: 0,
			Error: False,
			ErrorMessage: String
		}
	]
}