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