| 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 .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/BackupDeviceRequest HTTP/1.1
Host: data.oriem.cz
Content-Type: text/jsv
Content-Length: length
{
Token: String,
UID: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
UID: 0
}
],
RecChanged: 0001-01-01,
UID: 0
}
}