getDil

Retrieves a partner-specific DIL instance.

Function Signature: getDil: function (partner, containerNSID) {}

Parameters

Name Type Description
partner String The partner name to search for.
containerNSID Integer Defaults is 0. The NSID of the container you’re searching for. Optional.

Response

A successful partner and container NSID match returns a partner-specific DIL instance. If there is no match, the API returns (does not throw) an error with the message, " The DIL instance with partner <name> and containerNSID <ID> was not found."

Sample Code

DIL.getDil('partner', containerNSID);
DIL.getDil('partner');

On this page