All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
customerCreateObjectV1 | POST /1/object/customer | Create a new Customer |
customerGetObjectV2 | GET /2/object/customer/{pkiCustomerID} | Retrieve an existing Customer |
CustomerCreateObjectV1Response customerCreateObjectV1(customerCreateObjectV1Request)
Create a new Customer
The endpoint allows to create one or many elements at once.
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectCustomerApi()
val customerCreateObjectV1Request : CustomerCreateObjectV1Request = // CustomerCreateObjectV1Request |
try {
val result : CustomerCreateObjectV1Response = apiInstance.customerCreateObjectV1(customerCreateObjectV1Request)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectCustomerApi#customerCreateObjectV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectCustomerApi#customerCreateObjectV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
customerCreateObjectV1Request | CustomerCreateObjectV1Request |
CustomerCreateObjectV1Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
CustomerGetObjectV2Response customerGetObjectV2(pkiCustomerID)
Retrieve an existing Customer
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectCustomerApi()
val pkiCustomerID : kotlin.Int = 56 // kotlin.Int | The unique ID of the Customer
try {
val result : CustomerGetObjectV2Response = apiInstance.customerGetObjectV2(pkiCustomerID)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectCustomerApi#customerGetObjectV2")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectCustomerApi#customerGetObjectV2")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiCustomerID | kotlin.Int | The unique ID of the Customer |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json