Internal GCManage API

From GrandCare Systems
Revision as of 17:48, 1 August 2012 by Ngh (talk | contribs)
Jump to navigation Jump to search

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

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>

Remote Login