Jump to content
XPEnology Community

Recommended Posts

Posted

The 404 is because the serialnumber is not a valid one. If you set a valid serialnumber in your grub.conf youll get the synology account login screen for activation instead of 404.

  • 1 month later...
Posted

code: 102 means the API does not exist. This happens if ActiveBackup is "stopped" or not installed. Make sure you can open ActiveBackup before calling the methods above. Also make sure to use the SerialNumber of youe synology station

  • Like 1
Posted

Does this method works for Active Backup Office365?

 

I tryed:

 

https://nas.my.domain:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365.Activation&method=set&version=1&activated=true&serial_number="1234567890"

 

but it doesn't work: {"error":{"code":102},"success":false}

 

Posted (edited)
3 hours ago, rain_cs said:

Does this method works for Active Backup Office365?

 

  • Login (replace URL, PORT, USER, PASS)
    • https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS

 

for ActiveBackup its the following urls

  • Get Activationstatus
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1
  • Set ActivationStatus (use your SERIALNUMBER)
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER" 

 

for Office365 its the following urls

  • Get Activationstatus
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=get_activation&version=1
  • Set ActivationStatus (use your SERIALNUMBER)
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="SERIALNUMBER"

 

for GSuite its the following urls

  • Get Activationstatus
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=get_activation&version=1
  • Set ActivationStatus (use your SERIALNUMBER)
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="SERIALNUMBER"
Edited by hoppler
  • Like 3
  • Thanks 10
Posted
34 minutes ago, raceboy said:

it will hold for any upward updates ?

 

Its what the apps do after you logged in successfully. therefore its no "hack" but the official way to activate those programs. as long as synology does not change that way it will uphold

  • 4 weeks later...
Posted

help!  when I tried this line:

 

https://server:5001/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=admin&passwd=admin

 with the correct server name, admin and password

 

My browser always does a search for this item on google or bing instead of returning the response.  

 

I can run the next two lines with the entry.cgi and I get the error back, but I can't get the 1st line with the auth.cgi to run.

 

It got to be something silly I'm missing.

 

Thanks!

Posted

please ignore, it works fine now.  Don't know what I was doing wrong.

----------------------------------------------------

help!  when I tried this line:

 

https://server:5001/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=admin&passwd=admin

 with the correct server name, admin and password

 

My browser always does a search for this item on google or bing instead of returning the response.  

 

I can run the next two lines with the entry.cgi and I get the error back, but I can't get the 1st line with the auth.cgi to run.

 

It got to be something silly I'm missing.

 

Thanks!

  • 2 weeks later...
Posted (edited)

Hi,

 

This option for activate the Active Backup for Business is not functional.

 

When type the first URL:

Login (replace URL, PORT, USER, PASS)

https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS

 

Appear this error:  {"error":{"code":400},"success":false}

 

Any idea??

 

My config is:

 

Ds3615xs

ESXI 6.7

 

 

Edited by Neos

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...