Loading...
 

Webservice Registration 

Overview
With this feature you can pull data from any JSON or SOAP enabled service, for example from Yahoo:
To access
Click the Webservice Registration icon on the Admin Panel
or
Access http://example.org/tiki-admin.php?page=webservices
Note
This feature is mainly useful for the Webservice Plugin



Option Description Default
Web services Can receive web services via JSON or YAML. Disabled
Default cache Cache time in seconds to use if the webservice does not supply "max-age" or "no-cache" in the response. 300 seconds
Option Description Default
Web services Can receive web services via JSON or YAML. Disabled
Default cache Cache time in seconds to use if the webservice does not supply "max-age" or "no-cache" in the response. 300 seconds
Option Description Default
Web services Can receive web services via JSON or YAML. Disabled
Default cache Cache time in seconds to use if the webservice does not supply "max-age" or "no-cache" in the response. 300 seconds
Option Description Default
Web services Can receive web services via JSON or YAML. Disabled
Default cache Cache time in seconds to use if the webservice does not supply “max-age” or “no-cache” in the response. 300 seconds
Option Description Default
Web Services Can receive web services via JSON or YAML Disabled
Option Description Default
Web Services Can receive web services via JSON or YAML Disabled
Option Description Default
Web Services Can consume webservices in JSON or YAML Disabled
Option Description Default
Web Services Can consume webservices in JSON or YAML Disabled
Option Description Default
Web Services Can consume webservices in JSON or YAML Disabled


Example 

Webservice returning JSON.

  1. In the "url" field enter:
    http://luciash.eu/paypal_balance_conversion_in_json.php?amount_in=%amount_in%&currency_in=%currency_in%&currency_out=%currency_out%
  2. In the "Type" dropdown leave "REST" selected.
  3. In the "Parameters" textarea fill in the parameters as:
    %amount_in%
    %currency_in%
    %currency_out%
  4. Click "Lookup" button.

Now you can test the parameters.
You should see 3 new fields appear where you can enter the values to test.
Enter:

  1. amount_in: 2
  2. currency_in: EUR
  3. currency_out: USD

The returned data under the "Response Information" will be something like this:

Array
(
    [amount_out_formatted] => 2.49 
    [from_currency_code] => USD
    [exchange_rate_formatted] => 1.24567
)

When tested you can save the Webservice under a name, e.g. paypalexchangerate (cannot contain anything else than letters) by clicking the "Register" button. Now you have registered Webservice called "paypalexchangerate" which you can use in PluginWebservice.


Page last modified on Wednesday 07 February, 2018 18:53:32 GMT-0000

doc.tiki.org

Bootstrap AdminGuide UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Trackers
Transitions
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show PHP error messages