Difference between revisions of "Internal GCManage API"

From GrandCare Systems
Jump to navigation Jump to search
Line 12: Line 12:
* Service Name: remotelogin
* Service Name: remotelogin
* Results
* Results
** System URL (used to call down to the Como API)
** System URL (used to call down to the [[Como API]])
** Passcode (Como API Authentication code)
** Passcode ([[Como API]] Authentication code)
** Account Name
** Account Name
** System ID
** System ID

Revision as of 17:51, 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>