getAccountGovernanceInfo

In SOAP web services, you can use the getAccountGovernanceInfo operation to retrieve the account concurrency limit and the unallocated concurrency limit.

If an integration has insufficient concurrency limit allocated to it, it can use the getAccountGovernanceInfo operation. With the retrieved information the integration can determine whether there is sufficient unallocated concurrency limit for the account and can suggest the administrator to increase the concurrency limit allocated to the integration.

SOAP Request

The following example shows the usage of the getAccountGovernanceInfo operation.

            <soapenv:Body>
        <getAccountGovernanceInfo/>
</soapenv:Body> 

          

SOAP Response

The following example shows the result of a getAccountGovernanceInfo request.

            <soapenv:Body>
    <getAccountGovernanceInfoResponse>
        <platformCore:getAccountGovernanceInfoResult>
            <platformCore:status isSuccess="true"/>
                              <platformCore:accountConcurrencyLimit>5</platformCore:accountConcurrencyLimit>
                              <platformCore:unallocatedConcurrencyLimit>3</platformCore:unallocatedConcurrencyLimit>
        </platformCore:getAccountGovernanceInfoResult>
    </getAccountGovernanceInfoResponse>
</soapenv:Body> 

          

REST Request

In REST web services, you use the governanceLimits operation to retrieve information about concurrency limits.

The governanceLimits operation does not have any parameters and returns (1) the account concurrency limit, which specifies the maximum number of concurrent connections allowed for a given account, (2) the unallocated concurrency limit, which indicates a limit for all integrations without a specifically defined limit, and (3) the limit type.

The following example shows the usage of the governanceLimits operation.

            GET https://demo123.suitetalk.api.netsuite.com/services/rest/system/v1/governanceLimits 

          

REST Response

The governanceLimits operation can return three responses based on the concurrency limit type. The following example shows a response with information about the account limit.

            {
    "accountConcurrencyLimit": 5,
    "accountUnallocatedConcurrencyLimit": 3,
    "integrationLimitType": "accountLimit"
} 

          

Related Topics

General Notices