Skip to content

Latest commit

 

History

History
85 lines (55 loc) · 3.05 KB

ObjectTaxassignmentAPI.md

File metadata and controls

85 lines (55 loc) · 3.05 KB

eZmaxAPI\ObjectTaxassignmentAPI

All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest

Method HTTP request Description
TaxassignmentGetAutocompleteV2 Get /2/object/taxassignment/getAutocomplete/{sSelector} Retrieve Taxassignments and IDs

TaxassignmentGetAutocompleteV2

TaxassignmentGetAutocompleteV2Response TaxassignmentGetAutocompleteV2(ctx, sSelector).EFilterActive(eFilterActive).SQuery(sQuery).AcceptLanguage(acceptLanguage).Execute()

Retrieve Taxassignments and IDs

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/ezmaxinc/ezmax-sdk-go"
)

func main() {
	sSelector := "sSelector_example" // string | The type of Taxassignments to return
	eFilterActive := "eFilterActive_example" // string | Specify which results we want to display. (optional) (default to "Active")
	sQuery := "sQuery_example" // string | Allow to filter the returned results (optional)
	acceptLanguage := openapiclient.Header-Accept-Language("*") // HeaderAcceptLanguage |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.ObjectTaxassignmentAPI.TaxassignmentGetAutocompleteV2(context.Background(), sSelector).EFilterActive(eFilterActive).SQuery(sQuery).AcceptLanguage(acceptLanguage).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ObjectTaxassignmentAPI.TaxassignmentGetAutocompleteV2``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `TaxassignmentGetAutocompleteV2`: TaxassignmentGetAutocompleteV2Response
	fmt.Fprintf(os.Stdout, "Response from `ObjectTaxassignmentAPI.TaxassignmentGetAutocompleteV2`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
sSelector string The type of Taxassignments to return

Other Parameters

Other parameters are passed through a pointer to a apiTaxassignmentGetAutocompleteV2Request struct via the builder pattern

Name Type Description Notes

eFilterActive | string | Specify which results we want to display. | [default to "Active"] sQuery | string | Allow to filter the returned results | acceptLanguage | HeaderAcceptLanguage | |

Return type

TaxassignmentGetAutocompleteV2Response

Authorization

Authorization

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]