Handles a DynECT API session.