Difference between revisions of "REST API Code Samples"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
 
(6 intermediate revisions by the same user not shown)
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="1" 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.
 
:* [{{DOCHOST}}/samples/demo/rest/PackageSubscribeClient.java PackageSubscribeClient] - Subscribe to a published package.
|-valign="top"
:* [{{DOCHOST}}/samples/demo/rest/StaticResourceUploadClient.java StaticResourceUploadClient] - Extends BaseClient to log in and then upload a static resource file.
| [[REST API:BaseUtil|BaseUtil]] || Utility classes used by BaseClient, mostly for message formatting.
 
|-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.
 
|-valign="top"
| [[REST API:Add a Note|Add a Note]]   || Add a note to an object record.
|}
:: ''Learn more:'' [[REST API]] pages, which contain additional code samples
:: ''Learn more:'' [[REST API]] pages, which contain additional code samples

Latest revision as of 23:56, 18 May 2015

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.
Add a Note   Add a note to an object record.
Learn more: REST API pages, which contain additional code samples