Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 2.23 KB

ObjectContacttitleApi.md

File metadata and controls

62 lines (45 loc) · 2.23 KB

ObjectContacttitleApi

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

Method HTTP request Description
contacttitleGetAutocompleteV2 GET /2/object/contacttitle/getAutocomplete/{sSelector} Retrieve Contacttitles and IDs

contacttitleGetAutocompleteV2

ContacttitleGetAutocompleteV2Response contacttitleGetAutocompleteV2(sSelector, sQuery, acceptLanguage)

Retrieve Contacttitles and IDs

Get the list of Contacttitle to be used in a dropdown or autocomplete control.

Example

// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*

val apiInstance = ObjectContacttitleApi()
val sSelector : kotlin.String = sSelector_example // kotlin.String | The type of Contacttitles to return
val sQuery : kotlin.String = sQuery_example // kotlin.String | Allow to filter the returned results
val acceptLanguage : HeaderAcceptLanguage =  // HeaderAcceptLanguage | 
try {
    val result : ContacttitleGetAutocompleteV2Response = apiInstance.contacttitleGetAutocompleteV2(sSelector, sQuery, acceptLanguage)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling ObjectContacttitleApi#contacttitleGetAutocompleteV2")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling ObjectContacttitleApi#contacttitleGetAutocompleteV2")
    e.printStackTrace()
}

Parameters

| sSelector | kotlin.String| The type of Contacttitles to return | [enum: All] | | sQuery | kotlin.String| Allow to filter the returned results | [optional] |

Name Type Description Notes
acceptLanguage HeaderAcceptLanguage [optional] [enum: *, en, fr]

Return type

ContacttitleGetAutocompleteV2Response

Authorization

Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""

HTTP request headers

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