Skip to content

Latest commit

 

History

History
81 lines (52 loc) · 2.71 KB

PublicImportsApi.md

File metadata and controls

81 lines (52 loc) · 2.71 KB

\PublicImportsApi

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

Method HTTP request Description
GetErrors Get /crm/v3/imports/{importId}/errors

GetErrors

CollectionResponsePublicImportErrorForwardPaging GetErrors(ctx, importId).After(after).Limit(limit).Execute()

Example

package main

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

func main() {
    importId := int64(789) // int64 | 
    after := "after_example" // string | The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
    limit := int32(56) // int32 | The maximum number of results to display per page. (optional)

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.PublicImportsApi.GetErrors(context.Background(), importId).After(after).Limit(limit).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `PublicImportsApi.GetErrors``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `GetErrors`: CollectionResponsePublicImportErrorForwardPaging
    fmt.Fprintf(os.Stdout, "Response from `PublicImportsApi.GetErrors`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
importId int64

Other Parameters

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

Name Type Description Notes

after | string | The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. | limit | int32 | The maximum number of results to display per page. |

Return type

CollectionResponsePublicImportErrorForwardPaging

Authorization

hapikey, oauth2_legacy, 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]