| All Verbs | /BackupDevice/Get |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | query | string | No | |
| UID | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Error | form | bool | No | |
| ErrorMessage | form | string | No | |
| Data | form | BackupDeviceDto | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| NameStation | form | string | No | |
| ReportGemis | form | bool | No | |
| NameBackupFormat | form | string | No | |
| AccessHosting | form | string | No | |
| AccessUsername | form | string | No | |
| AccessPassword | form | string | No | |
| AccessRemoteDir | form | string | No | |
| Directories | form | BackupDeviceDirectoryDto[] | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecChanged | form | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UID | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DirectoryName | form | string | No | |
| Path | form | string | No | |
| IncrementBackup | form | bool | No | |
| DeleteOld | form | bool | No | |
| CountOfBackup | form | int | No | |
| TempBackupCopy | form | bool | 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/BackupDeviceRequest HTTP/1.1
Host: data.oriem.cz
Content-Type: application/json
Content-Length: length
{"Token":"String","UID":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Error":false,"ErrorMessage":"String","Data":{"NameStation":"String","ReportGemis":false,"NameBackupFormat":"String","AccessHosting":"String","AccessUsername":"String","AccessPassword":"String","AccessRemoteDir":"String","Directories":[{"DirectoryName":"String","Path":"String","IncrementBackup":false,"DeleteOld":false,"CountOfBackup":0,"TempBackupCopy":false,"RecChanged":"\/Date(-62135596800000-0000)\/","UID":0}],"RecChanged":"\/Date(-62135596800000-0000)\/","UID":0}}