All URIs are relative to https://api.hubapi.com
Method | HTTP request | Description |
---|---|---|
PostCrmV3ObjectsFeedbackSubmissionsMergeMerge | Post /crm/v3/objects/feedback_submissions/merge | Merge two feedback submissions with same type |
SimplePublicObject PostCrmV3ObjectsFeedbackSubmissionsMergeMerge(ctx).PublicMergeInput(publicMergeInput).Execute()
Merge two feedback submissions with same type
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
publicMergeInput := *openapiclient.NewPublicMergeInput("ObjectIdToMerge_example", "PrimaryObjectId_example") // PublicMergeInput |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PublicObjectApi.PostCrmV3ObjectsFeedbackSubmissionsMergeMerge(context.Background()).PublicMergeInput(publicMergeInput).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PublicObjectApi.PostCrmV3ObjectsFeedbackSubmissionsMergeMerge``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PostCrmV3ObjectsFeedbackSubmissionsMergeMerge`: SimplePublicObject
fmt.Fprintf(os.Stdout, "Response from `PublicObjectApi.PostCrmV3ObjectsFeedbackSubmissionsMergeMerge`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiPostCrmV3ObjectsFeedbackSubmissionsMergeMergeRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
publicMergeInput | PublicMergeInput |
oauth2_legacy, private_apps_legacy
- Content-Type: application/json
- Accept: application/json, /
[Back to top] [Back to API list] [Back to Model list] [Back to README]