-
Notifications
You must be signed in to change notification settings - Fork 59
Services
Ooor expose as a Ruby API the same web-services exposed by OpenERP. There are 4 families of OpenERP web-services:
- Common: generic services generally not bound to any database
- Db: database management
- Object: business object web service inside a specific database
- Reports: report report printing services. You can eventually trigger a report computation and return immediately and download the report a few tenths of seconds layer when it's ready.
These web-services were traditionally exposed via XML/RPC. But since OpenERP v7, most of them are also exposed as JSON-RPC 2. Ooor 2.x has been pragmatic about that evolution and is using JSON-RPC where the speed advantage was making a difference (10x faster), that is for all the Object services and also for the login service in the Common web-services. On OpenERP 6.1, JSON falls back to XML/RPC transport.
- login
- logout
- ir_get
- ir_set
- ir_del
- about
- ooor_alias_login
- timezone_get
- get_available_updates
- get_migration_scripts
- get_server_environment
- login_message
- check_connectivity
- about
- get_stats
- list_http_services
- version
- authenticate
- get_available_updates
- set_loglevel
- get_os_time
- get_sqlcount
- get_progress
- drop
- dump
- restore
- rename
- db_exist
- list
- change_admin_password
- list_lang
- server_version
- migrate_databases
- create_database
- duplicate_database
See the dedicated documentation page
The Report services are dedicated to printing reports. You can eventually trigger a report computation and return immediately and download the report a few tenths of seconds layer when it's ready.
- report
- report_get
- render_report