All URIs are relative to https://api.hubapi.com
Method | HTTP request | Description |
---|---|---|
Search | Post /crm/v3/objects/quotes/search |
CollectionResponseWithTotalSimplePublicObjectForwardPaging Search(ctx).PublicObjectSearchRequest(publicObjectSearchRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
publicObjectSearchRequest := *openapiclient.NewPublicObjectSearchRequest(int32(123), "After_example", []string{"Sorts_example"}, []string{"Properties_example"}, []openapiclient.FilterGroup{*openapiclient.NewFilterGroup([]openapiclient.Filter{*openapiclient.NewFilter("PropertyName_example", "Operator_example")})}) // PublicObjectSearchRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SearchApi.Search(context.Background()).PublicObjectSearchRequest(publicObjectSearchRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SearchApi.Search``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Search`: CollectionResponseWithTotalSimplePublicObjectForwardPaging
fmt.Fprintf(os.Stdout, "Response from `SearchApi.Search`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiSearchRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
publicObjectSearchRequest | PublicObjectSearchRequest |
CollectionResponseWithTotalSimplePublicObjectForwardPaging
- Content-Type: application/json
- Accept: application/json, /
[Back to top] [Back to API list] [Back to Model list] [Back to README]