Agent

Use this resource to request the details of an Informatica Cloud Secure Agent or the details of all Secure Agents in the organization. You can also request the details of services that run on a Secure Agent or details of services that run on all Secure Agents in the organization. You can also use this resource to delete a Secure Agent.

GET request for Secure Agent install token

To request an install token so that you can complete the Secure Agent registration process, include the platform type in the URI as follows:

/api/v2/agent/installerInfo/<platform>

Use one of the following values for the platform:

  • win64
    
  • linux64 
    

A successful request returns the install token with the download URL, as shown in the following example response:

{
    "@type": "agentInstallerInfo",
    "downloadUrl": "https://pod.ics.dev:444/saas/download/linux64/installer/agent64_install_ext.bin",
    "installToken": "qataJCF_qf1XhhSQydT654NM6TZid-AAuq1sflw0oH9t1O6VUNRJ6OtoGqnwaCj49qBa4W8Giv8jXil7LkESCs"
}

GET Request

To request the details of all Secure Agents in the organization, use the following URI:

/api/v2/agent

To request the details of a particular Secure Agent, you can include the Secure Agent ID or the Secure Agent name in the URI. Use one of the following URIs:

/api/v2/agent/<id>
/api/v2/agent/name/<name>

If you use the Secure Agent name in the URI and the Secure Agent name includes a space, replace the space with %20. For example:

/api/v2/agent/name/special%20agent

To request the details of the services that run on all of the Secure Agents in the organization, use the following URI:

/api/v2/agent/details

To request the details of the services that run on a particular Secure Agent, include the agent ID in the URI as follows:

/api/v2/agent/details/<id>

GET Response

Returns the agent object for the requested Secure Agent ID or Secure Agent name.
If you request information for all Secure Agents in the organization, returns an agent object without the packages and agentConfigs attributes for each Secure Agent in the organization.
If you request information for agent services, returns an AgentEngine object in addition to the agent object.
Returns the error object if errors occur.
The agent object includes the following attributes:

FieldTypeDescription
idStringSecure Agent ID.
orgIdStringOrganization ID.
nameStringSecure Agent name.
descriptionStringDescription of the Secure Agent.
createTimeDate/timeTime the Secure Agent was created.
updateTimeDate/timeLast time the Secure Agent was updated.
createdByStringUser who created the Secure Agent.
updatedByStringUser who updated the Secure Agent.
activeBooleanWhether the Secure Agent is active. Returns true or false.
readyToRunBooleanWhether the Secure Agent is ready to run a task. Returns true or false.
platformStringPlatform of the Secure Agent machine. Returns one of the following values:
win64
linux64
agentHostStringHost name of the Secure Agent machine.
passwordStringPassword of the Secure Agent machine.
proxyHostStringHost name of the outgoing proxy server that the Secure Agent uses.
proxyPortIntPort number of the outgoing proxy server.
proxyUserStringUser name to connect to the outgoing proxy server.
proxyPasswordStringPassword to connect to the outgoing proxy server.
agentVersionStringSecure Agent version.
spiUrlStringInformatica Cloud Application Integration URL for the organization the user belongs to.
upgradeStatusStringUpgrade status.
lastUpgradedDate/timeLast time the Secure Agent was upgraded.
lastUpgradeCheckDate/timeLast time the Secure Agent was checked for upgrade.
lastStatusChangeDate/timeLast time the Secure Agent status was updated.
packagesStringInformatica Cloud Connector packages.
configUpdateTimeDate/timeLast time a user updated Secure Agent properties.
agentConfigsStringAttribute that defines Secure Agent properties. Includes information in an agentConfig object for each Secure Agent property.
nameStringIncluded in the agentConfig object.
Configuration property name
typeStringIncluded in the agentConfig object.
Configuration type. Returns one of the following values:
Secure Agent Core
Secure Agent Manager
DTM
Apache Tomcat JRE
Secure Agent Core JRE
subtypeStringIncluded in the agentConfig object.
Configuration subtype. Returns one of the following values:
INFO
DEBUG
valueStringIncluded in the agentConfig object.
Value of the property.
customizedBooleanIncluded in the agentConfig object.
Whether the property is in the custom configuration details. Returns true or false.
overriddenBooleanIncluded in the agentConfig object.
Whether the property has been overridden. Returns true or false.
defaultValueStringIncluded in the agentConfig object.
Default value.
platformStringIncluded in the agentConfig object.
Platform. Returns one of the following values:
win64
linux64

If you request details for the services that run on Secure Agents, the agent object also includes the AgentEngine object. The AgentEngine object includes the following attributes

FieldTypeDescription
agentEngineStatusStatus of the agent service, which includes information in the AgentEngineStatus object.
appnameIncluded in the AgentEngineStatus object.
The service name that is used internally
appDisplayNameIncluded in the AgentEngineStatus object.
The service name that displays in the user interface.
appversionIncluded in the AgentEngineStatus object.
The service version. The version number changes each time you modify the service.
statusIncluded in the AgentEngineStatus object.
The status of the service.
createTimeIncluded in the AgentEngineStatus object.
The time the service was created.
updateTimeIncluded in the AgentEngineStatus object.
The last time the service was updated.
agentEngineConfigsDefines agent service properties. Includes information in an engineConfig object for each agent service property.
typeIncluded in the engineConfig object.
Configuration type.
nameIncluded in the engineConfig object.
Configuration property name.
valueIncluded in the engineConfig object.
Value of the property.
platformIncluded in the engineConfig object.
Platform. Returns one of the following values:
win64
linux64
customizedBooleanIncluded in the engineConfig object.
Whether the property is in the custom configuration details. Returns true or false.

DELETE Request

You can delete a Secure Agent if it is not associated with any connections. Before you delete a Secure Agent, update associated connections to use another Secure Agent.
To delete a Secure Agent, use the Secure Agent ID in the following URI:

/api/v2/agent/<id>

DELETE Response

Returns the 200 response code if the request is successful.
Returns the error object if errors occur

GET Example

To request the details about the Secure Agent with an ID of 000H1L080000000000001, to be returned in JSON format, you might use the following request:

GET <serverUrl>/api/v2/agent/000H1L080000000000001
   Accept:application/json
   icSessionId: <icSessionId>

A successful request returns the agent object