This request method allows you to retrieve a Data Source from the platform.
On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb.
The format query string parameter controls the desired response format. Specify either XML or JSON.
/api/v2/datasource?format=xml/json
ADDITIONAL INFO
CONTENTS
- Endpoints & API Explorer
- Parameters
- Example
Endpoints & API Explorer
Node | Endpoint | API Explorer |
US | https://secure.iforms.africa:443/api/v2/datasource | Model Description/Schema & Parameters |
Parameters
The GET verb allows you to retrieve a single DataSource, identified by its unique Id.
The required and optional parameters for a GET call to the DataSource API are outlined below.
Name | Type | Description | Required |
CompanyId | Integer | Your unique Company Id found on the Organisation Setup page of the secure website | ✓ |
IntegrationKey | String | Your unique Integration Key found on the Organisation Setup page of the secure website | ✓ |
Name | String | The data source name to search for | |
Id or ExternalId | GUID or String |
The unique identifier of the DataSource you wish to retrieve |
✓ |
ReturnRows | Boolean | Whether or not to return the Rows for this Data Source in the response. Defaults to False. If set to True, then will return Rows in a paginated form, using the PageSize and PageNo values below |
|
PageNo | Integer | The number of Rows returned per page. Maximum value of 100. Defaults to 100. |
|
PageSize | Integer |
The page number of the Rows result set that you wish to receive back. |
Example
Given that the API is REST-based, you can access the API directly via your web browser to test it using a REST plugin like the Postman plugin for Google Chrome.
Request URL
Response Body