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

HTTP + XML

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

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

<Protocol xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
  <DateFrom>0001-01-01T00:00:00</DateFrom>
  <DateTill>0001-01-01T00:00:00</DateTill>
  <OperationId>0</OperationId>
  <Patient>String</Patient>
  <Token>String</Token>
  <UserId>0</UserId>
</Protocol>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ProtocolListReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
  <Data>
    <ProtocolReturn>
      <ClinicId>0</ClinicId>
      <Date>0001-01-01T00:00:00</Date>
      <Doctor>String</Doctor>
      <Error>false</Error>
      <ErrorMessage>String</ErrorMessage>
      <EyeType>String</EyeType>
      <OperationId>0</OperationId>
      <PatientFirstName>String</PatientFirstName>
      <PatientHI>String</PatientHI>
      <PatientIN>String</PatientIN>
      <PatientId>0</PatientId>
      <PatientMail>String</PatientMail>
      <PatientMobilePhone>String</PatientMobilePhone>
      <PatientSurName>String</PatientSurName>
      <ProtocolId>0</ProtocolId>
      <SP68ALDC>0</SP68ALDC>
      <SP69ALDC>0</SP69ALDC>
      <VisitId>0</VisitId>
      <VistDate>0001-01-01T00:00:00</VistDate>
    </ProtocolReturn>
  </Data>
  <Error>false</Error>
  <ErrorMessage>String</ErrorMessage>
</ProtocolListReturn>