GET Environments (Search Multiple)

GET Environments (Search Multiple)

To search for and retrieve multiple Environments at once, use a GET with the Search API found at our API Explorer.

On the Cloud, this API is available via SSL-secured HTTPS connection using the GET verb. The format query string parameter controls the desired response format. Specify either XML or JSON.

/api/v2/environment/search?format=xml/json

You may use either JSON or XML formats in your DELETE request.
You indicate this by setting the ContentType HTTP header as “application/json” or “application/xml”.

If no ContentType is specified, XML format is assumed.

This API endpoint implements pagination, and as such you must cater for this when you connect to our platform. You can learn more about pagination in our API overview.


Endpoints & API Explorer

NodeAPI EndpointAPI Explorer
US/api/v2/environment/searchModel Description/Schema & Parameters

Parameters

The GET verb allows you to retrieve multiple Environments, identified by your unique MasterId. The required and optional parameters for a GET call to the Environment Search API are outlined below.

NameTypeDescriptionRequired
MasterIdIntegerYour unique Enterprise Toolkit account identifier
IntegrationKeyStringYour unique integration key
NameStringEnterprise Toolkit account name to search for
StatusStringSearch for Enterprise Toolkit account in status
PageNoIntegerThe page number from which to start reading results (0 based)
PageSizeIntegerThe page size (number of rows) to return. Maximum allowable value is 250.

Example

Given that the API is REST-based, you can access the API directly via your web browser to test or by using Postman API Platform.

Request URL

https://eforms.mobileform.net:443/api/v2/environment/search?format=xml&MasterId=xxxxx&IntegrationKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&Name=Environment

Response Body (XML)

 <EnvironmentSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <TotalRows>2</TotalRows> <Environment> <Environment> <IntegrationKey>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</IntegrationKey> <MasterId>xxxxx</MasterId> <ActiveDevices>0</ActiveDevices> <BillType>Default</BillType> <Country>ZA</Country> <DateFormat>dd-MM-yyyy</DateFormat> <Description>test environment</Description> <FillRepeatRows>true</FillRepeatRows> <GlobalDataSourceGETUrl>http://somewhere.com</GlobalDataSourceGETUrl> <Id>xxxxx</Id> <LastUpdated>2020-08-13T12:37:28.7Z</LastUpdated> <LastUpdatedBy>User, Example</LastUpdatedBy> <Metadata> <KeyValue> <Key>PAYROLLID</Key> <Val>123456</Val> </KeyValue> </Metadata> <Name>Environment 1</Name> <Status>Active</Status> <TimeFormat>HH:mm:ss tt</TimeFormat> <TimeZone>South Africa Standard Time</TimeZone> <TimeZoneOffSet>120</TimeZoneOffSet> </Environment> <Environment> <IntegrationKey>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</IntegrationKey> <MasterId>xxxxx</MasterId> <ActiveDevices>0</ActiveDevices> <BillType>Default</BillType> <Country>ZA</Country> <DateFormat>dd-MM-yyyy</DateFormat> <Description>Test Environment 2</Description> <FillRepeatRows>true</FillRepeatRows> <GlobalDataSourceGETUrl>http://somewhere.com</GlobalDataSourceGETUrl> <Id>xxxxx</Id> <LastUpdated>2020-08-13T13:40:01.3Z</LastUpdated> <LastUpdatedBy>User, Example</LastUpdatedBy> <Metadata> <KeyValue> <Key>PAYROLLID</Key> <Val>123456</Val> </KeyValue> </Metadata> <Name>Environment 2</Name> <Status>Active</Status> <TimeFormat>HH:mm:ss tt</TimeFormat> <TimeZone>South Africa Standard Time</TimeZone> <TimeZoneOffSet>120</TimeZoneOffSet> </Environment> </Environment> </EnvironmentSearchResponse>
    • Related Articles

    • Get Tasks (Task Search)

      Using the TaskkSearch API The TaskkSearch API allows you to search for multiple Tasks at a time To search for and retrieve multiple Tasks at once, use a GET with the search API found at: ...
    • GET Repository API (Search)

      This request method lets you find all repository items matching the parameters. 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. ...
    • GET Usergroup (Search)

      This API allows you to find all user groups matching the given parameters. 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 ...
    • GET Screen (Map Search)

      The GET Screen (Map Search) API returns the Published version of matching Map Screens or all versions of a single specified Map Screen. On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb. The format query ...
    • GET Folder (Search)

      The GET Folder (Search) API finds all folders matching the given parameters. 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 ...