With asynchronous requests, your client application sends a request to SOAP web services, where it is placed in a processing queue and handled asynchronously with other requests. Your client application does not wait for a response but goes on to other work. After a job is submitted, a job Id is returned in the SOAP web services response. Your client application can then check on the status and result of the request by referencing the job Id.
You can use the checkAsyncStatus to check the status of your asynchronous requests.
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>
<checkAsyncStatus xsi:type='platformMsgs:CheckAsyncStatusRequest'>
<jobId xsi:type='xsd:string'>ASYNCWEBSERVICES_TSTDRV2782962_080120231326469820838822226_7</jobId>
</checkAsyncStatus>
</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_0801202313264586731598001367_e5f75</platformMsgs:nsId>
</platformMsgs:documentInfo>
</soapenv:Header>
<soapenv:Body>
<checkAsyncStatusResponse
xmlns="">
<platformCore:asyncStatusResult
xmlns:platformCore="urn:core_2021_2.platform.webservices.netsuite.com">
<platformCore:jobId>ASYNCWEBSERVICES_TSTDRV2782962_080120231326469820838822226_7</platformCore:jobId>
<platformCore:status>finished</platformCore:status>
<platformCore:percentCompleted>100.0</platformCore:percentCompleted>
<platformCore:estRemainingDuration>0.0</platformCore:estRemainingDuration>
</platformCore:asyncStatusResult>
</checkAsyncStatusResponse>
</soapenv:Body>
</soapenv:Envelope>