# ObjectEzmaxinvoicingAPI All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* Method | HTTP request | Description ------------- | ------------- | ------------- [**ezmaxinvoicingGetAutocompleteV1**](ObjectEzmaxinvoicingAPI.md#ezmaxinvoicinggetautocompletev1) | **GET** /1/object/ezmaxinvoicing/getAutocomplete/{sSelector} | Retrieve Ezmaxinvoicings and IDs [**ezmaxinvoicingGetAutocompleteV2**](ObjectEzmaxinvoicingAPI.md#ezmaxinvoicinggetautocompletev2) | **GET** /2/object/ezmaxinvoicing/getAutocomplete/{sSelector} | Retrieve Ezmaxinvoicings and IDs [**ezmaxinvoicingGetObjectV2**](ObjectEzmaxinvoicingAPI.md#ezmaxinvoicinggetobjectv2) | **GET** /2/object/ezmaxinvoicing/{pkiEzmaxinvoicingID} | Retrieve an existing Ezmaxinvoicing [**ezmaxinvoicingGetProvisionalV1**](ObjectEzmaxinvoicingAPI.md#ezmaxinvoicinggetprovisionalv1) | **GET** /1/object/ezmaxinvoicing/getProvisional | Retrieve provisional Ezmaxinvoicing # **ezmaxinvoicingGetAutocompleteV1** ```swift open class func ezmaxinvoicingGetAutocompleteV1(sSelector: SSelector_ezmaxinvoicingGetAutocompleteV1, eFilterActive: EFilterActive_ezmaxinvoicingGetAutocompleteV1? = nil, sQuery: String? = nil, acceptLanguage: HeaderAcceptLanguage? = nil, completion: @escaping (_ data: CommonGetAutocompleteV1Response?, _ error: Error?) -> Void) ``` Retrieve Ezmaxinvoicings and IDs Get the list of Ezmaxinvoicing to be used in a dropdown or autocomplete control. ### Example ```swift // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import OpenAPIClient let sSelector = "sSelector_example" // String | The type of Ezmaxinvoicings to return let eFilterActive = "eFilterActive_example" // String | Specify which results we want to display. Active is the default value. (optional) let sQuery = "sQuery_example" // String | Allow to filter the returned results (optional) let acceptLanguage = Header-Accept-Language() // HeaderAcceptLanguage | (optional) // Retrieve Ezmaxinvoicings and IDs ObjectEzmaxinvoicingAPI.ezmaxinvoicingGetAutocompleteV1(sSelector: sSelector, eFilterActive: eFilterActive, sQuery: sQuery, acceptLanguage: acceptLanguage) { (response, error) in guard error == nil else { print(error) return } if (response) { dump(response) } } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **sSelector** | **String** | The type of Ezmaxinvoicings to return | **eFilterActive** | **String** | Specify which results we want to display. Active is the default value. | [optional] **sQuery** | **String** | Allow to filter the returned results | [optional] **acceptLanguage** | [**HeaderAcceptLanguage**](.md) | | [optional] ### Return type [**CommonGetAutocompleteV1Response**](CommonGetAutocompleteV1Response.md) ### Authorization [Authorization](../README.md#Authorization) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezmaxinvoicingGetAutocompleteV2** ```swift open class func ezmaxinvoicingGetAutocompleteV2(sSelector: SSelector_ezmaxinvoicingGetAutocompleteV2, eFilterActive: EFilterActive_ezmaxinvoicingGetAutocompleteV2? = nil, sQuery: String? = nil, acceptLanguage: HeaderAcceptLanguage? = nil, completion: @escaping (_ data: EzmaxinvoicingGetAutocompleteV2Response?, _ error: Error?) -> Void) ``` Retrieve Ezmaxinvoicings and IDs Get the list of Ezmaxinvoicing to be used in a dropdown or autocomplete control. ### Example ```swift // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import OpenAPIClient let sSelector = "sSelector_example" // String | The type of Ezmaxinvoicings to return let eFilterActive = "eFilterActive_example" // String | Specify which results we want to display. (optional) (default to .active) let sQuery = "sQuery_example" // String | Allow to filter the returned results (optional) let acceptLanguage = Header-Accept-Language() // HeaderAcceptLanguage | (optional) // Retrieve Ezmaxinvoicings and IDs ObjectEzmaxinvoicingAPI.ezmaxinvoicingGetAutocompleteV2(sSelector: sSelector, eFilterActive: eFilterActive, sQuery: sQuery, acceptLanguage: acceptLanguage) { (response, error) in guard error == nil else { print(error) return } if (response) { dump(response) } } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **sSelector** | **String** | The type of Ezmaxinvoicings to return | **eFilterActive** | **String** | Specify which results we want to display. | [optional] [default to .active] **sQuery** | **String** | Allow to filter the returned results | [optional] **acceptLanguage** | [**HeaderAcceptLanguage**](.md) | | [optional] ### Return type [**EzmaxinvoicingGetAutocompleteV2Response**](EzmaxinvoicingGetAutocompleteV2Response.md) ### Authorization [Authorization](../README.md#Authorization) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezmaxinvoicingGetObjectV2** ```swift open class func ezmaxinvoicingGetObjectV2(pkiEzmaxinvoicingID: Int, completion: @escaping (_ data: EzmaxinvoicingGetObjectV2Response?, _ error: Error?) -> Void) ``` Retrieve an existing Ezmaxinvoicing ### Example ```swift // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import OpenAPIClient let pkiEzmaxinvoicingID = 987 // Int | // Retrieve an existing Ezmaxinvoicing ObjectEzmaxinvoicingAPI.ezmaxinvoicingGetObjectV2(pkiEzmaxinvoicingID: pkiEzmaxinvoicingID) { (response, error) in guard error == nil else { print(error) return } if (response) { dump(response) } } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pkiEzmaxinvoicingID** | **Int** | | ### Return type [**EzmaxinvoicingGetObjectV2Response**](EzmaxinvoicingGetObjectV2Response.md) ### Authorization [Authorization](../README.md#Authorization) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezmaxinvoicingGetProvisionalV1** ```swift open class func ezmaxinvoicingGetProvisionalV1(completion: @escaping (_ data: EzmaxinvoicingGetProvisionalV1Response?, _ error: Error?) -> Void) ``` Retrieve provisional Ezmaxinvoicing ### Example ```swift // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import OpenAPIClient // Retrieve provisional Ezmaxinvoicing ObjectEzmaxinvoicingAPI.ezmaxinvoicingGetProvisionalV1() { (response, error) in guard error == nil else { print(error) return } if (response) { dump(response) } } ``` ### Parameters This endpoint does not need any parameter. ### Return type [**EzmaxinvoicingGetProvisionalV1Response**](EzmaxinvoicingGetProvisionalV1Response.md) ### Authorization [Authorization](../README.md#Authorization) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)