Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor

Table of Contents



All production endpoints have their version on sandbox with changed domain names:

...

  • uncancel  entities in hierarchy 
  • uncancel  direct backup accounts
  • uncancel  backup accounts  in hierarchy 
  • return revoked licences 
  • so on

Also take note that system cleanups data hold by cancelled accounts & entities after some grace period. For instance, backed up files are automatically deleted in about 3 month, used licences usually get deactivated in about 7 days,  unused licences get transferred to parent entity immediately  and so on.  Uncancel operation won't  revert any of those  or similar  purge actions those already partially or fully completed by the date of uncancel. It only marks entity as active and allows you to reuse it again.

Input request fields:

Parameter

Description

Validation

TargetEntityId

ID of the Partner/Company to uncancel

Int > 0 , Caller cannot uncancel himself.

...

Parameter

Description

Validation

UserName

Login name for dashboard user. 

Required, "^(?!^\d+(WS|Ws|wS|ws|FL|Fl|fL|fl)$)(?!^(U|u)\d+$)[a-zA-Z0-9@\._-]{3,50}$"

Password

Password of the dashboard user

Required, "^[a-zA-Z0-9!@#$%^&*()]{6,20}$"


Request example:


Code Block
xml
xml
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:sos="sosonlinebackup.com">
   <soap:Header>
      <sos:AuthHeader>
         <sos:UserName>A****</sos:UserName>
         <sos:Password>V*****</sos:Password>
      </sos:AuthHeader>
   </soap:Header>
   <soap:Body>
      <sos:AuthenticateDashboardUser>
         <sos:request>
            <sos:UserName>Dan*****</sos:UserName>
            <sos:Password>tf****</sos:Password>
         </sos:request>
      </sos:AuthenticateDashboardUser>
   </soap:Body>
</soap:Envelope>

...

Parameter

Description

Validation

PartnerName

Non-unique identifier of partner. Max 50 characters according to the regular expression provided.

Required,"^[a-zA-Z0-9]([a-zA-Z0-9\.-_\s&]){0,48}([a-zA-Z0-9\.]){1}$"

GeneralContactPerson

Name of contact person

Required, "^[a-zA-Z]([a-zA-Z\.-]|\s){1,49}$"

GeneralContactEmail

Email

Required, "^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9_-]+)*\.([a-zA-Z]{2,}){1,49}$"

DiskQuotaGB

Storage quota for partner

Integer >= 1

AllowUploadOverAccountSize


Bool

AutoUpgradeClientAppIndicates if all accounts of new partner will use automatic update of client softwarebool , Optional, false if missed
SendResetPasswordEmail

 If true, email with reset password link is sent to user.

See details about reset password link in SendResetPasswordLink method description

bool , Optional, false if missed

...

https://dashboard.managedoffsitebackup.net/EmailTemplate (template with code "EntityResetPwd")

By default, for security sake, dashboard user name is not sent in email.

...

Current password of user is valid and not changed until someone will follow the link and provide new password (there is a web form with button).


Operation: CreateAdditionalAdmin

  

Sandbox:    https://secure-sandbox.sosonlinebackup.com/WebApi/AccountManagementService/PartnerManagementService.asmx?op=CreateAdditionalAdmin

...

Parameter

Description

Validation

TargetEntityID

ID of the Partner/Company/Distributor where new administrator is needed

Int, >=0. Use 0 for yourself.

UserName

Login name for dashboard. Names like 2222WS, 2222FL and U2222 are forbidden here.

Required, "^(?!^\d+(WS|Ws|wS|ws|FL|Fl|fL|fl)$)(?!^(U|u)\d+$)[a-zA-Z0-9@\._-]{3,50}$"

Password

Password, leave it empty if you want system to generate it

Optional, "^[a-zA-Z0-9!@#$%^&*()]{6,20}$"

Returns generated password and standard Result object. Can return following custom result codes.

...

Retrieves detailed information about  specific partner by Partner Dashboard Administrator credentials

Request example: 

Code Block
xml
xml
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">sosonlinebackup.com/GetPartnerDetailsByApplicationUser</Action>
    <h:AuthHeader xmlns="sosonlinebackup.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:h="sosonlinebackup.com">
      <UserName>avg9</UserName>
      <Password>****</Password>
    </h:AuthHeader>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <GetPartnerDetailsByApplicationUser xmlns="sosonlinebackup.com">
      <request />
    </GetPartnerDetailsByApplicationUser>
  </s:Body>
</s:Envelope>

Returns result with following fields: 

Output Value

Description

TypeUnits

PartnerEntityId

EntityId of partner

Int
PartnerNameName of partnerString
DiskQuotaGBQuota(Backup plan of Partner)LongGigabytes
NumberOfLicensesShadowProtectV5Number of licenses assigned to partnerInt
AllowUploadOverAccountSizeShows if accounts are able to exceed partner's quotaBoolean

Response example: 

Code Block
xml
xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" />
  <soap:Body>
    <GetPartnerDetailsByApplicationUserResponse xmlns="sosonlinebackup.com">
      <GetPartnerDetailsByApplicationUserResult>
        <Result>
          <Result>0</Result>
          <Code>Success</Code>
        </Result>
        <PartnerEntityId>62136</PartnerEntityId>
        <PartnerName>Avgtest9</PartnerName>
        <DiskQuotaGB>1</DiskQuotaGB>
        <NumberOfLicensesShadowProtectV5>0</NumberOfLicensesShadowProtectV5>
        <AllowUploadOverAccountSize>false</AllowUploadOverAccountSize>
      </GetPartnerDetailsByApplicationUserResult>
    </GetPartnerDetailsByApplicationUserResponse>
  </soap:Body>
</soap:Envelope>


Operation: CancelEmptyPartner  

Sandbox:    https://secure-sandbox.sosonlinebackup.com/WebApi/AccountManagementService/PartnerManagementService.asmx?op=CancelEmptyPartner

...

Parameter

Description

Validation

TargetEntityId

ID of the parent Partner

Required, integer

CompanyName

Required,"^[a-zA-Z0-9]([a-zA-Z0-9\.-_\s&]){0,48}([a-zA-Z0-9\.]){1}$"

GeneralContactPersonName of contact personRequired, "^[a-zA-Z]([a-zA-Z\.-]|\s){1,49}$"
GeneralContactEmailEmailRequired, "^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9_-]+)*\.([a-zA-Z]{2,}){1,49}$"

DiskQuotaGB

Storage quota for company

Integer >= 1

AllowUploadOverAccountSize
Bool
DataCenterCountryCodeIsoA2ISO 3166-1 two-letter country code (alpha-2) 

Optional, string, can be empty.

Now available data centers in following countries:

US - UNITED STATES

GB -UNITED KINGDOM

AU -AUSTRALIA

CA -CANADA

ZA -SOUTH AFRICA

DE -GERMAN

If not set or empty, when backup account is created for company, backup server will be selected automatically.

If parameter is correct country code, all backup accounts of this entity will persist data in scope of data centers restricted by region of specific country.

If parameter is correct country code, but there are no data centers in that country, error is fired ( err-code: CannotFindDataCenterForCountry)

If parameter is not correct ISO 3166-1 two-letter country code,error is fired( err-code: InvalidInputParameters)

Availability of non US backup servers should be discussed during sales by dedicated request to Account Manager

AutoUpgradeClientAppIndicates if all accounts of new company will use automatic update of client softwarebool , Optional, false if missed
DisableEmailsNotification
Allow to disable sending all emails notificationsbool , Optional, false if missed

...

Parameter

Description

Validation

CompanyName


Required,"^[a-zA-Z0-9]([a-zA-Z0-9\.-_\s&]){0,48}([a-zA-Z0-9\.]){1}$"

TargetEntityId ID of the parent Partner

Required, integer

DiskQuotaGB

Storage quota for company

Integer >= 1

BackupAccountUserFullName

Required, "^[a-zA-Z]([a-zA-Z\.-]|\s){1,30}$"
BackupAccountUserName

Required, "^[^<>]{0,100}$"
BackupAccountPassword

Required, "^[a-zA-Z0-9!@#$%^&*()]{6,20}$"
IsBackupAccountUltraSafe
Standard or Ultrasafe securityBool
BackupAccountEmail

Required, "^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9_-]+)*\.([a-zA-Z]{2,}){1,49}$"
AllowUploadOverAccountSize

Bool
DataCenterCountryCodeIsoA2ISO 3166-1 two-letter country code (alpha-2) 

Optional, string, can be empty.

Now available data centers in following countries:

US - UNITED STATES

GB -UNITED KINGDOM

AU -AUSTRALIA

CA -CANADA

ZA -SOUTH AFRICA

If not set or empty, when backup account is created for company, backup server will be selected automatically.

If parameter is correct country code, all backup accounts of this entity will persist data in scope of data centers restricted by region of specific country.

If parameter is correct country code, but there are no data centers in that country, error is fired ( err-code: CannotFindDataCenterForCountry)

If parameter is not correct ISO 3166-1 two-letter country code,error is fired( err-code: InvalidInputParameters)

Availability of non US backup servers should be discussed during sales by dedicated request to Account Manager

AutoUpgradeClientAppIndicates if all accounts of new company will use automatic update of client softwarebool , Optional, false if missed
DisableEmailsNotification
Allow to disable sending all emails notificationsbool , Optional, false if missed

...

Parameter

Description

Validation

TargetEntityID

ID of the Partner/Company/Distributor where new administrator is needed

Int, >=0. Use 0 for yourself.

UserName

Login name for dashboard. Names like 2222WS, 2222FL and U2222 are forbidden here.

Required, "^(?!^\d+(WS|Ws|wS|ws|FL|Fl|fL|fl)$)(?!^(U|u)\d+$)[a-zA-Z0-9@\._-]{3,50}$"

Password

Password, leave it empty if you want system to generate it

Optional, "^[a-zA-Z0-9!@#$%^&*()]{6,20}$"

Returns generated password and standard Result object. Can return following custom result codes. 

Result.Result

Result.Code

Description (not returned in the response)

52
AlreadyExists
User with this name already exists in some entity. Try to pick up another user name.

...

Parameter

Description

Validation

CompanyEntityIdCompany IDRequired, Integer, > 0

GeneralContactPerson

Name of contact person

optional, string, "^[a-zA-Z]([a-zA-Z\.-]|\s){1,49}$"

If missed, current value is not changed.

GeneralContactEmail

Email

optional, string, "^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9_-]+)*\.([a-zA-Z]{2,}){1,49}$"

If missed, current value is not changed.

DiskQuotaGB

Storage quota for partner

Optional, Integer, > 0

If missed, current value is not changed.

AllowUploadOverAccountSize


optional, Bool

If missed, current value is not changed.

DataCenterCountryCodeIsoA2ISO 3166-1 two-letter country code (alpha-2) 

Optional, string, can be empty.

Now available data centers in following countries:

US - UNITED STATES

GB -UNITED KINGDOM

AU -AUSTRALIA

CA -CANADA

ZA -SOUTH AFRICA

If missed, current value is not changed.

If empty, backup server for new backup accounts will be selected automatically .

If parameter is correct country code, all new backup accounts of this entity will persist data in scope of data centers restricted by region of specific country.Existing backup accounts will continue use back servers assigned when account was created.

If parameter is correct country code, but there are no data centers in that country, error is fired ( err-code: CannotFindDataCenterForCountry)

If parameter is not correct ISO 3166-1 two-letter country code,error is fired( err-code: InvalidInputParameters)

Availability of non US backup servers should be discussed during sales by dedicated request to Account Manager

AutoUpgradeClientApp

Indicates if all accounts of company will use automatic update of client software

bool , Optional, no changes if missed

...

Output Value

Description

TypeUnits

CompanyEntityId

EntityId of company

Int
CompanyNameName of companyString
DiskQuotaGBQuota(Backup plan of Company)LongGigabytes
UsedSpaceKBUsed space utilization by contained accountsLongKilobytes
AllocatedSpaceMBSpace allocation by contained accountsLongMegabytes
NumberOfAccountsNumber of contained accountsInt
NumberOfLicensesShadowProtectV5Number of licenses assigned to companyInt
AllowUploadOverAccountSizeShows if accounts are able to exceed company's quotaBoolean


DataCenterCountryCodeIsoA2

ISO 3166-1 two-letter country code (alpha-2). Shows

location of data center, where company backup accounts

are created.

String

User Account  Management

...

Parameter

Description

Validation

EntityBackupPolicyID 

The unique ID of entity policy.  Used to identify entity policy.

Int.  Populated by SOS. On create entity policy just send 1.

TargetEntityID  ID of the parent Company/Partner. Int, >=0. Use 0 for yourself.

PolicyName

Unique name of policy

String, required, "^[\x20-\x3B\x3D\x3F-\x7F]*$";//ASCII without <>

DateCreated

Date when entity  policy was created.

DateTime.  Populated by SOS. On create entity policy just send any valid value.

BackupSet

Settings for the Smart Scanner

Object, Not mandatory

BackupSet.ScannerMode

Scope of scanning for file, i.e. where to scan.

Enum (ScanAll or ScanPersonal or DontScan)

BackupSet.BackupDocuments

Include document files to backup set.

Bool

BackupSet.BackupImages

Include image files to backup set.

Bool

BackupSet.BackupMusic

Include music files to backup set.

Bool

BackupSet.BackupVideo

Include video files to backup set. 

Bool

BackupSet.BackupCustom

Include files with specified in BackupSet.CustomFileTypes extensions

Bool

BackupSet.CustomFileTypes

Delimited list of custom file types to backup.

Used when  BackupSet.BackupCustom = true. 

String, Not mandatory.  E.g.: “xls, midi, txt”

Invalid characters are ASCII/Unicode characters 1 through 31, 

as well as quote ("), less than (<), greater than (>), pipe (|), backspace (\b), null (\0) and tab (\t).

Comma (,), dot (.), space ( ) and semicolon (;) are treated as separators. 

Empty extensions are ignored. 
BackupSet.ExcludeFileTypes

Delimited list of  file types to ignore.

It's applied to all types of the documents.

String, Not mandatory.  E.g.: “tmp, log, temp”

Invalid characters are ASCII/Unicode characters 1 through 31, 

as well as quote ("), less than (<), greater than (>), pipe (|), backspace (\b), null (\0) and tab (\t).

Comma (,), dot (.), space ( ) and semicolon (;) are treated as separators. 

 Empty extensions are ignored. 
ScheduleSettings for the scheduler.Object, Not mandatory

Schedule.ScheduleType

How often backup should run

Enum (Monthly or Weekly or Daily or Hourly)

Schedule.ScheduledTime

When to run backup. Only time part is used.

DateTime.

Schedule.ScheduledEndTimeWhen to terminate running backup. Only time part is used. Cannot be combined with Hourly ScheduleType.DateTime.
Schedule.UseEndTimeActivates ScheduledEndTime option.Bool

Schedule.ScheduledDayOfTheMonth

Day of month to run. Used  when  ScheduleType = Montly.

1-31

Schedule.ScheduledDayOfTheWeek

Day of week to run. Used  when  ScheduleType = Weekly.

Sunday or Monday or Tuesday or Wednesday or Thursday or Friday or Saturday

Schedule.ScheduledHoursBetweenRuns

Interval between backup runs.  Used  when  ScheduleType = Hourly.

1-12

RunAs

Credentials to run PC Client with.

Required if you want to backup when user is not logged in. 

Object, Not mandatory

RunAs.RunAsDomainAndLogin

Windows domain name and login.

Optional, String, 

@"^([^~!@#$\^&\*\(\)=\+\[\]\{\}\\\|;:'"",<>/\?\s]{1,15})\\(?!\x20+)([^~!@#$\^&\*\(\)=\+\[\]\{\}\\\|;:'"",<>/\?\s]{1,256})$"
  • Disallowed chars in user and domain/system name:  ~!@#$^&*()=+[]{}|;:'",<>/? and space
  • Domain/system name max length = 15 chars 
  • User name max length  in credentials  = 256.
  • Unicode is supported 

RunAs.RunAsPassword

Password for user above. it'll be kept  encrypted in SOS databases.

PC client don't keep it locally.

Optional, String

OptionsSome options and triggers. Object, Not mandatory

Options.RunScheduledBackup

Turns on/off  scheduller.  

Bool, use “true”

Options.RunWhenNotLoggedOn

Activates RunAs section.  If it's false backup will run by scheduler

only if user is currently logged in.

Bool, use “false”

Options.SendEmailReportAfterBackup

Whether to send backup email report

Bool

Options.EmailAddressToSendReportsTo

Coma separated list of emails to send report to

String, Required if previous SendEmailReportAfterBackup is true.

"^([a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9_-]+)*\.([a-zA-Z]{2,})($|[\s,;]+))+$"
Options.ExcludeFilesOlderThanDateExclude files that are older than inputed DateDateTime, Optional
Options.ExcludeFilesLargerThanMbExclude files that are larger than inputed value in MbInteger, > 0, Optional
Options.ExcludeFilesSmallerThanKbExclude files that are smaller than inputed value in KbInteger, > 0, Optional
Options.RemoveFilesAfterDaysTime limited retention policy parameter. If file's modification date is less than Current Date - Options.RemoveFilesAfterDays, files will be removed from cloudInteger, > 0, Optional, If value passed, EmailAddressToSendReportsTo must be true
Options.RemoveDeletedFilesAfterDaysTime limited retention policy parameter. If file have been deleted from Client PC, it will be also removed from cloud in RemoveDeletedFilesAfterDays daysInteger, > 0, Optional, If value passed, EmailAddressToSendReportsTo must be true
UseSystemAccountForScanningUserPersonalFolders
When set to true OBRM 7.3+  uses SYSTEM account to run backupBool, use “false”
ScannerFileFilters**Filter to apply to all files found by scanner.Object, Not mandatory
ScannerFileFilters.Mode**

How filter will should work:

  • None -  Include*  & Exclude* filters are completely ignored. 
  • IncludeByWildcard  - Only Include* filter fields are taken into account. At least one Include* field  is required in this mode.
  • ExcludeByWildCard - Only Exclude* filter fields are taken into account. At least one Exclude* filed is required in this mode.
None 
or IncludeByWildcard,
or ExcludeByWildCard
ScannerFileFilters.IncludeFiles**Semicolon separated values of file name (including extension) templates.Optional, String, '"^(?!(.*[\x22\x3C\x3E\x7C\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F\x3A\x5C\x2F]+.*))[^;]+(;*[^;]+)+$"
  • Disallowed chars invalid for NTFS file name. E.g. /|>:
  • Allowed wildcards ? (any character in amount of 1 or 0)  and ? (any, including 0,  amount of any characters)
  • Cannot start or end with semicolon ( ; )
  • Unicode is supported 
ScannerFileFilters.IncludeFolders**Semicolon separated values of folder path templates.Optional, String, "^(?!(.*[\x22\x3C\x3E\x7C\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F]+.*))[^;]+(;*([^;]*[*?]+[^;]*)+)+$"
  • Disallowed chars invalid for NTFS folder path. E.g. <|>:
  • Allowed wildcards ? (any character in amount of 1 or 0)  and ? (any, including 0,  amount of any characters)
  • Cannot start or end with semicolon ( ; )
  • Each folder path template should include at least one wildcard character (* or ?)
  • UNC and local folder paths are supported
  • Unicode is supported 
ScannerFileFilters.ExcludeFiles**Semicolon separated values of file name (including extension) templates.Optional, String,'"^(?!(.*[\x22\x3C\x3E\x7C\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F\x3A\x5C\x2F]+.*))[^;]+(;*[^;]+)+$"
  • Disallowed chars invalid for NTFS file name. E.g. /|>:
  • Allowed wildcards ? (any character in amount of 1 or 0)  and ? (any, including 0,  amount of any characters)
  • Cannot start or end with semicolon ( ; )
  • Unicode is supported 
ScannerFileFilters.ExcludeFolders**Semicolon separated values of folder path templates.Optional, String,"^(?!(.*[\x22\x3C\x3E\x7C\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F]+.*))[^;]+(;*([^;]*[*?]+[^;]*)+)+$"
  • Disallowed chars invalid for NTFS folder path. E.g. <|>:
  • Allowed wildcards ? (any character in amount of 1 or 0)  and ? (any, including 0,  amount of any characters)
  • Cannot start or end with semicolon ( ; )
  • Each folder path template should include at least one wildcard character (* or ?)
  • UNC and local folder paths are supported
  • Unicode is supported 
LiveProtectWholeBackupSet**When set to true OBRM 7.6+  automatically turns on LiveProtect  technology for each file found accordingly to Explicit Pathes ( aka GetBackupSetCustomPathes method data). LiveProtect technology ensures that file uploaded to the cloud shortly after it has been modified.Bool, optional. Default and when not specified  is false

...

Parameter

Description

Validation

AccountBackupPolicyID

The unique ID of account policy.  Used to identify account policy.

Int.  Populated by SOS. On create account policy just send 1.

AccountName

Username


TargetEntityID  ID of the parent Company/Partner.  Int, >=0. Use 0 for yourself.

EntityBackupPolicyID


ID of Entity Policy to assign

Integer, >0

SystemName

Name of machine

String, Optional,

@"^([^~!@#$\^&\*\(\)=\+\[\]\{\}\\\|;:'"",<>/\?\s]{1,25})$"
  • Disallowed chars:  ~!@#$^&*()=+[]{}|;:'",<>/? and space
  • max length = 25 
  • unicode is supported

If SystemName is not specified, policy applies to all devices where user with specified AccountName logs in.

PolicyName

Name of Entity Policy

Optional,  Ignored. On create account policy just leave empty.


DateCreated

Date when account policy was created.

DateTime.  Populated by SOS. On create account policy just send any valid value.

RunAs

Credentials to run PC Client with.

When defined they override Entity Policy Credentials.

Object, Not mandatory

RunAs.RunAsDomainAndLogin

Windows domain name and login.

Optional, String, 

@"^([^~!@#$\^&\*\(\)=\+\[\]\{\}\\\|;:'"",<>/\?\s]{1,15})\\(?!\x20+)([^~!@#$\^&\*\(\)=\+\[\]\{\}\\\|;:'"",<>/\?\s]{1,256})$"
  • Disallowed chars in user and domain/system name:  ~!@#$^&*()=+[]{}|;:'",<>/? and space
  • Domain/system name max length = 15 chars 
  • User name max length  in credentials  = 256.
  • Unicode is supported 

RunAs.RunAsPassword

Password for user above. it'll be kept  encrypted in SOS databases.

PC client don't keep it locally.

Optional, String

...

Parameter

Description

Validation

AccountName

Username


EntityBackupPolicyID


ID of Entity Policy to assign

Integer, >0

SystemName

Name of machine

String, Optional

@"^([^~!@#$\^&\*\(\)=\+\[\]\{\}\\\|;:'"",<>/\?\s]{1,25})$"

  • Disallowed chars:  ~!@#$^&*()=+[]{}|;:'",<>/? and space
  • max length = 25
  • unicode is supported

If SystemName is not specified, policy applies to all devices where user with specified AccountName logs in. 

TargetEntityID ID of the parent Company/Partner.  Int, >=0. Use 0 for yourself.

...

Parameter

Description

Validation

AccountName

Username


SystemName

Name of machine

String, Optional. When it's not null  result set is filtered by provided system name.

@"^([^~!@#$\^&\*\(\)=\+\[\]\{\}\\\|;:'"",<>/\?\s]{1,25})$"

  • Disallowed chars:  ~!@#$^&*()=+[]{}|;:'",<>/? and space
  • max length = 25 
  • unicode is supported
TargetEntityID ID of the parent Company/Partner.  Int, >=0. Use 0 for yourself.

...

Parameter

Description

Validation

AccountName

Username


SystemName

Name of machine

String, Required

@"^([^~!@#$\^&\*\(\)=\+\[\]\{\}\\\|;:'"",<>/\?\s]{1,25})$"

  • Disallowed chars:  ~!@#$^&*()=+[]{}|;:'",<>/? and space
  • max length = 25
  • unicode is supported 
TargetEntityIDID of the parent Company/Partner.  Int, >=0. Use 0 for yourself.

...

Output Value

Description

TypeUnits

AccountName

Identifies account.

String
SystemName

Identifies system.

String
EntityIdIdentifies entity (Company, Partner) for which account this event is fired.Int

ClientDate

Identifies when event was fired on client side.

DateTime, UTC
HistoryRecoveryEventType

Possible values:

RecoveryCompleted

RecoveryFailed

String
RecoveryIdIdentifies recoveryString
RecoveryDurationDuration of recovery at moment when event was firedLongSeconds
ClientVersionVersion of backup softwareString, formatted as: major.minor.build.revision
Summary

N/A

String



Appliances Management

...


Request:

Parameter

Description

Validation

Uuid

Identifier of appliance

 Appliance must have HasRemoteAccess = true

Request example:

Code Block
xml
xml
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">sosonlinebackup.com/GetEntityApplianceBrowseInfo</Action>
    <h:AuthHeader xmlns="sosonlinebackup.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:h="sosonlinebackup.com">
      <UserName>AacmeES</UserName>
      <Password>***</Password>
    </h:AuthHeader>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <GetEntityApplianceBrowseInfo xmlns="sosonlinebackup.com">
      <request>
        <Uuid>890446db-ad5a-0b39-e0a8-d721307c2f21</Uuid>
      </request>
    </GetEntityApplianceBrowseInfo>
  </s:Body>
</s:Envelope>


Response:

Field

Description

Type

Url

url to remote access page

string

Response example:

Code Block
xml
xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" />
  <soap:Body>
    <GetEntityApplianceBrowseInfoResponse xmlns="sosonlinebackup.com">
      <GetEntityApplianceBrowseInfoResult>
        <Url>https://***.evscloud.com/?authtoken=***/***&amp;top=Jobs&amp;sub=History</Url>
        <Result>
          <Result>0</Result>
          <Code>Success</Code>
        </Result>
      </GetEntityApplianceBrowseInfoResult>
    </GetEntityApplianceBrowseInfoResponse>
  </soap:Body>
</soap:Envelope>


Folder Backup Management

Endpoints:

Sandbox: https://secure-sandbox.sosonlinebackup.com/WebApi/AccountManagementService/AdvancedFolderBackupManagementService.asmx

Production: https://secure.sosonlinebackup.com/WebApi/AccountManagementService/AdvancedFolderBackupManagementService.asmx


Object: ImageStreamSettings

Parameter

Description

Validation

ImageStreamSettingsIdImage stream settings identifierInt, required
ImageStreamFoldersCollection of object:ImageStreamFolder
SendEmailReportCheck if need to send report on SendEmailReportTo email addressbool
SendEmailReportToEmail address, on which email report will be sentstring, email address
RunAsEnabledSet to true if you need to run as userbool
RunAsUsernameUsername if you are running under specific user

string

required if RunAsEnabled is set to true

RunAsPasswordPassword if you are running under specific user

string

required if RunAsEnabled is set to true


Object: ImageStreamFolder

Parameter

Description

Validation

ImageStreamFolderIdImage stream folder identifierint, required
BackupScheduleObject:BackupSchedule
FolderFriendlyNameFolder namestring, required
FolderPathFolder pathstring, required
FolderPathDomainUserUser for specified folderstring, optional
FolderPathPasswordPassword for specified folderstring, optional
RetentionPolicyTypeId

Unknown = 0,
Replicate = 1,
ForeverSave = 2,
Archive = 3,
TimeLimited = 4,
CloudRetention = 5

int, required
TimeLimitedBackupDaysLimited backup daysint, required
SkipFilesModifiedDays

Skip files that were not modified X last days

Could be specified if RetentionPolicyTypeId = 2-5

int, optional

CloudDeleteOlderThanDaysDelete files that are older then X days

int, optional

Required if RetentionPolicyTypeId = 5

CloudForWholeHierarchyInclude subfoldersbool
DateCreatedDate createddatetime


Object: BackupSchedule

Parameter

Description

Validation

ScheduleTypeId

Frequency

Unknown = 0,
Hourly = 1,
Daily = 2,
Weekly = 3,
Monthly = 4

int, required
HourlyPeriod

Hourly period

int, optional

Required if ScheduleTypeId is set to 1

WeeklyDayOfWeek

Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday

string, optional

Required if ScheduleTypeId is set to 3

MonthlyDayNumberDay of Month

int, 1-31, optional

Required if ScheduleTypeId is set to 4

StartTimeUTC

Start time

Could be specified if ScheduleTypeId = 2-4

datetime, required
EndTimeUTC

End time

Could be specified if ScheduleTypeId = 2-4

datetima, optional

Required if EndTimeEnabled is set to true

EndTimeEnabledFlag shows if EndTimeUTC should be enteredbool, required


Operation: GetAdvancedFolderSettings

Sandbox: https://secure-sandbox.sosonlinebackup.com/WebApi/AccountManagementService/AdvancedFolderBackupManagementService.asmx?op=GetAdvancedFolderSettings

Production: https://secure.sosonlinebackup.com/WebApi/AccountManagementService/AdvancedFolderBackupManagementService.asmx?op=GetAdvancedFolderSettings

Get folder settings:

Request:

ParameterDescriptionValidation
UserNameIdentifies account

Required, "^[^<>]{0,100}$"

SystemNameComputer system nameRequired


Request example:

Code Block
xml
xml
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <AuthHeader xmlns="sosonlinebackup.com">
      <UserName>AacmeES</UserName>
      <Password>*****</Password>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <GetAdvancedFolderSettings xmlns="sosonlinebackup.com">
      <request>
        <UserName>Alex</UserName>
        <SystemName>alex-pc</SystemName>
      </request>
    </GetAdvancedFolderSettings>
  </soap:Body>
</soap:Envelope>


Response:

FieldDescriptionType
ImageStreamSettings
object:ImageStreamSettings


Response example:

Code Block
xml
xml
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <GetAdvancedFolderSettingsResponse xmlns="sosonlinebackup.com">
      <GetAdvancedFolderSettingsResult>
        <ImageStreamSettings>
          <ImageStreamSettingsId>53</ImageStreamSettingsId>
          <ImageStreamFolders>
            <ImageStreamFolder>
              <ImageStreamFolderId>527</ImageStreamFolderId>
              <BackupSchedule>
                <ScheduleTypeId>2</ScheduleTypeId>
                <HourlyPeriod>1</HourlyPeriod>
                <WeeklyDayOfWeek>Wednesday</WeeklyDayOfWeek>
                <MonthlyDayNumber>3</MonthlyDayNumber>
                <StartTimeUTC>2015-06-05T08:22:33Z</StartTimeUTC>
                <EndTimeUTC>2015-06-05T20:59:59Z</EndTimeUTC>
                <EndTimeEnabled>true</EndTimeEnabled>
              </BackupSchedule>
              <FolderFriendlyName>My_Folder</FolderFriendlyName>
              <FolderPath>C:\ddd</FolderPath>
              <FolderPathDomainUser>alex-pc\Alex</FolderPathDomainUser>
              <FolderPathPassword>***</FolderPathPassword>
              <RetentionPolicyTypeId>5</RetentionPolicyTypeId>
              <TimeLimitedBackupDays>33</TimeLimitedBackupDays>
              <SkipFilesModifiedDays>8</SkipFilesModifiedDays>
              <CloudDeleteOlderThanDays>4</CloudDeleteOlderThanDays>
              <CloudForWholeHierarchy>false</CloudForWholeHierarchy>
              <DateCreated>2015-06-05T13:09:02.7454428Z</DateCreated>
            </ImageStreamFolder>
            <ImageStreamFolder>
              <ImageStreamFolderId>528</ImageStreamFolderId>
              <BackupSchedule>
                <ScheduleTypeId>2</ScheduleTypeId>
                <HourlyPeriod>1</HourlyPeriod>
                <WeeklyDayOfWeek>Wednesday</WeeklyDayOfWeek>
                <MonthlyDayNumber>3</MonthlyDayNumber>
                <StartTimeUTC>2015-06-05T08:22:33Z</StartTimeUTC>
                <EndTimeUTC>2015-06-05T20:59:59Z</EndTimeUTC>
                <EndTimeEnabled>true</EndTimeEnabled>
              </BackupSchedule>
              <FolderFriendlyName>My_Folder2</FolderFriendlyName>
              <FolderPath>C:\fff</FolderPath>
              <FolderPathDomainUser>alex-pc\Alex</FolderPathDomainUser>
              <FolderPathPassword>***</FolderPathPassword>
              <RetentionPolicyTypeId>5</RetentionPolicyTypeId>
              <TimeLimitedBackupDays>33</TimeLimitedBackupDays>
              <SkipFilesModifiedDays>8</SkipFilesModifiedDays>
              <CloudDeleteOlderThanDays>4</CloudDeleteOlderThanDays>
              <CloudForWholeHierarchy>false</CloudForWholeHierarchy>
              <DateCreated>2015-06-05T13:09:02.7454428Z</DateCreated>
            </ImageStreamFolder>
          </ImageStreamFolders>
          <SendEmailReport>true</SendEmailReport>
          <SendEmailReportTo>email@domain.com</SendEmailReportTo>
          <RunAsEnabled>true</RunAsEnabled>
          <RunAsUsername>alex-pc\alex</RunAsUsername>
          <RunAsPassword>***</RunAsPassword>
        </ImageStreamSettings>
        <Result>
          <Result>0</Result>
          <Code>Success</Code>
        </Result>
      </GetAdvancedFolderSettingsResult>
    </GetAdvancedFolderSettingsResponse>
  </soap:Body>
</soap:Envelope>


Operation: SetAdvancedFolderSettings

Sandbox: https://secure-sandbox.sosonlinebackup.com/WebApi/AccountManagementService/AdvancedFolderBackupManagementService.asmx?op=SetAdvancedFolderSettings

Production: https://secure.sosonlinebackup.com/WebApi/AccountManagementService/AdvancedFolderBackupManagementService.asmx?op=SetAdvancedFolderSettings

Set folder settings:

Request:

ParameterDescriptionValidation
UserNameIdentifies account

Required, "^[^<>]{0,100}$"

SystemNameComputer system nameRequired
ImageStreamSettingsobject:ImageStreamSettingsRequired


Request example:

Code Block
xml
xml
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <AuthHeader xmlns="sosonlinebackup.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Password>AacmeES</Password>
      <UserName>***</UserName>
    </AuthHeader>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SetAdvancedFolderSettings xmlns="sosonlinebackup.com">
      <request>
        <UserName>Alex</UserName>
        <SystemName>alex-pc</SystemName>
        <ImageStreamSettings>
          <ImageStreamSettingsId>53</ImageStreamSettingsId>
          <ImageStreamFolders>
            <ImageStreamFolder>
              <ImageStreamFolderId>0</ImageStreamFolderId>
              <BackupSchedule>
                <ScheduleTypeId>2</ScheduleTypeId>
                <HourlyPeriod>1</HourlyPeriod>
                <WeeklyDayOfWeek>Wednesday</WeeklyDayOfWeek>
                <MonthlyDayNumber>3</MonthlyDayNumber>
                <StartTimeUTC>2015-06-11T11:22:33+03:00</StartTimeUTC>
                <EndTimeUTC>2015-06-11T23:59:59+03:00</EndTimeUTC>
                <EndTimeEnabled>true</EndTimeEnabled>
              </BackupSchedule>
              <FolderFriendlyName>My_Folder</FolderFriendlyName>
              <FolderPath>C:\ddd</FolderPath>
              <FolderPathDomainUser>alex-pc\alex</FolderPathDomainUser>
              <FolderPathPassword>***</FolderPathPassword>
              <RetentionPolicyTypeId>5</RetentionPolicyTypeId>
              <TimeLimitedBackupDays>33</TimeLimitedBackupDays>
              <SkipFilesModifiedDays>8</SkipFilesModifiedDays>
              <CloudDeleteOlderThanDays>4</CloudDeleteOlderThanDays>
              <CloudForWholeHierarchy>false</CloudForWholeHierarchy>
              <DateCreated>2015-06-11T13:05:10.6790525+03:00</DateCreated>
            </ImageStreamFolder>
            <ImageStreamFolder>
              <ImageStreamFolderId>0</ImageStreamFolderId>
              <BackupSchedule>
                <ScheduleTypeId>2</ScheduleTypeId>
                <HourlyPeriod>1</HourlyPeriod>
                <WeeklyDayOfWeek>Wednesday</WeeklyDayOfWeek>
                <MonthlyDayNumber>3</MonthlyDayNumber>
                <StartTimeUTC>2015-06-11T11:22:33+03:00</StartTimeUTC>
                <EndTimeUTC>2015-06-11T23:59:59+03:00</EndTimeUTC>
                <EndTimeEnabled>true</EndTimeEnabled>
              </BackupSchedule>
              <FolderFriendlyName>My_Folder2</FolderFriendlyName>
              <FolderPath>C:\fff</FolderPath>
              <FolderPathDomainUser>alex-pc\alex</FolderPathDomainUser>
              <FolderPathPassword>***</FolderPathPassword>
              <RetentionPolicyTypeId>5</RetentionPolicyTypeId>
              <TimeLimitedBackupDays>33</TimeLimitedBackupDays>
              <SkipFilesModifiedDays>8</SkipFilesModifiedDays>
              <CloudDeleteOlderThanDays>4</CloudDeleteOlderThanDays>
              <CloudForWholeHierarchy>false</CloudForWholeHierarchy>
              <DateCreated>2015-06-11T13:05:10.6900604+03:00</DateCreated>
            </ImageStreamFolder>
          </ImageStreamFolders>
          <SendEmailReport>true</SendEmailReport>
          <SendEmailReportTo>email@domain.com</SendEmailReportTo>
          <RunAsEnabled>true</RunAsEnabled>
          <RunAsUsername>alex-pc\alex</RunAsUsername>
          <RunAsPassword>***</RunAsPassword>
        </ImageStreamSettings>
      </request>
    </SetAdvancedFolderSettings>
  </s:Body>
</s:Envelope>



Response:

FieldDescriptionType
ImageStreamSettings
object:ImageStreamSettings

Response example:

Code Block
xml
xml
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <SetAdvancedFolderSettingsResponse xmlns="sosonlinebackup.com">
      <SetAdvancedFolderSettingsResult>
        <ImageStreamSettings>
          <ImageStreamSettingsId>53</ImageStreamSettingsId>
          <ImageStreamFolders>
            <ImageStreamFolder>
              <ImageStreamFolderId>529</ImageStreamFolderId>
              <BackupSchedule>
                <ScheduleTypeId>2</ScheduleTypeId>
                <HourlyPeriod>1</HourlyPeriod>
                <WeeklyDayOfWeek>Wednesday</WeeklyDayOfWeek>
                <MonthlyDayNumber>3</MonthlyDayNumber>
                <StartTimeUTC>2015-06-11T08:22:33Z</StartTimeUTC>
                <EndTimeUTC>2015-06-11T20:59:59Z</EndTimeUTC>
                <EndTimeEnabled>true</EndTimeEnabled>
              </BackupSchedule>
              <FolderFriendlyName>My_Folder</FolderFriendlyName>
              <FolderPath>C:\ddd</FolderPath>
              <FolderPathDomainUser>alex-pc\alex</FolderPathDomainUser>
              <FolderPathPassword>***</FolderPathPassword>
              <RetentionPolicyTypeId>5</RetentionPolicyTypeId>
              <TimeLimitedBackupDays>33</TimeLimitedBackupDays>
              <SkipFilesModifiedDays>8</SkipFilesModifiedDays>
              <CloudDeleteOlderThanDays>4</CloudDeleteOlderThanDays>
              <CloudForWholeHierarchy>false</CloudForWholeHierarchy>
              <DateCreated>2015-06-11T10:05:10.6790525Z</DateCreated>
            </ImageStreamFolder>
            <ImageStreamFolder>
              <ImageStreamFolderId>530</ImageStreamFolderId>
              <BackupSchedule>
                <ScheduleTypeId>2</ScheduleTypeId>
                <HourlyPeriod>1</HourlyPeriod>
                <WeeklyDayOfWeek>Wednesday</WeeklyDayOfWeek>
                <MonthlyDayNumber>3</MonthlyDayNumber>
                <StartTimeUTC>2015-06-11T08:22:33Z</StartTimeUTC>
                <EndTimeUTC>2015-06-11T20:59:59Z</EndTimeUTC>
                <EndTimeEnabled>true</EndTimeEnabled>
              </BackupSchedule>
              <FolderFriendlyName>My_Folder2</FolderFriendlyName>
              <FolderPath>C:\fff</FolderPath>
              <FolderPathDomainUser>alex-pc\alex</FolderPathDomainUser>
              <FolderPathPassword>***</FolderPathPassword>
              <RetentionPolicyTypeId>5</RetentionPolicyTypeId>
              <TimeLimitedBackupDays>33</TimeLimitedBackupDays>
              <SkipFilesModifiedDays>8</SkipFilesModifiedDays>
              <CloudDeleteOlderThanDays>4</CloudDeleteOlderThanDays>
              <CloudForWholeHierarchy>false</CloudForWholeHierarchy>
              <DateCreated>2015-06-11T10:05:10.6900604Z</DateCreated>
            </ImageStreamFolder>
          </ImageStreamFolders>
          <SendEmailReport>true</SendEmailReport>
          <SendEmailReportTo>email@domain.com</SendEmailReportTo>
          <RunAsEnabled>true</RunAsEnabled>
          <RunAsUsername>alex-pc\alex</RunAsUsername>
          <RunAsPassword>***</RunAsPassword>
        </ImageStreamSettings>
        <Result>
          <Result>0</Result>
          <Code>Success</Code>
        </Result>
      </SetAdvancedFolderSettingsResult>
    </SetAdvancedFolderSettingsResponse>
  </soap:Body>
</soap:Envelope>


Backup Devices Management

Endpoints:

Sandboxhttps://secure-sandbox.sosonlinebackup.com/WebApi/AccountManagementService/BackupDevicesManagementService.asmx

Productionhttps://secure.sosonlinebackup.com/WebApi/BackupDevicesManagementService/AppliancesManagementService.asmx


Operation: GetBackupDevices

Sandboxhttps://secure-sandbox.sosonlinebackup.com/WebApi/AccountManagementService/BackupDevicesManagementService.asmx?op=GetBackupDevices

Productionhttps://secure.sosonlinebackup.com/WebApi/AccountManagementService/BackupDevicesManagementService.asmx?op=GetBackupDevices

Extracts devices details using filter:

Request:

Parameter

Description

Validation

UserName

Filters devices by backup account

string, required

It is supposed that client of this service belongs to entity identified by ApiCallerEntityId

User name must belong to ApiCallerEntityId hierarchy


SystemName

Filters devices by device name

string, optional

Request example:

Code Block
xml
xml
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">sosonlinebackup.com/GetBackupDevices</Action>
    <h:AuthHeader xmlns="sosonlinebackup.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:h="sosonlinebackup.com">
      <UserName>2117WS</UserName>
      <Password>*****</Password>
    </h:AuthHeader>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <GetBackupDevices xmlns="sosonlinebackup.com">
      <request>
        <UserName>tests</UserName>
      </request>
    </GetBackupDevices>
  </s:Body>
</s:Envelope>


Response:

Returns result as array where each item describes device details:

Field

Description

Type

UserName

Backup account that uses device

string
SystemName

Device name

string
ProductVersionVersion of backup softwarestring, formatted as: major.minor.build.revision
RegistrationDateUtcDescribes when device successfully logged in first timeDateTime, UTC
OsNameName of installed operating systemstring
ClrVersionVersion of .NET (if installed )string

Response example:

Code Block
xml
xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" />
  <soap:Body>
    <GetBackupDevicesResponse xmlns="sosonlinebackup.com">
      <GetBackupDevicesResult>
        <BackupDevices>
          <BackupDevice>
            <UserName>tests</UserName>
            <SystemName>TURCH2</SystemName>
            <ProductVersion>5.14.0.109</ProductVersion>
            <RegistrationDateUtc>2014-06-25T14:33:51.393</RegistrationDateUtc>
            <OsName>Windows 7</OsName>
            <ClrVersion>4.0.30319.18063</ClrVersion>
          </BackupDevice>
          <BackupDevice>
            <UserName>tests</UserName>
            <SystemName>ANDREY-VM</SystemName>
            <ProductVersion>5.13.0.758</ProductVersion>
            <RegistrationDateUtc>2014-06-27T09:57:27.97</RegistrationDateUtc>
            <OsName>Windows 7</OsName>
            <ClrVersion>4.0.30319.17929</ClrVersion>
          </BackupDevice>
          <BackupDevice>
            <UserName>tests</UserName>
            <SystemName>QAVM4</SystemName>
            <ProductVersion>5.15.1.47</ProductVersion>
            <RegistrationDateUtc>2014-11-19T10:51:59.603</RegistrationDateUtc>
            <OsName>Windows Server 2008 R2</OsName>
            <ClrVersion>4.0.30319.18444</ClrVersion>
          </BackupDevice>
        </BackupDevices>
        <Result>
          <Result>0</Result>
          <Code>Success</Code>
        </Result>
      </GetBackupDevicesResult>
    </GetBackupDevicesResponse>
  </soap:Body>
</soap:Envelope>
Operation: GetDeviceAccounts (added on Mar 2018)

Sandboxhttps://secure-sandbox.sosonlinebackup.com/WebApi/AccountManagementService/BackupDevicesManagementService.asmx?op=GetDeviceAccounts

Productionhttps://secure.sosonlinebackup.com/WebApi/AccountManagementService/BackupDevicesManagementService.asmx?op=GetDeviceAccounts

Gets all backup accounts registered on device:

Request:

Parameter

Description

Validation

TargetEntityID

ID of the Partner/Distributor, i.e. the root of the hierarchy thee.

required, int, >=0.

Use 0 for yourself.

InstallationIdDesigned as unique,  OBRM installation ID. Generated  and stored on divice during installation.  Doesn't get changed after upgrade.

required, guid string

Examples: 

"ca761232ed4211cebacd00aa0057b223"
"CA761232-ED42-11CE-BACD-00AA0057B223"
"{CA761232-ED42-11CE-BACD-00AA0057B223}"
"(CA761232-ED42-11CE-BACD-00AA0057B223)"
SystemName

Windows system/computer/device name

string, optional

IsActiveUserAllows to get only active (true), inactive (false) or all (when not set) accountsboolean, optional
IsActiveRegistrationAllows to get only curent (true), obsolete (false) or all (when not set) device registrationsboolean, optional


Request example:

Code Block
xml
xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sos="sosonlinebackup.com">
   <soapenv:Header>
      <sos:AuthHeader>
         <sos:UserName>*****</sos:UserName><sos:Password>*****</sos:Password>
      </sos:AuthHeader>
   </soapenv:Header>
   <soapenv:Body>
      <sos:GetDeviceAccounts>
         <sos:request>
            <sos:TargetEntityID>0</sos:TargetEntityID>
            <sos:InstallationId>BAD412D2-1330-4C99-837F-442F1C8D3093</sos:InstallationId>
           <sos:SystemName>MVR01372</sos:SystemName>
           <sos:IsActiveUser>true</sos:IsActiveUser>
            <sos:IsActiveRegistration>true</sos:IsActiveRegistration>
         </sos:request>
      </sos:GetDeviceAccounts>
   </soapenv:Body>
</soapenv:Envelope>


Response:

Returns result as array where each item describes device details:

Field

Description

Type

UserName

Backup account that uses device

string
SystemName

Windows system/computer/device name

string
IpIp adress of devicestring, e.g "8.8.4.4"
EntityIDEntity that owns  UserNameint
BackupDeviceIDGlobally uinique device idint
IsActiveUserIs backup account activeboolean
IsActiveRegistrationIs it this device registration activeboolean
ProductVersionVersion of backup softwarestring, formatted as: major.minor.build.revision
UsedSpaceKbBacked up data size, Kblong
RegistrationDateUtcDescribes when device successfully logged in first timeDateTime, UTC
LastBackupDateLast backup dateDateTime
LastConnectedDateUtcVersion of .NET (if installed )DateTime, UTC

Response example:

Code Block
xml
xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <GetDeviceAccountsResponse xmlns="sosonlinebackup.com">
         <GetDeviceAccountsResult>
            <Accounts>
               <AccountOnDevice>
                  <UserName>nlemen@xxx.com</UserName>
                  <SystemName>MVR01372</SystemName>
                  <Ip>50.23.4.207</Ip>
                  <EntityID>2095</EntityID>
                  <BackupDeviceID>126428</BackupDeviceID>
                  <IsActiveUser>true</IsActiveUser>
                  <IsActiveRegistration>true</IsActiveRegistration>
                  <ProductVersion>5.14.1.116</ProductVersion>
                  <UsedSpaceKb>639372</UsedSpaceKb>
                  <RegistrationDateUtc>2014-12-22T18:43:32.05</RegistrationDateUtc>
                  <LastBackupDate>2015-02-04T09:15:09.713</LastBackupDate>
                  <LastConnectedDateUtc>2015-02-06T13:53:03.65</LastConnectedDateUtc>
               </AccountOnDevice>
            </Accounts>
            <SupposedlyMainAccount>
               <UserName>nlemen@xxx.com</UserName>
               <SystemName>MVR01372</SystemName>
               <Ip>50.23.4.207</Ip>
               <EntityID>2095</EntityID>
               <BackupDeviceID>126428</BackupDeviceID>
               <IsActiveUser>true</IsActiveUser>
               <IsActiveRegistration>false</IsActiveRegistration>
               <ProductVersion>5.14.1.116</ProductVersion>
               <UsedSpaceKb>639372</UsedSpaceKb>
               <RegistrationDateUtc>2014-12-22T18:43:32.05</RegistrationDateUtc>
               <LastBackupDate>2015-02-04T09:15:09.713</LastBackupDate>
               <LastConnectedDateUtc>2015-02-06T13:53:03.65</LastConnectedDateUtc>
            </SupposedlyMainAccount>
            <Result>
               <Result>0</Result>
               <Code>Success</Code>
            </Result>
         </GetDeviceAccountsResult>
      </GetDeviceAccountsResponse>
   </soap:Body>
</soap:Envelope>

Cloud Application Backup Management

Endpoints:

Sandbox: https://secure-sandbox.sosonlinebackup.com/WebAPI/AccountManagementService/CloudApplicationBackupManagementService.asmx

Production: https://secure.sosonlinebackup.com/WebAPI/AccountManagementService/CloudApplicationBackupManagementService.asmx


Operation: EnableBackup  (added on May 2018)

Sandbox: https://secure-sandbox.sosonlinebackup.com/WebAPI/AccountManagementService/CloudApplicationBackupManagementService.asmx?op=EnableBackup

Production: https://secure.sosonlinebackup.com/WebAPI/AccountManagementService/CloudApplicationBackupManagementService.asmx?op=EnableBackup

Request:


ParameterDescriptionValidation
ForEntityIdEntity owner of ICAB accountint
EmailLogin of ICAB account

string, can be null. When null GeneralContactEmail of entity is used.

RegionLocation of data center

string, can be null. When null  'US_EST' is used.

Valid values are (without quotes):  'US_EST' , 'CANADA', 'EU'  and  'ASIA_SIDNEY'

Request example:

...

An opposite to EnableBackup method. Disables Infrascale Cloud Applications Backup for given entity by un-subscribing its account from ICAB Services.

Request:


ParameterDescriptionValidation
TargetEntityID

EntityID of the Partner/Company/Distributor which ICAB account you want to disable, i.e unsubscribe from ICAB Services.

Int, >=0. Use 0 for yourself.


Request example:

...

ParameterDescriptionValidation
TargetEntityIDEntityID of the Partner/Company/Distributor for which you want to get cloud backup usage

int, >=0. Use 0 for yourself.

PageNumberThe page number

int >= 1

PageSizeThe number of companies to display per page

int > 0, Default value: 1000

Request example:

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sos="sosonlinebackup.com"> 
    <soapenv:Header> 
        <sos:AuthHeader>
            <sos:UserName>21***</sos:UserName>
            <sos:Password>k*****</sos:Password>
        </sos:AuthHeader>
    </soapenv:Header> 
    <soapenv:Body>
        <sos:GetCloudUsage>
            <sos:request> 
                <sos:ForEntityID>523</sos:ForEntityID> 
                <sos:PageNumber>1</sos:PageNumber>
                <sos:PageSize>1000</sos:PageSize>
            </sos:request> 
        </sos:GetCloudUsage> 
    </soapenv:Body> 
</soapenv:Envelope>

Response:

Returns result as array where each item describes cloud backup usage for an used cloud service:

FieldDescriptionType
LastBackupDateLast backup dateDateTime, can be null
AccountsFor the user based pricing the number of activated accountslong, can be null
StorageBytesFor the storage based pricing the number of used storage (in bytes)long, can be null
SourceService internal typestring
ServiceService namestring
ICABAccountNameName of the ICAB accountstring
AccountDateCreatedDate of creating of ICAB accountDateTime
CompanyIDEntityID of the Partner/Company/Distributor which uses cloud backupint
CompanyNamename  of Partner/Company/Distributor which uses cloud backupstring
ConfiguredDatedate when was configured the backup for the serviceDateTime, can be null
PageNumbernumber of a current pageint
NumberOfPagesTotal number of pagesint
TotalCountTotal number of companies for the requestint

...