Resource Count REST API

Resource Count REST API

Use the Resource Count REST API to obtain the number of Informatica Managed File Transfer resources based on a search expression. This API uses the POST method.
Use the following URL for the REST API call:
POST http://<hostName>:<portNumber>/informaticamft/api/v1/resources/count
  • <hostName>
    is the host name or IP address of the Managed File Transfer server.
  • <portNumber>
    is the port number of the Managed File Transfer server. The default port for HTTP is 8000 and the default port for HTTPS is 8002, for example,
    http://myserver:8000
    or
    https://myserver:8002
    .
You can provide a request body in JSON to the REST API call. The following table describes the request body objects:
Object
Arguments
firstResult
Specify the first result to present.
maxResults
Specify the maximum number of results to present.
selectedSortColumn
Select which column is used to sort the resource information.
sortAscending
Sort the resources in ascending order.
matchAll
Provide all the matches to the search expression when performing the search.
useExactMatch
Exactly match the search expression when performing the search.
simpleSearchString
Use a simple search string to perform the search.
simpleSearch
Use a simple search to perform the search.
searchString
Specify the search string used to perform the search.
types
Select the resource type to search for. The following options apply:
  • ftp
  • ftps
  • ssh
  • as2
  • http
  • https
  • smtp
  • mq
  • mailbox

Request Body Example

The following code shows the request body syntax:
{ "firstResult":0, "maxResults":50, "selectedSortColumn":1, "sortAscending":true, "matchAll":true, "useExactMatch":false, "simpleSearchString":null, "simpleSearch":false, "searchString":null, "types":[ "ftp", "ftps", "ssh", "as2", "http", "https", "smtp", "mq", "mailbox" ] }

Response Body Example

The following code shows a response:
20

0 COMMENTS

We’d like to hear from you!