Tac Target Change

class q2_sdk.hq.models.external_auth.tac_target_change.Request(raw, user_id, user_primary_cif, customer_primary_cif, is_logon, is_prelogon_session, session_id)[source]

Bases: BaseAuthRequest

Invoked in the sandbox with q2 db add_access_code_target

<HQ request="TacTargetChange" messageID="{0}">
  <UserId>2</UserId>
  <CSRLogin>MyLoginName</CSRLogin>
  <UserPrimaryCIF>MDcyMTIwMTA=</UserPrimaryCIF>
  <CustomerPrimaryCIF>MDcyMTIwMTA=</CustomerPrimaryCIF>
  <isLogon>True</isLogon>
  <IsPrelogonSession>False</IsPrelogonSession>
  <SessionId>shb3cnukdl32c54nodvyxcsj</SessionId>
</HQ>
class q2_sdk.hq.models.external_auth.tac_target_change.Response(standard_auth_response_fields)[source]

Bases: BaseAuthResponse

Response(standard_auth_response_fields: ‘StandardAuthResponseFields’)

classmethod get_failure(*args, **kwargs)

Returns Failure to HQ

Return type:

Self

classmethod get_success(*args, **kwargs)

Returns OK to HQ

Return type:

Self