Skip to content

Latest commit

 

History

History
82 lines (51 loc) · 2.3 KB

TypesApi.md

File metadata and controls

82 lines (51 loc) · 2.3 KB

\TypesApi

All URIs are relative to https://api.hubapi.com

Method HTTP request Description
GetAll Get /crm/v3/associations/{fromObjectType}/{toObjectType}/types List association types

GetAll

CollectionResponsePublicAssociationDefinitionNoPaging GetAll(ctx, fromObjectType, toObjectType).Execute()

List association types

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    fromObjectType := "fromObjectType_example" // string | 
    toObjectType := "toObjectType_example" // string | 

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

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
fromObjectType string
toObjectType string

Other Parameters

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

Name Type Description Notes

Return type

CollectionResponsePublicAssociationDefinitionNoPaging

Authorization

oauth2, oauth2_legacy, private_apps, private_apps_legacy

HTTP request headers

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

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