All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
ezmaxinvoicingGetAutocompleteV2 | GET /2/object/ezmaxinvoicing/getAutocomplete/{sSelector} | Retrieve Ezmaxinvoicings and IDs |
ezmaxinvoicingGetObjectV2 | GET /2/object/ezmaxinvoicing/{pkiEzmaxinvoicingID} | Retrieve an existing Ezmaxinvoicing |
ezmaxinvoicingGetProvisionalV1 | GET /1/object/ezmaxinvoicing/getProvisional | Retrieve provisional Ezmaxinvoicing |
EzmaxinvoicingGetAutocompleteV2Response ezmaxinvoicingGetAutocompleteV2(sSelector, eFilterActive, sQuery, acceptLanguage)
Retrieve Ezmaxinvoicings and IDs
Get the list of Ezmaxinvoicing to be used in a dropdown or autocomplete control.
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectEzmaxinvoicingApi()
val sSelector : kotlin.String = sSelector_example // kotlin.String | The type of Ezmaxinvoicings to return
val eFilterActive : kotlin.String = eFilterActive_example // kotlin.String | Specify which results we want to display.
val sQuery : kotlin.String = sQuery_example // kotlin.String | Allow to filter the returned results
val acceptLanguage : HeaderAcceptLanguage = // HeaderAcceptLanguage |
try {
val result : EzmaxinvoicingGetAutocompleteV2Response = apiInstance.ezmaxinvoicingGetAutocompleteV2(sSelector, eFilterActive, sQuery, acceptLanguage)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectEzmaxinvoicingApi#ezmaxinvoicingGetAutocompleteV2")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectEzmaxinvoicingApi#ezmaxinvoicingGetAutocompleteV2")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
sSelector | kotlin.String | The type of Ezmaxinvoicings to return | [enum: All] |
eFilterActive | kotlin.String | Specify which results we want to display. | [optional] [default to Active] [enum: All, Active, Inactive] |
sQuery | kotlin.String | Allow to filter the returned results | [optional] |
acceptLanguage | HeaderAcceptLanguage | [optional] [enum: *, en, fr] |
EzmaxinvoicingGetAutocompleteV2Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
EzmaxinvoicingGetObjectV2Response ezmaxinvoicingGetObjectV2(pkiEzmaxinvoicingID)
Retrieve an existing Ezmaxinvoicing
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectEzmaxinvoicingApi()
val pkiEzmaxinvoicingID : kotlin.Int = 56 // kotlin.Int |
try {
val result : EzmaxinvoicingGetObjectV2Response = apiInstance.ezmaxinvoicingGetObjectV2(pkiEzmaxinvoicingID)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectEzmaxinvoicingApi#ezmaxinvoicingGetObjectV2")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectEzmaxinvoicingApi#ezmaxinvoicingGetObjectV2")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiEzmaxinvoicingID | kotlin.Int |
EzmaxinvoicingGetObjectV2Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
EzmaxinvoicingGetProvisionalV1Response ezmaxinvoicingGetProvisionalV1()
Retrieve provisional Ezmaxinvoicing
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectEzmaxinvoicingApi()
try {
val result : EzmaxinvoicingGetProvisionalV1Response = apiInstance.ezmaxinvoicingGetProvisionalV1()
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectEzmaxinvoicingApi#ezmaxinvoicingGetProvisionalV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectEzmaxinvoicingApi#ezmaxinvoicingGetProvisionalV1")
e.printStackTrace()
}
This endpoint does not need any parameter.
EzmaxinvoicingGetProvisionalV1Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json