SOAP Operation – getIntegrationGovernanceInfo

The getIntegrationGovernanceInfo operation can be used to retrieve the available concurrency limit for the specific integration using the operation through SOAP web services.

The operation does not have any parameters and returns the value for the concurrency limit and the limit type.

The limit type can be:

_integrationSpecific, when a limit has been allocated to the integration.

_accountLimit, when no specific limit has been allocated to the integration.

_internal, when it is an internal application. In this case, the limit is not displayed.

With this information, the integration can determine how many concurrent requests it can send.

Every integration should use this operation to get information about the available limit and not exceed the number of available threads that send requests to NetSuite.

Note: The operation will return results only if you are logged in as an administrator.

Request

<soapenv:Envelope
    xmlns:xsd='http://www.w3.org/2001/XMLSchema'
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'
    xmlns:platformCore='urn:core_2021_2.platform.webservices.netsuite.com'
    xmlns:listRel='urn:relationships_2021_2.lists.webservices.netsuite.com'
    xmlns:listAcct='urn:accounting_2021_2.lists.webservices.netsuite.com'
    xmlns:platformMsgs='urn:messages_2021_2.platform.webservices.netsuite.com'>
    <soapenv:Header>
        <tokenPassport xsi:type='platformCore:TokenPassport'>
            <account xsi:type='xsd:string'>{{accountId}}</account>
            <consumerKey xsi:type='xsd:string'>{{consumerKey}}</consumerKey>
            <token xsi:type='xsd:string'>{{tokenId}}</token>
            <nonce xsi:type='xsd:string'>{{nonce}}</nonce>
            <timestamp xsi:type='xsd:long'>{{timestamp}}</timestamp>
            <signature algorithm='HMAC_SHA256' xsi:type='platformCore:TokenPassportSignature'>{{signature}}</signature>
        </tokenPassport>
    </soapenv:Header>
       <soapenv:Body>
        <getIntegrationGovernanceInfo xsi:type='platformMsgs:GetIntegrationGovernanceInfoRequest'/>
    </soapenv:Body>
</soapenv:Envelope>

Response

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
        <platformMsgs:documentInfo
            xmlns:platformMsgs="urn:messages_2021_2.platform.webservices.netsuite.com">
            <platformMsgs:nsId>WEBSERVICES_TSTDRV2782962_08062023832167721739183179_7c395fd</platformMsgs:nsId>
        </platformMsgs:documentInfo>
    </soapenv:Header>
    <soapenv:Body>
        <getIntegrationGovernanceInfoResponse
            xmlns="">
            <platformCore:getIntegrationGovernanceInfoResult
                xmlns:platformCore="urn:core_2021_2.platform.webservices.netsuite.com">
                <platformCore:status isSuccess="true"/>
                <platformCore:integrationConcurrencyLimit>5</platformCore:integrationConcurrencyLimit>
                <platformCore:limitType>_account</platformCore:limitType>
            </platformCore:getIntegrationGovernanceInfoResult>
        </getIntegrationGovernanceInfoResponse>
    </soapenv:Body>
</soapenv:Envelope>

Leave a comment

Your email address will not be published. Required fields are marked *