All URIs are relative to https://api.hubapi.com
| Method | HTTP request | Description |
|---|---|---|
| PostAutomationV4ActionsCallbacksCallbackIdCompleteComplete | POST /automation/v4/actions/callbacks/{callbackId}/complete | Complete a callback |
| PostAutomationV4ActionsCallbacksCompleteCompleteBatch | POST /automation/v4/actions/callbacks/complete | Complete a batch of callbacks |
| PostCrmV3ExtensionsAccountingCallbackCustomerCreateRequestIdCreateCustomer | POST /crm/v3/extensions/accounting/callback/customer-create/{requestId} | Endpoint for customer creation response |
| PostCrmV3ExtensionsAccountingCallbackCustomerSearchRequestIdDoCustomerSearch | POST /crm/v3/extensions/accounting/callback/customer-search/{requestId} | Endpoint for customer search response |
| PostCrmV3ExtensionsAccountingCallbackExchangeRateRequestIdCreateExchangeRate | POST /crm/v3/extensions/accounting/callback/exchange-rate/{requestId} | Endpoint for exchange rate response |
| PostCrmV3ExtensionsAccountingCallbackInvoiceCreateRequestIdCreateInvoice | POST /crm/v3/extensions/accounting/callback/invoice-create/{requestId} | Endpoint for invoice creation response |
| PostCrmV3ExtensionsAccountingCallbackInvoicePdfRequestIdInvoicePdf | POST /crm/v3/extensions/accounting/callback/invoice-pdf/{requestId} | Endpoint for PDF content of invoice |
| PostCrmV3ExtensionsAccountingCallbackInvoiceSearchRequestIdDoInvoiceSearch | POST /crm/v3/extensions/accounting/callback/invoice-search/{requestId} | Endpoint for invoice search response |
| PostCrmV3ExtensionsAccountingCallbackInvoicesRequestIdGetById | POST /crm/v3/extensions/accounting/callback/invoices/{requestId} | Endpoint for invoice get-by-id response |
| PostCrmV3ExtensionsAccountingCallbackProductSearchRequestIdDoProductSearch | POST /crm/v3/extensions/accounting/callback/product-search/{requestId} | Endpoint for product search response |
| PostCrmV3ExtensionsAccountingCallbackTaxSearchRequestIdDoTaxSearch | POST /crm/v3/extensions/accounting/callback/tax-search/{requestId} | Endpoint for taxes search response |
| PostCrmV3ExtensionsAccountingCallbackTermsRequestIdCreateTerm | POST /crm/v3/extensions/accounting/callback/terms/{requestId} | Endpoint for terms search response |
void PostAutomationV4ActionsCallbacksCallbackIdCompleteComplete (string callbackId, CallbackCompletionRequest callbackCompletionRequest)
Complete a callback
Completes the given action callback.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostAutomationV4ActionsCallbacksCallbackIdCompleteCompleteExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var callbackId = "callbackId_example"; // string | The ID of the target app.
var callbackCompletionRequest = new CallbackCompletionRequest(); // CallbackCompletionRequest | The result of the completed action.
try
{
// Complete a callback
apiInstance.PostAutomationV4ActionsCallbacksCallbackIdCompleteComplete(callbackId, callbackCompletionRequest);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostAutomationV4ActionsCallbacksCallbackIdCompleteComplete: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| callbackId | string | The ID of the target app. | |
| callbackCompletionRequest | CallbackCompletionRequest | The result of the completed action. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostAutomationV4ActionsCallbacksCompleteCompleteBatch (BatchInputCallbackCompletionBatchRequest batchInputCallbackCompletionBatchRequest)
Complete a batch of callbacks
Completes the given action callbacks.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostAutomationV4ActionsCallbacksCompleteCompleteBatchExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var batchInputCallbackCompletionBatchRequest = new BatchInputCallbackCompletionBatchRequest(); // BatchInputCallbackCompletionBatchRequest | The result of the completed action.
try
{
// Complete a batch of callbacks
apiInstance.PostAutomationV4ActionsCallbacksCompleteCompleteBatch(batchInputCallbackCompletionBatchRequest);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostAutomationV4ActionsCallbacksCompleteCompleteBatch: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputCallbackCompletionBatchRequest | BatchInputCallbackCompletionBatchRequest | The result of the completed action. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackCustomerCreateRequestIdCreateCustomer (string requestId, ResultIdAccountingResponse resultIdAccountingResponse)
Endpoint for customer creation response
Call this endpoint with the response to a customer creation request.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackCustomerCreateRequestIdCreateCustomerExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var resultIdAccountingResponse = new ResultIdAccountingResponse(); // ResultIdAccountingResponse | The ID of the created customer.
try
{
// Endpoint for customer creation response
apiInstance.PostCrmV3ExtensionsAccountingCallbackCustomerCreateRequestIdCreateCustomer(requestId, resultIdAccountingResponse);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackCustomerCreateRequestIdCreateCustomer: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| resultIdAccountingResponse | ResultIdAccountingResponse | The ID of the created customer. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackCustomerSearchRequestIdDoCustomerSearch (string requestId, CustomerSearchResponseExternal customerSearchResponseExternal)
Endpoint for customer search response
Call this endpoint with the response to a customer search request.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackCustomerSearchRequestIdDoCustomerSearchExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var customerSearchResponseExternal = new CustomerSearchResponseExternal(); // CustomerSearchResponseExternal | The result of the customer search request.
try
{
// Endpoint for customer search response
apiInstance.PostCrmV3ExtensionsAccountingCallbackCustomerSearchRequestIdDoCustomerSearch(requestId, customerSearchResponseExternal);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackCustomerSearchRequestIdDoCustomerSearch: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| customerSearchResponseExternal | CustomerSearchResponseExternal | The result of the customer search request. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackExchangeRateRequestIdCreateExchangeRate (string requestId, ExchangeRateResponse exchangeRateResponse)
Endpoint for exchange rate response
Call this endpoint with the response to an exchange rate request.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackExchangeRateRequestIdCreateExchangeRateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var exchangeRateResponse = new ExchangeRateResponse(); // ExchangeRateResponse | The result of the exchange rate request.
try
{
// Endpoint for exchange rate response
apiInstance.PostCrmV3ExtensionsAccountingCallbackExchangeRateRequestIdCreateExchangeRate(requestId, exchangeRateResponse);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackExchangeRateRequestIdCreateExchangeRate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| exchangeRateResponse | ExchangeRateResponse | The result of the exchange rate request. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackInvoiceCreateRequestIdCreateInvoice (string requestId, ResultIdAccountingResponse resultIdAccountingResponse)
Endpoint for invoice creation response
Call this endpoint with the response to a invoice creation request.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackInvoiceCreateRequestIdCreateInvoiceExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var resultIdAccountingResponse = new ResultIdAccountingResponse(); // ResultIdAccountingResponse | The ID of the created invoice.
try
{
// Endpoint for invoice creation response
apiInstance.PostCrmV3ExtensionsAccountingCallbackInvoiceCreateRequestIdCreateInvoice(requestId, resultIdAccountingResponse);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackInvoiceCreateRequestIdCreateInvoice: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| resultIdAccountingResponse | ResultIdAccountingResponse | The ID of the created invoice. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackInvoicePdfRequestIdInvoicePdf (string requestId, InvoicePdfResponse invoicePdfResponse)
Endpoint for PDF content of invoice
Call this endpoint with the PDF content of a requested invoice.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackInvoicePdfRequestIdInvoicePdfExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var invoicePdfResponse = new InvoicePdfResponse(); // InvoicePdfResponse | The bytes of the invoice PDF.
try
{
// Endpoint for PDF content of invoice
apiInstance.PostCrmV3ExtensionsAccountingCallbackInvoicePdfRequestIdInvoicePdf(requestId, invoicePdfResponse);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackInvoicePdfRequestIdInvoicePdf: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| invoicePdfResponse | InvoicePdfResponse | The bytes of the invoice PDF. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackInvoiceSearchRequestIdDoInvoiceSearch (string requestId, InvoiceSearchResponse invoiceSearchResponse)
Endpoint for invoice search response
Call this endpoint with the response to a invoice search request.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackInvoiceSearchRequestIdDoInvoiceSearchExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var invoiceSearchResponse = new InvoiceSearchResponse(); // InvoiceSearchResponse | The result of the invoice search request.
try
{
// Endpoint for invoice search response
apiInstance.PostCrmV3ExtensionsAccountingCallbackInvoiceSearchRequestIdDoInvoiceSearch(requestId, invoiceSearchResponse);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackInvoiceSearchRequestIdDoInvoiceSearch: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| invoiceSearchResponse | InvoiceSearchResponse | The result of the invoice search request. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackInvoicesRequestIdGetById (string requestId, InvoicesResponseExternal invoicesResponseExternal)
Endpoint for invoice get-by-id response
Call this endpoint with the response to a invoice get-by-id request.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackInvoicesRequestIdGetByIdExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var invoicesResponseExternal = new InvoicesResponseExternal(); // InvoicesResponseExternal | The result of the invoice request.
try
{
// Endpoint for invoice get-by-id response
apiInstance.PostCrmV3ExtensionsAccountingCallbackInvoicesRequestIdGetById(requestId, invoicesResponseExternal);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackInvoicesRequestIdGetById: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| invoicesResponseExternal | InvoicesResponseExternal | The result of the invoice request. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackProductSearchRequestIdDoProductSearch (string requestId, ProductSearchResponse productSearchResponse)
Endpoint for product search response
Call this endpoint with the response to a product search request.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackProductSearchRequestIdDoProductSearchExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var productSearchResponse = new ProductSearchResponse(); // ProductSearchResponse | The result of the product search request.
try
{
// Endpoint for product search response
apiInstance.PostCrmV3ExtensionsAccountingCallbackProductSearchRequestIdDoProductSearch(requestId, productSearchResponse);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackProductSearchRequestIdDoProductSearch: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| productSearchResponse | ProductSearchResponse | The result of the product search request. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackTaxSearchRequestIdDoTaxSearch (string requestId, TaxSearchResponse taxSearchResponse)
Endpoint for taxes search response
Call this endpoint with the response to a taxes search request.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackTaxSearchRequestIdDoTaxSearchExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var taxSearchResponse = new TaxSearchResponse(); // TaxSearchResponse | The result of the taxes search request.
try
{
// Endpoint for taxes search response
apiInstance.PostCrmV3ExtensionsAccountingCallbackTaxSearchRequestIdDoTaxSearch(requestId, taxSearchResponse);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackTaxSearchRequestIdDoTaxSearch: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| taxSearchResponse | TaxSearchResponse | The result of the taxes search request. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ExtensionsAccountingCallbackTermsRequestIdCreateTerm (string requestId, TermsResponse termsResponse)
Endpoint for terms search response
Call this endpoint with the response to a terms search request.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ExtensionsAccountingCallbackTermsRequestIdCreateTermExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new CallbacksApi(config);
var requestId = "requestId_example"; // string | The ID of the request that this response is for
var termsResponse = new TermsResponse(); // TermsResponse | The result of the terms search
try
{
// Endpoint for terms search response
apiInstance.PostCrmV3ExtensionsAccountingCallbackTermsRequestIdCreateTerm(requestId, termsResponse);
}
catch (ApiException e)
{
Debug.Print("Exception when calling CallbacksApi.PostCrmV3ExtensionsAccountingCallbackTermsRequestIdCreateTerm: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| requestId | string | The ID of the request that this response is for | |
| termsResponse | TermsResponse | The result of the terms search |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 204 | No content | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]