Qore ZeyosRestClient Module Reference
1.0
|
this class provides the REST client API for communication with the zeyos.com CRM ERP system More...
Public Member Methods | |
constructor (hash< auto > options, *softbool do_not_connect) | |
creates the object with the given options More... | |
Static Public Member Methods | |
static hash< auto > | getOptions (hash< auto > options) |
returns options for the RestClient::constructor() | |
Private Member Methods | |
getToken () | |
logs in an sets the token for further communication | |
this class provides the REST client API for communication with the zeyos.com CRM ERP system
This class requires one of the following options for zeyos.com's authentication and authorization to the target server:
appsecret:
the zeyos.com's appsecrettoken:
the zeyos.com's token, if provided then the HTTP username, password, and appsecret are not needed and will be ignored.After connecting, the ZeyosRestClient class will request a session token that will be used in further communication.
ZeyosRestClient::ZeyosRestClient::constructor | ( | hash< auto > | options, |
*softbool | do_not_connect | ||
) |
creates the object with the given options
options | valid options are:
|
do_not_connect | if False (the default), then a connection will be immediately established to the remote server |
RESTCLIENT-ERROR | invalid option passed to constructor, unsupported data serialization, etc |
ZEYOSRESTCLIENT-ERROR | missing or invalid required option for Zeyos.com REST authentication or communication |