ESM Data Load Rule Status API
  • 1 Minute to read
  • Dark
    Light
  • PDF

ESM Data Load Rule Status API

  • Dark
    Light
  • PDF

Article summary

Use the IsESMDataLoadLockedWithLogin SOAP API to check whether an ESM Data Load Rule (DLR) is currently locked. When the system executes a DLR, it places a lock to prevent simultaneous updates or multiple executions.

Note:

This API is only applicable to the ESM Data Load Rule.

This API lets you quickly verify if a specific DLR is locked due to an ongoing execution. It helps you manage execution workflows efficiently, avoid conflicts, and prevent redundant data load operations.

Call this API whenever you need to confirm the availability of a DLR before triggering a new execution.

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.HostAnalytics.com/API/SOAP/StateFree/Common/2009/03/19">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:IsESMDataLoadLockedWithLogin>
             <ns:LoginName>********@planful.com</ns:LoginName>
                <ns:Password>********</ns:Password>
                  <ns:TenantCode>DPTenantHRMaster</ns:TenantCode>
           <ns:Rule>ESMDLRname</ns:Rule>
      </ns:IsESMDataLoadLockedWithLogin>
   </soapenv:Body>
</soapenv:Envelope>

Arguments List

Name

Type

Description

LoginName

String

The login name of the user

Password

String

The password associated with the specified login name

TenantCode

String

The tenant code used to connect to the tenant instance

Rule

String

The name of the ESM Data Load Rule (DLR) to check

Response

The API returns the status of the specified ESM Data Load Rule, along with a success flag and a descriptive message.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <soap:Body>
 <IsESMDataLoadLockedWithLoginResponse xmlns="http://www.HostAnalytics.com/API/SOAP/StateFree/Common/2009/03/19">
         <IsESMDataLoadLockedWithLoginResult>
            <Success>true</Success>
            <message>Unlocked</message>
         </IsESMDataLoadLockedWithLoginResult>
      </IsESMDataLoadLockedWithLoginResponse>
   </soap:Body>
</soap:Envelope>

Response Elements

Parameters

Description

Success

The value will be true if the request is successful; otherwise, it is false.

message

If the Success parameter is true:

  • If the DLR execution is done, the value will be unlocked.

  • If the DLR execution is in progress, the value will be locked.

If the Success parameter is false:

  • An error or failure message will be provided.


Was this article helpful?