| All Verbs | /Order/CreateByRequest |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | query | string | No | |
| OrderId | query | int | No | |
| UserId | query | int | No | |
| DealerId | query | int | No | |
| RequestId | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrderId | form | int | No | |
| TimeFrom | form | DateTime | No | |
| TimeTill | form | DateTime | No | |
| Status | form | OrderStatus | No | |
| PatientId | form | int | No | |
| OperationId | form | int | No | |
| ClinicId | form | int | No | |
| PatientFirstName | form | string | No | |
| PatientSurName | form | string | No | |
| PatientIN | form | string | No | |
| PatientHI | form | string | No | |
| PatienCity | form | string | No | |
| PatienPostCode | form | string | No | |
| PatienPostStreet | form | string | No | |
| PatienPostHouseNr | form | string | No | |
| PatientMobilePhone | form | string | No | |
| PatientCountry | form | string | No | |
| Flags | form | string | No | |
| PatientMail | form | string | No | |
| Doctor | form | string | No | |
| Note | form | string | No | |
| ExNote | form | string | No | |
| NoteSvoz | form | string | No | |
| CalendarNote | form | string | No | |
| Svoz | form | bool | No | |
| Free | form | bool | No | |
| AllowOds | form | bool | 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/OrderCreateByRequest HTTP/1.1
Host: data.oriem.cz
Content-Type: text/jsv
Content-Length: length
{
Token: String,
OrderId: 0,
UserId: 0,
DealerId: 0,
RequestId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
OrderId: 0,
TimeFrom: 0001-01-01,
TimeTill: 0001-01-01,
Status: Free,
PatientId: 0,
OperationId: 0,
ClinicId: 0,
PatientFirstName: String,
PatientSurName: String,
PatientIN: String,
PatientHI: String,
PatienCity: String,
PatienPostCode: String,
PatienPostStreet: String,
PatienPostHouseNr: String,
PatientMobilePhone: String,
PatientCountry: String,
Flags: String,
PatientMail: String,
Doctor: String,
Note: String,
ExNote: String,
NoteSvoz: String,
CalendarNote: String,
Svoz: False,
Free: False,
AllowOds: False,
Error: False,
ErrorMessage: String
}