Web Method: getAllTargetLists

What is the getAllTargetLists Method?

This method returns a list of all target lists in the Targets App. Use this when adding new target lists, or when adding a new target to a target list for a newsletter registration or other similar purpose.

Method Definition

@WebMethod(action = "getAllTargetLists", operationName = "getAllTargetLists")
public TargetListsHelper getAllTargetLists(String siteKey, String accessKey)

Expected Response

stdClass Object
(
[return] => stdClass Object
(
[statusCode] => 1000
[statusMessage] => Success
)

)

Back to API reference.