Get Started with the REST APIs

Calling the APIs for your mobile application

Our RESTful APIs are available for your application at:

https://api.cloudbase.io/<Application code>/...

Making an API call

When calling the cloudbase.io REST APIs you must POST a number of parameters to authenticate your app and give us additional information about the request.

Name Description Required Example
app_uniq This is the secret code assigned to your application. Yes 46644bfb307d7d881ae5d0986c6e5eae
app_pwd This is the md5-encoded application password Yes 5f4dcc3b5aa765d61d8327deb882cf99
output_format The output format Supported values are JSON, XML. By default the output is in JSON format No JSON
device_uniq This is a unique identifier for the device/client. For example the IMEI code of a mobile or the MAC Adrress of the client computer No 123456786543210
post_data This contains the JSON encoded data you are posting to our APIs. The data expected within this parameter differs in each API call Yes
[
	{ 
	  	"id": "file",
		"value": "File",
		"popup": {
			"menuitem": [
				{"value": "New"},
				{"value": "Open"},
				{"value": "Close"}
			]
		}
	}
]
location_data This array contains location information about the record. No
{
	"lat": 12.828383828373,
	"lng": 49.273738726372,
	"alt": 12.22
}
cb_auth_user If you have set your application security settings to require user authentication then this field should be populated with the username of your app user No JohnDoe
cb_auth_password If you have set your application security settings to require user authentication then this field should be populated with the password of your app user. No PasswordForTheUser