Difference between revisions of "Internal GCManage API"

From GrandCare Systems
Jump to navigation Jump to search
Line 2: Line 2:
GCManage API is used to get passcodes to systems
GCManage API is used to get passcodes to systems


* URL: https://gcmanage.grandcare.com/services.php?sname=<serviceName>&username=<username>&rawpassword=<password>
* URL: <nowiki>https://gcmanage.grandcare.com/services.php?sname=<serviceName>&username=<username>&rawpassword=<password></nowiki>
* Use GET or POST requests
* Use GET or POST requests
* Where serviceName corresponds to a valid service name (services listed below)
* Where serviceName corresponds to a valid service name (services listed below)

Revision as of 18:42, 1 August 2012

Introduction

GCManage API is used to get passcodes to systems

  • URL: https://gcmanage.grandcare.com/services.php?sname=<serviceName>&username=<username>&rawpassword=<password>
  • Use GET or POST requests
  • Where serviceName corresponds to a valid service name (services listed below)
  • Username is your GCManage username
  • Password is your GCManage password

Services

Remote Login

  • Service Name: remotelogin
  • Results
    • System URL (used to call down to the Como API)
    • Passcode (Como API Authentication code)
    • Account Name
    • System ID

Example

curl -k "https://gcmanage.grandcare.com/services.php?sname=remotelogin&username=foo&rawpassword=bar"
http://gcmanage.grandcare.com:21000/@@UDBvSFB6OC9EeDgxUDBJSFB6OC9hZz09@@main@@Account MyAccount - 314-999998
http://gcmanage.grandcare.com:22000/@@UHo4L0lUOENQeWMvUHo4clB6OC9UUT09@@main@@Account MyAccount2 - 314-999999

<system URL>@@<Passcode>@@main@@<Account Name> - <System ID>