Platform REST API version 2 resources The REST API version 2 resources in this section apply to multiple services in Informatica Intelligent Cloud Services .
When you use version 2 resources, note the following rules:
• Use JSON or XML format.• Use the serverUrl value from the login response as the base URL. For example:https://na4.dm-us.informaticacloud.com/saas
• Use the following URI:/api/v2/<API name>
• Use the following request header format:<METHOD> <serverUrl>/<URI> HTTP/<HTTP version> Content-Type: application/json Accept: application/json icSessionId: <SessionId>
In the following example, the serverUrl is https://na4.dm-us.informaticacloud.com/saas and the URI is /api/v2/agent :
<METHOD> https://na4.dm-us.informaticacloud.com/saas/api/v2/agent HTTP/1.1 Content-Type: application/json Accept: application/json icSessionId: IV4wOrJmd6YUtmKa8t
Note: If you use a tool such as Postman that automatically includes the HTTP version, do not enter the HTTP version in the URL. If the HTTP version appears twice in the URL, the request fails.