All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
webhookCreateObjectV2 | POST /2/object/webhook | Create a new Webhook |
webhookDeleteObjectV1 | DELETE /1/object/webhook/{pkiWebhookID} | Delete an existing Webhook |
webhookEditObjectV1 | PUT /1/object/webhook/{pkiWebhookID} | Edit an existing Webhook |
webhookGetHistoryV1 | GET /1/object/webhook/{pkiWebhookID}/getHistory | Retrieve the logs for recent Webhook calls |
webhookGetListV1 | GET /1/object/webhook/getList | Retrieve Webhook list |
webhookGetObjectV2 | GET /2/object/webhook/{pkiWebhookID} | Retrieve an existing Webhook |
webhookRegenerateApikeyV1 | POST /1/object/webhook/{pkiWebhookID}/regenerateApikey | Regenerate the Apikey |
webhookTestV1 | POST /1/object/webhook/{pkiWebhookID}/test | Test the Webhook by calling the Url |
WebhookCreateObjectV2Response webhookCreateObjectV2(webhookCreateObjectV2Request)
Create a new Webhook
The endpoint allows to create one or many elements at once.
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectWebhookApi()
val webhookCreateObjectV2Request : WebhookCreateObjectV2Request = // WebhookCreateObjectV2Request |
try {
val result : WebhookCreateObjectV2Response = apiInstance.webhookCreateObjectV2(webhookCreateObjectV2Request)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectWebhookApi#webhookCreateObjectV2")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectWebhookApi#webhookCreateObjectV2")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
webhookCreateObjectV2Request | WebhookCreateObjectV2Request |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
WebhookDeleteObjectV1Response webhookDeleteObjectV1(pkiWebhookID)
Delete an existing Webhook
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectWebhookApi()
val pkiWebhookID : kotlin.Int = 56 // kotlin.Int |
try {
val result : WebhookDeleteObjectV1Response = apiInstance.webhookDeleteObjectV1(pkiWebhookID)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectWebhookApi#webhookDeleteObjectV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectWebhookApi#webhookDeleteObjectV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiWebhookID | kotlin.Int |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
WebhookEditObjectV1Response webhookEditObjectV1(pkiWebhookID, webhookEditObjectV1Request)
Edit an existing Webhook
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectWebhookApi()
val pkiWebhookID : kotlin.Int = 56 // kotlin.Int |
val webhookEditObjectV1Request : WebhookEditObjectV1Request = // WebhookEditObjectV1Request |
try {
val result : WebhookEditObjectV1Response = apiInstance.webhookEditObjectV1(pkiWebhookID, webhookEditObjectV1Request)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectWebhookApi#webhookEditObjectV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectWebhookApi#webhookEditObjectV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiWebhookID | kotlin.Int | ||
webhookEditObjectV1Request | WebhookEditObjectV1Request |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
WebhookGetHistoryV1Response webhookGetHistoryV1(pkiWebhookID, eWebhookHistoryinterval)
Retrieve the logs for recent Webhook calls
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectWebhookApi()
val pkiWebhookID : kotlin.Int = 56 // kotlin.Int |
val eWebhookHistoryinterval : kotlin.String = eWebhookHistoryinterval_example // kotlin.String | The number of days to return
try {
val result : WebhookGetHistoryV1Response = apiInstance.webhookGetHistoryV1(pkiWebhookID, eWebhookHistoryinterval)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectWebhookApi#webhookGetHistoryV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectWebhookApi#webhookGetHistoryV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiWebhookID | kotlin.Int | ||
eWebhookHistoryinterval | kotlin.String | The number of days to return | [enum: LastDay, LastWeek] |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
WebhookGetListV1Response webhookGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter)
Retrieve Webhook list
Enum values that can be filtered in query parameter sFilter: | Variable | Valid values | |---|---| | eWebhookModule | Ezsign<br>Management | | eWebhookEzsignevent | DocumentCompleted<br>FolderCompleted | | eWebhookManagementevent | UserCreated |
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectWebhookApi()
val eOrderBy : kotlin.String = eOrderBy_example // kotlin.String | Specify how you want the results to be sorted
val iRowMax : kotlin.Int = 56 // kotlin.Int |
val iRowOffset : kotlin.Int = 56 // kotlin.Int |
val acceptLanguage : HeaderAcceptLanguage = // HeaderAcceptLanguage |
val sFilter : kotlin.String = sFilter_example // kotlin.String |
try {
val result : WebhookGetListV1Response = apiInstance.webhookGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectWebhookApi#webhookGetListV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectWebhookApi#webhookGetListV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | kotlin.String | Specify how you want the results to be sorted | [optional] [enum: pkiWebhookID_ASC, pkiWebhookID_DESC, sWebhookDescription_ASC, sWebhookDescription_DESC, eWebhookEzsignevent_ASC, eWebhookEzsignevent_DESC, eWebhookManagementevent_ASC, eWebhookManagementevent_DESC, eWebhookModule_ASC, eWebhookModule_DESC, sWebhookEmailfailed_ASC, sWebhookEmailfailed_DESC, sWebhookEvent_ASC, sWebhookEvent_DESC, sWebhookUrl_ASC, sWebhookUrl_DESC, bWebhookIsactive_ASC, bWebhookIsactive_DESC, bWebhookIssigned_ASC, bWebhookIssigned_DESC] |
iRowMax | kotlin.Int | [optional] | |
iRowOffset | kotlin.Int | [optional] [default to 0] | |
acceptLanguage | HeaderAcceptLanguage | [optional] [enum: *, en, fr] | |
sFilter | kotlin.String | [optional] |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
WebhookGetObjectV2Response webhookGetObjectV2(pkiWebhookID)
Retrieve an existing Webhook
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectWebhookApi()
val pkiWebhookID : kotlin.Int = 56 // kotlin.Int |
try {
val result : WebhookGetObjectV2Response = apiInstance.webhookGetObjectV2(pkiWebhookID)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectWebhookApi#webhookGetObjectV2")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectWebhookApi#webhookGetObjectV2")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiWebhookID | kotlin.Int |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
WebhookRegenerateApikeyV1Response webhookRegenerateApikeyV1(pkiWebhookID, webhookRegenerateApikeyV1Request)
Regenerate the Apikey
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectWebhookApi()
val pkiWebhookID : kotlin.Int = 56 // kotlin.Int |
val webhookRegenerateApikeyV1Request : WebhookRegenerateApikeyV1Request = // WebhookRegenerateApikeyV1Request |
try {
val result : WebhookRegenerateApikeyV1Response = apiInstance.webhookRegenerateApikeyV1(pkiWebhookID, webhookRegenerateApikeyV1Request)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectWebhookApi#webhookRegenerateApikeyV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectWebhookApi#webhookRegenerateApikeyV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiWebhookID | kotlin.Int | ||
webhookRegenerateApikeyV1Request | WebhookRegenerateApikeyV1Request |
WebhookRegenerateApikeyV1Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
WebhookTestV1Response webhookTestV1(pkiWebhookID, body)
Test the Webhook by calling the Url
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectWebhookApi()
val pkiWebhookID : kotlin.Int = 56 // kotlin.Int |
val body : kotlin.Any = Object // kotlin.Any |
try {
val result : WebhookTestV1Response = apiInstance.webhookTestV1(pkiWebhookID, body)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectWebhookApi#webhookTestV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectWebhookApi#webhookTestV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiWebhookID | kotlin.Int | ||
body | kotlin.Any |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json