Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 2.28 KB

ModuleUserAPI.md

File metadata and controls

75 lines (46 loc) · 2.28 KB

eZmaxAPI\ModuleUserAPI

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

Method HTTP request Description
UserCreateEzsignuserV1 Post /1/module/user/createezsignuser Create a new User of type Ezsignuser

UserCreateEzsignuserV1

UserCreateEzsignuserV1Response UserCreateEzsignuserV1(ctx).UserCreateEzsignuserV1Request(userCreateEzsignuserV1Request).Execute()

Create a new User of type Ezsignuser

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/ezmaxinc/ezmax-sdk-go"
)

func main() {
	userCreateEzsignuserV1Request := []openapiclient.UserCreateEzsignuserV1Request{*openapiclient.NewUserCreateEzsignuserV1Request(int32(2), "John", "Doe", "email@example.com", "514", "990", "1516")} // []UserCreateEzsignuserV1Request | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.ModuleUserAPI.UserCreateEzsignuserV1(context.Background()).UserCreateEzsignuserV1Request(userCreateEzsignuserV1Request).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ModuleUserAPI.UserCreateEzsignuserV1``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `UserCreateEzsignuserV1`: UserCreateEzsignuserV1Response
	fmt.Fprintf(os.Stdout, "Response from `ModuleUserAPI.UserCreateEzsignuserV1`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiUserCreateEzsignuserV1Request struct via the builder pattern

Name Type Description Notes
userCreateEzsignuserV1Request []UserCreateEzsignuserV1Request

Return type

UserCreateEzsignuserV1Response

Authorization

Authorization

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]