module:api/DataFeedApi

module:api/DataFeedApi

new module:api/DataFeedApi(apiClient)

Source:

Constructs a new DataFeedApi.

Parameters:
Name Type Description
apiClient module:ApiClient

Optional API client implementation to use,
default to module:ApiClient#instance if unspecified.

Methods

getDataFeedElement(accountId, dataFeedElementId, callback)

Source:

Retrieves a Datafeed element by Id.

Parameters:
Name Type Description
accountId String

The external account number (int) or account ID Guid.

dataFeedElementId String
callback module:api/DataFeedApi~getDataFeedElementCallback

The callback function, accepting three arguments: error, data, response

Type Definitions

getDataFeedElementCallback(error, data, If)

Source:

(Optional) Callback function to receive the result of the getDataFeedElement operation. If none specified a Promise will be returned.

Parameters:
Name Type Description
error String

Error message, if any.

data

This operation does not return a value.

If String

a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.