This API expose all the functionnalities for the eZmax and eZsign applications.
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 1.1.3
- Package version: 1.1.3
- Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://www.ezmax.ca/en/contact
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import sw "./eZmaxApi"
To use a proxy, set the environment variable HTTP_PROXY
:
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
Default configuration comes with Servers
field that contains server objects as defined in the OpenAPI specification.
For using other server than the one defined on index 0 set context value sw.ContextServerIndex
of type int
.
ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables
of type map[string]string
.
ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Note, enum values are always validated and all unused variables are silently ignored.
Each operation can use different server URL defined using OperationServers
map in the Configuration
.
An operation is uniquely identified by "{classname}Service.{nickname}"
string.
Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
"{classname}Service.{nickname}": {
"port": "8443",
},
})
All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Class | Method | HTTP request | Description |
---|---|---|---|
GlobalCustomerApi | GlobalCustomerGetEndpointV1 | Get /1/customer/{pksCustomerCode}/endpoint | Get customer endpoint |
ModuleAuthenticateApi | AuthenticateAuthenticateV2 | Post /2/module/authenticate/authenticate/{eSessionType} | Authenticate a user |
ModuleListApi | ListGetListpresentationV1 | Get /1/module/list/listpresentation/{sListName} | Get all Listpresentation for a specific list |
ModuleListApi | ListSaveListpresentationV1 | Post /1/module/list/listpresentation/{sListName} | Save all Listpresentation for a specific list |
ModuleSsprApi | SsprResetPasswordRequestV1 | Post /1/module/sspr/resetPasswordRequest | Reset Password Request |
ModuleSsprApi | SsprResetPasswordV1 | Post /1/module/sspr/resetPassword | Reset Password |
ModuleSsprApi | SsprSendUsernamesV1 | Post /1/module/sspr/sendUsernames | Send username(s) |
ModuleSsprApi | SsprUnlockAccountRequestV1 | Post /1/module/sspr/unlockAccountRequest | Unlock Account Request |
ModuleSsprApi | SsprUnlockAccountV1 | Post /1/module/sspr/unlockAccount | Unlock Account |
ModuleSsprApi | SsprValidateTokenV1 | Post /1/module/sspr/validateToken | Validate Token |
ModuleUserApi | UserCreateEzsignuserV1 | Post /1/module/user/createezsignuser | Create a new User of type Ezsignuser |
ObjectActivesessionApi | ActivesessionGetCurrentV1 | Get /1/object/activesession/getCurrent | Get Current Activesession |
ObjectApikeyApi | ApikeyCreateObjectV1 | Post /1/object/apikey | Create a new Apikey |
ObjectEzsignbulksendApi | EzsignbulksendGetListV1 | Get /1/object/ezsignbulksend/getList | Retrieve Ezsignbulksend list |
ObjectEzsigndocumentApi | EzsigndocumentApplyEzsigntemplateV1 | Post /1/object/ezsigndocument/{pkiEzsigndocumentID}/applyezsigntemplate | Apply an Ezsign Template to the Ezsigndocument. |
ObjectEzsigndocumentApi | EzsigndocumentApplyEzsigntemplateV2 | Post /2/object/ezsigndocument/{pkiEzsigndocumentID}/applyEzsigntemplate | Apply an Ezsign Template to the Ezsigndocument. |
ObjectEzsigndocumentApi | EzsigndocumentCreateObjectV1 | Post /1/object/ezsigndocument | Create a new Ezsigndocument |
ObjectEzsigndocumentApi | EzsigndocumentDeleteObjectV1 | Delete /1/object/ezsigndocument/{pkiEzsigndocumentID} | Delete an existing Ezsigndocument |
ObjectEzsigndocumentApi | EzsigndocumentGetChildrenV1 | Get /1/object/ezsigndocument/{pkiEzsigndocumentID}/getChildren | Retrieve an existing Ezsigndocument's children IDs |
ObjectEzsigndocumentApi | EzsigndocumentGetDownloadUrlV1 | Get /1/object/ezsigndocument/{pkiEzsigndocumentID}/getDownloadUrl/{eDocumentType} | Retrieve a URL to download documents. |
ObjectEzsigndocumentApi | EzsigndocumentGetEzsignpagesV1 | Get /1/object/ezsigndocument/{pkiEzsigndocumentID}/getEzsignpages | Retrieve an existing Ezsigndocument's Ezsignpages |
ObjectEzsigndocumentApi | EzsigndocumentGetFormDataV1 | Get /1/object/ezsigndocument/{pkiEzsigndocumentID}/getFormData | Retrieve an existing Ezsigndocument's Form Data |
ObjectEzsigndocumentApi | EzsigndocumentGetObjectV1 | Get /1/object/ezsigndocument/{pkiEzsigndocumentID} | Retrieve an existing Ezsigndocument |
ObjectEzsigndocumentApi | EzsigndocumentGetWordsPositionsV1 | Post /1/object/ezsigndocument/{pkiEzsigndocumentID}/getWordsPositions | Retrieve positions X,Y of given words from a Ezsigndocument |
ObjectEzsignfolderApi | EzsignfolderCreateObjectV1 | Post /1/object/ezsignfolder | Create a new Ezsignfolder |
ObjectEzsignfolderApi | EzsignfolderDeleteObjectV1 | Delete /1/object/ezsignfolder/{pkiEzsignfolderID} | Delete an existing Ezsignfolder |
ObjectEzsignfolderApi | EzsignfolderGetChildrenV1 | Get /1/object/ezsignfolder/{pkiEzsignfolderID}/getChildren | Retrieve an existing Ezsignfolder's children IDs |
ObjectEzsignfolderApi | EzsignfolderGetFormsDataV1 | Get /1/object/ezsignfolder/{pkiEzsignfolderID}/getFormsData | Retrieve an existing Ezsignfolder's forms data |
ObjectEzsignfolderApi | EzsignfolderGetListV1 | Get /1/object/ezsignfolder/getList | Retrieve Ezsignfolder list |
ObjectEzsignfolderApi | EzsignfolderGetObjectV1 | Get /1/object/ezsignfolder/{pkiEzsignfolderID} | Retrieve an existing Ezsignfolder |
ObjectEzsignfolderApi | EzsignfolderSendV1 | Post /1/object/ezsignfolder/{pkiEzsignfolderID}/send | Send the Ezsignfolder to the signatories for signature |
ObjectEzsignfolderApi | EzsignfolderUnsendV1 | Post /1/object/ezsignfolder/{pkiEzsignfolderID}/unsend | Unsend the Ezsignfolder |
ObjectEzsignfoldersignerassociationApi | EzsignfoldersignerassociationCreateObjectV1 | Post /1/object/ezsignfoldersignerassociation | Create a new Ezsignfoldersignerassociation |
ObjectEzsignfoldersignerassociationApi | EzsignfoldersignerassociationDeleteObjectV1 | Delete /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | Delete an existing Ezsignfoldersignerassociation |
ObjectEzsignfoldersignerassociationApi | EzsignfoldersignerassociationGetChildrenV1 | Get /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/getChildren | Retrieve an existing Ezsignfoldersignerassociation's children IDs |
ObjectEzsignfoldersignerassociationApi | EzsignfoldersignerassociationGetInPersonLoginUrlV1 | Get /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/getInPersonLoginUrl | Retrieve a Login Url to allow In-Person signing |
ObjectEzsignfoldersignerassociationApi | EzsignfoldersignerassociationGetObjectV1 | Get /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | Retrieve an existing Ezsignfoldersignerassociation |
ObjectEzsignfoldertypeApi | EzsignfoldertypeGetAutocompleteV1 | Get /1/object/ezsignfoldertype/getAutocomplete/{sSelector} | Retrieve Ezsignfoldertypes and IDs |
ObjectEzsignfoldertypeApi | EzsignfoldertypeGetListV1 | Get /1/object/ezsignfoldertype/getList | Retrieve Ezsignfoldertype list |
ObjectEzsignsignatureApi | EzsignsignatureCreateObjectV1 | Post /1/object/ezsignsignature | Create a new Ezsignsignature |
ObjectEzsignsignatureApi | EzsignsignatureDeleteObjectV1 | Delete /1/object/ezsignsignature/{pkiEzsignsignatureID} | Delete an existing Ezsignsignature |
ObjectEzsignsignatureApi | EzsignsignatureGetChildrenV1 | Get /1/object/ezsignsignature/{pkiEzsignsignatureID}/getChildren | Retrieve an existing Ezsignsignature's children IDs |
ObjectEzsignsignatureApi | EzsignsignatureGetObjectV1 | Get /1/object/ezsignsignature/{pkiEzsignsignatureID} | Retrieve an existing Ezsignsignature |
ObjectEzsigntemplatepackageApi | EzsigntemplatepackageGetListV1 | Get /1/object/ezsigntemplatepackage/getList | Retrieve Ezsigntemplatepackage list |
ObjectFranchisebrokerApi | FranchisebrokerGetAutocompleteV1 | Get /1/object/franchisebroker/getAutocomplete/{sSelector} | Retrieve Franchisebrokers and IDs |
ObjectFranchiseofficeApi | FranchiseofficeGetAutocompleteV1 | Get /1/object/franchiseoffice/getAutocomplete/{sSelector} | Retrieve Franchiseoffices and IDs |
ObjectFranchisereferalincomeApi | FranchisereferalincomeCreateObjectV1 | Post /1/object/franchisereferalincome | Create a new Franchisereferalincome |
ObjectPeriodApi | PeriodGetAutocompleteV1 | Get /1/object/period/getAutocomplete/{sSelector} | Retrieve Periods and IDs |
- ActivesessionGetCurrentV1Response
- ActivesessionGetCurrentV1ResponseAllOf
- ActivesessionGetCurrentV1ResponseMPayload
- AddressRequest
- ApikeyCreateObjectV1Request
- ApikeyCreateObjectV1Response
- ApikeyCreateObjectV1ResponseAllOf
- ApikeyCreateObjectV1ResponseMPayload
- ApikeyRequest
- ApikeyRequestCompound
- ApikeyResponse
- AttemptResponse
- AuthenticateAuthenticateV2Request
- AuthenticateAuthenticateV2Response
- AuthenticateAuthenticateV2ResponseAllOf
- AuthenticateAuthenticateV2ResponseMPayload
- CommonAudit
- CommonGetAutocompleteV1Response
- CommonGetAutocompleteV1ResponseAllOf
- CommonGetListV1ResponseMPayload
- CommonResponse
- CommonResponseError
- CommonResponseErrorSTemporaryFileUrl
- CommonResponseErrorSTemporaryFileUrlAllOf
- CommonResponseFilter
- CommonResponseGetList
- CommonResponseObjDebug
- CommonResponseObjDebugPayload
- CommonResponseObjDebugPayloadGetList
- CommonResponseObjDebugPayloadGetListAllOf
- CommonResponseObjSQLQuery
- CommonWebhook
- ContactRequest
- ContactRequestCompound
- ContactRequestCompoundAllOf
- ContactinformationsRequest
- ContactinformationsRequestCompound
- ContactinformationsRequestCompoundAllOf
- CustomAutocompleteElementResponse
- CustomFormDataDocumentResponse
- CustomFormDataSignerResponse
- CustomFormsDataFolderResponse
- CustomWordPositionOccurenceResponse
- CustomWordPositionWordResponse
- EmailRequest
- EzsignbulksendGetListV1Response
- EzsignbulksendGetListV1ResponseAllOf
- EzsignbulksendGetListV1ResponseMPayload
- EzsignbulksendGetListV1ResponseMPayloadAllOf
- EzsignbulksendListElement
- EzsigndocumentApplyEzsigntemplateV1Request
- EzsigndocumentApplyEzsigntemplateV1Response
- EzsigndocumentApplyEzsigntemplateV2Request
- EzsigndocumentApplyEzsigntemplateV2Response
- EzsigndocumentCreateObjectV1Request
- EzsigndocumentCreateObjectV1Response
- EzsigndocumentCreateObjectV1ResponseAllOf
- EzsigndocumentCreateObjectV1ResponseMPayload
- EzsigndocumentDeleteObjectV1Response
- EzsigndocumentGetDownloadUrlV1Response
- EzsigndocumentGetDownloadUrlV1ResponseAllOf
- EzsigndocumentGetDownloadUrlV1ResponseMPayload
- EzsigndocumentGetEzsignpagesV1Response
- EzsigndocumentGetEzsignpagesV1ResponseAllOf
- EzsigndocumentGetEzsignpagesV1ResponseMPayload
- EzsigndocumentGetFormDataV1Response
- EzsigndocumentGetFormDataV1ResponseAllOf
- EzsigndocumentGetFormDataV1ResponseMPayload
- EzsigndocumentGetObjectV1Response
- EzsigndocumentGetObjectV1ResponseAllOf
- EzsigndocumentGetObjectV1ResponseMPayload
- EzsigndocumentGetWordsPositionsV1Request
- EzsigndocumentGetWordsPositionsV1Response
- EzsigndocumentGetWordsPositionsV1ResponseAllOf
- EzsigndocumentRequest
- EzsigndocumentRequestCompound
- EzsigndocumentResponse
- EzsigndocumentResponseCompound
- EzsignfolderCreateObjectV1Request
- EzsignfolderCreateObjectV1Response
- EzsignfolderCreateObjectV1ResponseAllOf
- EzsignfolderCreateObjectV1ResponseMPayload
- EzsignfolderDeleteObjectV1Response
- EzsignfolderGetFormsDataV1Response
- EzsignfolderGetFormsDataV1ResponseAllOf
- EzsignfolderGetFormsDataV1ResponseMPayload
- EzsignfolderGetListV1Response
- EzsignfolderGetListV1ResponseAllOf
- EzsignfolderGetListV1ResponseMPayload
- EzsignfolderGetListV1ResponseMPayloadAllOf
- EzsignfolderGetObjectV1Response
- EzsignfolderGetObjectV1ResponseAllOf
- EzsignfolderGetObjectV1ResponseMPayload
- EzsignfolderListElement
- EzsignfolderRequest
- EzsignfolderRequestCompound
- EzsignfolderRequestCompoundAllOf
- EzsignfolderResponse
- EzsignfolderResponseCompound
- EzsignfolderSendV1Request
- EzsignfolderSendV1Response
- EzsignfolderUnsendV1Response
- EzsignfoldersignerassociationCreateObjectV1Request
- EzsignfoldersignerassociationCreateObjectV1Response
- EzsignfoldersignerassociationCreateObjectV1ResponseAllOf
- EzsignfoldersignerassociationCreateObjectV1ResponseMPayload
- EzsignfoldersignerassociationDeleteObjectV1Response
- EzsignfoldersignerassociationGetInPersonLoginUrlV1Response
- EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseAllOf
- EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload
- EzsignfoldersignerassociationGetObjectV1Response
- EzsignfoldersignerassociationGetObjectV1ResponseAllOf
- EzsignfoldersignerassociationRequest
- EzsignfoldersignerassociationRequestCompound
- EzsignfoldersignerassociationRequestCompoundAllOf
- EzsignfoldertypeGetListV1Response
- EzsignfoldertypeGetListV1ResponseAllOf
- EzsignfoldertypeGetListV1ResponseMPayload
- EzsignfoldertypeGetListV1ResponseMPayloadAllOf
- EzsignfoldertypeListElement
- EzsignformfieldResponse
- EzsignformfieldResponseCompound
- EzsignformfieldgroupResponse
- EzsignformfieldgroupResponseCompound
- EzsignformfieldgroupResponseCompoundAllOf
- EzsignpageResponse
- EzsignsignatureCreateObjectV1Request
- EzsignsignatureCreateObjectV1Response
- EzsignsignatureCreateObjectV1ResponseAllOf
- EzsignsignatureCreateObjectV1ResponseMPayload
- EzsignsignatureDeleteObjectV1Response
- EzsignsignatureGetObjectV1Response
- EzsignsignatureGetObjectV1ResponseAllOf
- EzsignsignatureRequest
- EzsignsignatureRequestCompound
- EzsignsignerRequest
- EzsignsignerRequestCompound
- EzsignsignerRequestCompoundAllOf
- EzsignsignerRequestCompoundContact
- EzsigntemplatepackageGetListV1Response
- EzsigntemplatepackageGetListV1ResponseAllOf
- EzsigntemplatepackageGetListV1ResponseMPayload
- EzsigntemplatepackageGetListV1ResponseMPayloadAllOf
- EzsigntemplatepackageListElement
- FieldEEzsigndocumentStep
- FieldEEzsignfolderSendreminderfrequency
- FieldEEzsignfolderStep
- FieldEEzsignfoldertypePrivacylevel
- FieldEEzsignsignatureType
- FieldEEzsigntemplatepackageType
- FieldEPhoneType
- FieldEUserType
- FieldEUserTypeSSPR
- FranchisereferalincomeCreateObjectV1Request
- FranchisereferalincomeCreateObjectV1Response
- FranchisereferalincomeCreateObjectV1ResponseAllOf
- FranchisereferalincomeCreateObjectV1ResponseMPayload
- FranchisereferalincomeRequest
- FranchisereferalincomeRequestCompound
- FranchisereferalincomeRequestCompoundAllOf
- GlobalCustomerGetEndpointV1Response
- HeaderAcceptLanguage
- ListGetListpresentationV1Response
- ListGetListpresentationV1ResponseAllOf
- ListGetListpresentationV1ResponseMPayload
- ListSaveListpresentationV1Request
- ListSaveListpresentationV1Response
- ListpresentationRequest
- MultilingualApikeyDescription
- PhoneRequest
- SsprResetPasswordRequestV1Request
- SsprResetPasswordV1Request
- SsprSendUsernamesV1Request
- SsprUnlockAccountRequestV1Request
- SsprUnlockAccountV1Request
- SsprValidateTokenV1Request
- UNUSEDEzsigndocumentEditObjectV1Request
- UNUSEDEzsigndocumentEditObjectV1Response
- UNUSEDEzsignfolderEditObjectV1Request
- UNUSEDEzsignfolderEditObjectV1Response
- UNUSEDEzsignfoldersignerassociationEditObjectV1Request
- UNUSEDEzsignfoldersignerassociationEditObjectV1Response
- UNUSEDEzsignsignatureEditObjectV1Request
- UNUSEDEzsignsignatureEditObjectV1Response
- UserCreateEzsignuserV1Request
- UserCreateEzsignuserV1Response
- UserCreateEzsignuserV1ResponseAllOf
- UserCreateEzsignuserV1ResponseMPayload
- UserResponse
- WebhookEzsignDocumentCompleted
- WebhookEzsignDocumentCompletedAllOf
- WebhookEzsignFolderCompleted
- WebhookEzsignFolderCompletedAllOf
- WebhookResponse
- WebhookUserUserCreated
- WebhookUserUserCreatedAllOf
- WebsiteRequest
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
Note, each API key must be added to a map of map[string]APIKey
where the key is: Authorization and passed in as the auth context for each request.
Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:
PtrBool
PtrInt
PtrInt32
PtrInt64
PtrFloat
PtrFloat32
PtrFloat64
PtrString
PtrTime