AddRecipientsCse module
- class q2_sdk.hq.hq_api.backoffice.AddRecipientsCse.ParamsObj(logger, hq_credentials, recipients=None)[source]
Bases:
BackOfficeAuthenticatedParamsObjParameters definition for AddRecipientsCse
See also
AddRecipientsCse_modelsfor DataSet schemas and builder functions.- Parameters:
logger (
TypeAliasType) – Reference to calling request’s logger (self.logger in your extension)recipients (
Optional[DataSetBuilder]) – DataSetBuilder instancehq_credentials (
BackOfficeHqCredentials) – Defaults to settings.HQ_CREDENTIALS
- async q2_sdk.hq.hq_api.backoffice.AddRecipientsCse.execute(params_obj, use_json=True, **kwargs)[source]
This is the default way to submit the request to HQ.
This endpoint uses DataSet parameters and defaults to the JSON (.ashx) transport. SOAP (.asmx) is not supported for DataSet serialization.
- Parameters:
params_obj (
ParamsObj) – Object containing everything necessary to call this HQ endpointuse_json – If True, will call HQ’s .ashx (json) endpoint instead of .asmx (soap)
- Return type: