GetCustomerLocateWhere module
- class q2_sdk.hq.hq_api.q2_api.GetCustomerLocateWhere.Operand[source]
Bases:
object
- NE = 'NE'
- EQ = 'EQ'
- GE = 'GE'
- LE = 'LE'
- GT = 'GT'
- LT = 'LT'
- BeginsWith = 'BeginsWith'
- EndsWith = 'EndsWith'
- Contains = 'Contains'
- IsNull = 'IsNull'
- NotNull = 'NotNull'
- IN = 'IN'
- class q2_sdk.hq.hq_api.q2_api.GetCustomerLocateWhere.FilterItem(is_or_operator_not_and, operand, parens_before, parens_after, field_name=None, comparison_value=None, not_before_paren=False)[source]
Bases:
BaseParameter
- class q2_sdk.hq.hq_api.q2_api.GetCustomerLocateWhere.Filter(filter_item=None)[source]
Bases:
BaseParameter
- class q2_sdk.hq.hq_api.q2_api.GetCustomerLocateWhere.SortItem(ascending_sort, field_name=None)[source]
Bases:
BaseParameter
- class q2_sdk.hq.hq_api.q2_api.GetCustomerLocateWhere.Sort(sort_item=None)[source]
Bases:
BaseParameter
- class q2_sdk.hq.hq_api.q2_api.GetCustomerLocateWhere.ParamsObj(logger, page_number, page_size, filter=None, sort=None, hq_credentials=None)[source]
Bases:
Q2ApiParamsObj
Parameters definition for GetCustomerLocateWhere
- Parameters:
logger (
TypeAliasType
) – Reference to calling request’s logger (self.logger in your extension)page_number (
int
) – The starting point of the pagepage_size (
int
) – The number of results to return per pagefilter (
Optional
[Filter
]) – OptionalFilter object that contains a list of FilterItem objectssort (
Optional
[Sort
]) – OptionalSort object that contains a list of SortItem objectshq_credentials (
Optional
[HqCredentials
]) – Defaults to settings.HQ_CREDENTIALS
- async q2_sdk.hq.hq_api.q2_api.GetCustomerLocateWhere.execute(params_obj, use_json=False, **kwargs)[source]
This is the default way to submit the request to HQ. In theory, both json and soap payloads are equally accepted by HQ, though several variables may affect that (HQ version, Q2SDK implementation bugs, etc). This should not affect anything about the way your code deals with the data. In fact, the only difference to consuming extensions is the logging. Basically, call this with default parameters unless you find a compelling reason not to.
- 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:
- async q2_sdk.hq.hq_api.q2_api.GetCustomerLocateWhere.get_soap(params_obj, **kwargs)[source]
Deprecated. Please use execute instead
- Return type: