Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 2.33 KB

PublicObjectApi.md

File metadata and controls

73 lines (46 loc) · 2.33 KB

\PublicObjectApi

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

PostCrmV3ObjectsFeedbackSubmissionsMergeMerge

SimplePublicObject PostCrmV3ObjectsFeedbackSubmissionsMergeMerge(ctx).PublicMergeInput(publicMergeInput).Execute()

Merge two feedback submissions with same type

Example

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)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
publicMergeInput PublicMergeInput

Return type

SimplePublicObject

Authorization

oauth2_legacy, private_apps_legacy

HTTP request headers

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

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