About the Response class

The Response class contains methods which define the results of any of the InteractAPI class methods.

The Response object contains the following attributes:

  • AdvisoryMessages-an array of advisory messages. This attribute is populated only if there were warnings or errors when the method ran.
  • ApiVersion-a string containing the API version. This attribute is populated by the getVersion method.
  • OfferList-the OfferList object containing the offers requested by the getOffers method.
  • ProfileRecord-an array of NameValuePairs containing profile data. This attribute is populated by the getProfile method.
  • SessionID-a string defining the session ID. This is returned by all InteractAPI class methods.
  • StatusCode-a number stating if the method ran without error, with a warning, or with errors. This is returned by all InteractAPI class methods.