Difference between revisions of "REST API Code Samples"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 1: Line 1:
:* [{{DOCHOST}}/samples/demo/rest/BaseClient.java BaseClient] - A client app that logs into the platform. (Requires BaseUtil) Can be extended to perform additional operations.
:{| border="0" cellpadding="5" cellspacing="0
:* [{{DOCHOST}}/samples/demo/rest/BaseUtil.java BaseUtil] - Utility methods used by the Base Client
|-valign="top"
:* [{{DOCHOST}}/samples/demo/rest/BulkUploadClient.java BulkUploadClient] - Upload object data en masse.
|[[REST API:BaseClient|BaseClient]] || Login, display sessionId, and logout.
:* [{{DOCHOST}}/samples/demo/rest/PackageDownloadClient.java PackageDownloadClient] - Download a published package.
|-valign="top"
:* [{{DOCHOST}}/samples/demo/rest/PackageSubscribeClient.java PackageSubscribeClient] - Subscribe to a published package.
|[[REST API:BaseUtil|BaseUtil]] || Utility classes used by BaseClient, mostly for message formatting.
:* [{{DOCHOST}}/samples/demo/rest/StaticResourceUploadClient.java StaticResourceUploadClient] - Extends BaseClient to log in and then upload a static resource file.
|-valign="top"
|[[REST_API:bulk_Resource#Sample_Http_Client_for_bulk_uploads|BulkUploadClient]] || Import CSV data
|-valign="top"
|[[REST_API:package_Resource#Sample_Package_Download_Client_Program | PackageDownloadClient]] || Download a package
|-valign="top"
|[[REST_API:package_Resource#Sample_Package_Subscribe_Client | PackageSubscribeClient]] || Subscribe to a package
|-valign="top"
|[[REST API:StaticResourceUploadClient|StaticResourceUploadClient]] || Upload a resource file to the platform.
|}
:: ''Learn more:'' [[REST API]] pages, which contain additional code samples
:: ''Learn more:'' [[REST API]] pages, which contain additional code samples

Revision as of 22:09, 2 July 2013

BaseClient Login, display sessionId, and logout.
BaseUtil Utility classes used by BaseClient, mostly for message formatting.
BulkUploadClient Import CSV data
PackageDownloadClient Download a package
PackageSubscribeClient Subscribe to a package
StaticResourceUploadClient Upload a resource file to the platform.
Learn more: REST API pages, which contain additional code samples