All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
UsergroupmembershipCreateObjectV1 | Post /1/object/usergroupmembership | Create a new Usergroupmembership |
UsergroupmembershipDeleteObjectV1 | Delete /1/object/usergroupmembership/{pkiUsergroupmembershipID} | Delete an existing Usergroupmembership |
UsergroupmembershipEditObjectV1 | Put /1/object/usergroupmembership/{pkiUsergroupmembershipID} | Edit an existing Usergroupmembership |
UsergroupmembershipGetObjectV2 | Get /2/object/usergroupmembership/{pkiUsergroupmembershipID} | Retrieve an existing Usergroupmembership |
UsergroupmembershipCreateObjectV1Response UsergroupmembershipCreateObjectV1(ctx).UsergroupmembershipCreateObjectV1Request(usergroupmembershipCreateObjectV1Request).Execute()
Create a new Usergroupmembership
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/ezmaxinc/ezmax-sdk-go"
)
func main() {
usergroupmembershipCreateObjectV1Request := *openapiclient.NewUsergroupmembershipCreateObjectV1Request([]openapiclient.UsergroupmembershipRequestCompound{*openapiclient.NewUsergroupmembershipRequestCompound(int32(2))}) // UsergroupmembershipCreateObjectV1Request |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ObjectUsergroupmembershipAPI.UsergroupmembershipCreateObjectV1(context.Background()).UsergroupmembershipCreateObjectV1Request(usergroupmembershipCreateObjectV1Request).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ObjectUsergroupmembershipAPI.UsergroupmembershipCreateObjectV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UsergroupmembershipCreateObjectV1`: UsergroupmembershipCreateObjectV1Response
fmt.Fprintf(os.Stdout, "Response from `ObjectUsergroupmembershipAPI.UsergroupmembershipCreateObjectV1`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiUsergroupmembershipCreateObjectV1Request struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
usergroupmembershipCreateObjectV1Request | UsergroupmembershipCreateObjectV1Request |
UsergroupmembershipCreateObjectV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupmembershipDeleteObjectV1Response UsergroupmembershipDeleteObjectV1(ctx, pkiUsergroupmembershipID).Execute()
Delete an existing Usergroupmembership
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/ezmaxinc/ezmax-sdk-go"
)
func main() {
pkiUsergroupmembershipID := int32(56) // int32 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ObjectUsergroupmembershipAPI.UsergroupmembershipDeleteObjectV1(context.Background(), pkiUsergroupmembershipID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ObjectUsergroupmembershipAPI.UsergroupmembershipDeleteObjectV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UsergroupmembershipDeleteObjectV1`: UsergroupmembershipDeleteObjectV1Response
fmt.Fprintf(os.Stdout, "Response from `ObjectUsergroupmembershipAPI.UsergroupmembershipDeleteObjectV1`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
pkiUsergroupmembershipID | int32 |
Other parameters are passed through a pointer to a apiUsergroupmembershipDeleteObjectV1Request struct via the builder pattern
Name | Type | Description | Notes |
---|
UsergroupmembershipDeleteObjectV1Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupmembershipEditObjectV1Response UsergroupmembershipEditObjectV1(ctx, pkiUsergroupmembershipID).UsergroupmembershipEditObjectV1Request(usergroupmembershipEditObjectV1Request).Execute()
Edit an existing Usergroupmembership
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/ezmaxinc/ezmax-sdk-go"
)
func main() {
pkiUsergroupmembershipID := int32(56) // int32 |
usergroupmembershipEditObjectV1Request := *openapiclient.NewUsergroupmembershipEditObjectV1Request(*openapiclient.NewUsergroupmembershipRequestCompound(int32(2))) // UsergroupmembershipEditObjectV1Request |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ObjectUsergroupmembershipAPI.UsergroupmembershipEditObjectV1(context.Background(), pkiUsergroupmembershipID).UsergroupmembershipEditObjectV1Request(usergroupmembershipEditObjectV1Request).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ObjectUsergroupmembershipAPI.UsergroupmembershipEditObjectV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UsergroupmembershipEditObjectV1`: UsergroupmembershipEditObjectV1Response
fmt.Fprintf(os.Stdout, "Response from `ObjectUsergroupmembershipAPI.UsergroupmembershipEditObjectV1`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
pkiUsergroupmembershipID | int32 |
Other parameters are passed through a pointer to a apiUsergroupmembershipEditObjectV1Request struct via the builder pattern
Name | Type | Description | Notes |
---|
usergroupmembershipEditObjectV1Request | UsergroupmembershipEditObjectV1Request | |
UsergroupmembershipEditObjectV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsergroupmembershipGetObjectV2Response UsergroupmembershipGetObjectV2(ctx, pkiUsergroupmembershipID).Execute()
Retrieve an existing Usergroupmembership
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/ezmaxinc/ezmax-sdk-go"
)
func main() {
pkiUsergroupmembershipID := int32(56) // int32 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ObjectUsergroupmembershipAPI.UsergroupmembershipGetObjectV2(context.Background(), pkiUsergroupmembershipID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ObjectUsergroupmembershipAPI.UsergroupmembershipGetObjectV2``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UsergroupmembershipGetObjectV2`: UsergroupmembershipGetObjectV2Response
fmt.Fprintf(os.Stdout, "Response from `ObjectUsergroupmembershipAPI.UsergroupmembershipGetObjectV2`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
pkiUsergroupmembershipID | int32 |
Other parameters are passed through a pointer to a apiUsergroupmembershipGetObjectV2Request struct via the builder pattern
Name | Type | Description | Notes |
---|
UsergroupmembershipGetObjectV2Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]