JSON format example

To log in using JSON, you might use the following request header and body:

POST https://dm-us.informaticacloud.com/saas/public/core/v3/login
Content-Type: application/json
Accept: application/json

{
    "username": "[email protected]",
    "password": "mypassword"
}

The login might return the following information:

{
    "products": [
        {
            "name": "Integration Cloud",
            "baseApiUrl": "https://pod.clouddev.informaticacloud.com/saas"
        }
    ],
    "userInfo": {
        "sessionId": "9KA11tLGqxVcGeul8SQBK3",
        "id": "9L1GFroXSDHe2IIg7QhBaT",
        "name": "user",
        "parentOrgId": "52ZSTB0IDK6dXxaEQLUaQu",
        "orgId": "0cuQSDTq5sikvN7x8r1xm1",
        "orgName": "MyOrg_INFA",
        "groups": {},
        "status": "Active"
    }
}

You can then use the sessionId and the baseapiUrl to construct a request to obtain your organization's license information, for example:

GET https://pod.clouddev.informaticacloud.com/saas/public/core/v3/license/org/{orgId} 
Content-Type: application/json
Accept: application/json
INFA-SESSION-ID: IV4wOrJmd6YUtmKa8t