Token
| Element | Description |
| API | Token |
| Description | API returns the token based on grant type, username, and password to authenticate HCL BigFix CLM APIs. |
| Method | GET |
| URL | Http(s)://xx.xxx.xx.xx:xxx/token |
| Body (Parameters (Mandatory for HCL BigFix CLM Users) |
Grant_type: password Username: xxxx Password: xxxxx AccessLevel: If user belongs to multi organizations and providers and need to pass “ORG” for access API with organization user or “PVD” for access API with provider user. RequestedAccessentityId: If user belongs to multi organizations and providers and pass “ORG” as accesslevel then pass orgentityid or unique orgcode for this key and if “PVD” as access level the pas provider name or provider entityid for this key. |
| Body (Parameters (Mandatory for Ldap Users) |
Grant_type: ldap Username: xxxx (username with domain details e.g. Domain\Username (CONTOSO\USERA)) Password: xxxxx AccessLevel: If user belongs to multi organizations and providers and need to pass “ORG” for access API with organization user or “PVD” for access API with provider user. RequestedAccessentityId: If user belongs to multi organizations and providers and pass “ORG” as accesslevel then pass orgentityid or unique orgcode for this key and if “PVD” as access level the pas provider name or provider entityid for this key. |
| Header | Content-Type: application/x-www-form-urlencoded |
| Response |
A Sample Response
|
| Response Parameters |
|