| All Verbs | /Protocol |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | query | string | No | |
| UserId | query | int | No | |
| OperationId | query | int | No | |
| DateFrom | query | DateTime | No | |
| DateTill | query | DateTime | No | |
| Patient | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Error | form | bool | No | |
| ErrorMessage | form | string | No | |
| Data | form | ProtocolReturn[] | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProtocolId | form | int | No | |
| Date | form | DateTime | No | |
| Doctor | form | string | No | |
| PatientId | form | int | No | |
| PatientFirstName | form | string | No | |
| PatientSurName | form | string | No | |
| PatientIN | form | string | No | |
| PatientHI | form | string | No | |
| PatientMobilePhone | form | string | No | |
| PatientMail | form | string | No | |
| OperationId | form | int | No | |
| ClinicId | form | int | No | |
| EyeType | form | string | No | |
| VisitId | form | int | No | |
| VistDate | form | DateTime | No | |
| SP68ALDC | form | decimal | No | |
| SP69ALDC | form | decimal | No | |
| Error | form | bool | No | |
| ErrorMessage | form | string | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/Protocol HTTP/1.1
Host: data.oriem.cz
Content-Type: application/json
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: application/json
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"}]}