Get User Action

Get User Action

Retrieves one or more messages that require user action. For example, after adding a new product to the Usage Meter, you can invoke this API to view the product certificate details and obtain the certificateId.

Request
URI
GET
https://{api_host}/user_action
COPY
Header Parameters
string
sessionid
Required

The authentication token obtained from login API response


Responses
200

OK

Returns Array of object of type(s) application/json
[
    {
        "code": "Cert",
        "data": {
            "productId": 20,
            "certificateId": "10.153.16.7:443",
            "certData": {
                "notAfter": 1870254723000,
                "signature": "7676E621...7022104",
                "issuerDN": "CN=10.153.16.7, OU=NSX, O=VMware Inc., L=Palo Alto, ST=CA, C=US",
                "sn": "115fe5d0",
                "publicKey": "30820...F0203010001",
                "version": 3,
                "notBefore": 1554894723000,
                "subjectDN": "CN=10.153.16.7, OU=NSX, O=VMware Inc., L=Palo Alto, ST=CA, C=US",
                "sigAlgName": "SHA256withRSA",
                "fingerprint_sha256": "4D:A5:9F:18...CC:27:55:B1"
            },
            "productType": "NSX-V"
        }
    }
]

401
Returns 401Unauthorized_sessionID of type(s) application/json
{
    "errCode": "GW_LOGIN_REQUIRED",
    "errMessage": "Your session not found or already expired. Please login"
}
string
errCode
Optional

errCode

string
errMessage
Optional

errMessage