All URIs are relative to https://api.hubapi.com
| Method | HTTP request | Description |
|---|---|---|
| PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchArchiveArchive | POST /crm/v3/associations/{fromObjectType}/{toObjectType}/batch/archive | Archive a batch of associations |
| PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchCreateCreate | POST /crm/v3/associations/{fromObjectType}/{toObjectType}/batch/create | Create a batch of associations |
| PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchReadRead | POST /crm/v3/associations/{fromObjectType}/{toObjectType}/batch/read | Read a batch of associations |
| PostCrmV3ObjectsCompaniesBatchArchiveArchive | POST /crm/v3/objects/companies/batch/archive | Archive a batch of companies by ID |
| PostCrmV3ObjectsCompaniesBatchCreateCreate | POST /crm/v3/objects/companies/batch/create | Create a batch of companies |
| PostCrmV3ObjectsCompaniesBatchReadRead | POST /crm/v3/objects/companies/batch/read | Read a batch of companies by internal ID, or unique property values |
| PostCrmV3ObjectsCompaniesBatchUpdateUpdate | POST /crm/v3/objects/companies/batch/update | Update a batch of companies |
| PostCrmV3ObjectsContactsBatchArchiveArchive | POST /crm/v3/objects/contacts/batch/archive | Archive a batch of contacts by ID |
| PostCrmV3ObjectsContactsBatchCreateCreate | POST /crm/v3/objects/contacts/batch/create | Create a batch of contacts |
| PostCrmV3ObjectsContactsBatchReadRead | POST /crm/v3/objects/contacts/batch/read | Read a batch of contacts by internal ID, or unique property values |
| PostCrmV3ObjectsContactsBatchUpdateUpdate | POST /crm/v3/objects/contacts/batch/update | Update a batch of contacts |
| PostCrmV3ObjectsDealsBatchArchiveArchive | POST /crm/v3/objects/deals/batch/archive | Archive a batch of deals by ID |
| PostCrmV3ObjectsDealsBatchCreateCreate | POST /crm/v3/objects/deals/batch/create | Create a batch of deals |
| PostCrmV3ObjectsDealsBatchReadRead | POST /crm/v3/objects/deals/batch/read | Read a batch of deals by internal ID, or unique property values |
| PostCrmV3ObjectsDealsBatchUpdateUpdate | POST /crm/v3/objects/deals/batch/update | Update a batch of deals |
| PostCrmV3ObjectsFeedbackSubmissionsBatchReadReadBatch | POST /crm/v3/objects/feedback_submissions/batch/read | Read a batch of feedback submissions by internal ID, or unique property values |
| PostCrmV3ObjectsLineItemsBatchArchiveArchive | POST /crm/v3/objects/line_items/batch/archive | Archive a batch of line items by ID |
| PostCrmV3ObjectsLineItemsBatchCreateCreate | POST /crm/v3/objects/line_items/batch/create | Create a batch of line items |
| PostCrmV3ObjectsLineItemsBatchReadRead | POST /crm/v3/objects/line_items/batch/read | Read a batch of line items by internal ID, or unique property values |
| PostCrmV3ObjectsLineItemsBatchUpdateUpdate | POST /crm/v3/objects/line_items/batch/update | Update a batch of line items |
| PostCrmV3ObjectsObjectTypeBatchArchiveArchive | POST /crm/v3/objects/{objectType}/batch/archive | Archive a batch of objects by ID |
| PostCrmV3ObjectsObjectTypeBatchCreateCreate | POST /crm/v3/objects/{objectType}/batch/create | Create a batch of objects |
| PostCrmV3ObjectsObjectTypeBatchReadRead | POST /crm/v3/objects/{objectType}/batch/read | Read a batch of objects by internal ID, or unique property values |
| PostCrmV3ObjectsObjectTypeBatchUpdateUpdate | POST /crm/v3/objects/{objectType}/batch/update | Update a batch of objects |
| PostCrmV3ObjectsProductsBatchArchiveArchive | POST /crm/v3/objects/products/batch/archive | Archive a batch of products by ID |
| PostCrmV3ObjectsProductsBatchCreateCreate | POST /crm/v3/objects/products/batch/create | Create a batch of products |
| PostCrmV3ObjectsProductsBatchReadRead | POST /crm/v3/objects/products/batch/read | Read a batch of products by internal ID, or unique property values |
| PostCrmV3ObjectsProductsBatchUpdateUpdate | POST /crm/v3/objects/products/batch/update | Update a batch of products |
| PostCrmV3ObjectsQuotesBatchReadRead | POST /crm/v3/objects/quotes/batch/read | Read a batch of quotes by internal ID, or unique property values |
| PostCrmV3ObjectsTicketsBatchArchiveArchive | POST /crm/v3/objects/tickets/batch/archive | Archive a batch of tickets by ID |
| PostCrmV3ObjectsTicketsBatchCreateCreate | POST /crm/v3/objects/tickets/batch/create | Create a batch of tickets |
| PostCrmV3ObjectsTicketsBatchReadRead | POST /crm/v3/objects/tickets/batch/read | Read a batch of tickets by internal ID, or unique property values |
| PostCrmV3ObjectsTicketsBatchUpdateUpdate | POST /crm/v3/objects/tickets/batch/update | Update a batch of tickets |
| PostCrmV3PropertiesObjectTypeBatchArchiveArchive | POST /crm/v3/properties/{objectType}/batch/archive | Archive a batch of properties |
| PostCrmV3PropertiesObjectTypeBatchCreateCreate | POST /crm/v3/properties/{objectType}/batch/create | Create a batch of properties |
| PostCrmV3PropertiesObjectTypeBatchReadRead | POST /crm/v3/properties/{objectType}/batch/read | Read a batch of properties |
| PostMarketingV3MarketingEventsEventsDelete | POST /marketing/v3/marketing-events/events/delete | Delete multiple marketing events |
| PostMarketingV3MarketingEventsEventsUpsert | POST /marketing/v3/marketing-events/events/upsert | Create or update multiple marketing events |
void PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchArchiveArchive (string fromObjectType, string toObjectType, BatchInputPublicAssociation batchInputPublicAssociation = null)
Archive a batch of associations
Remove the associations between all pairs of objects identified in the request body.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchArchiveArchiveExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var fromObjectType = "fromObjectType_example"; // string |
var toObjectType = "toObjectType_example"; // string |
var batchInputPublicAssociation = new BatchInputPublicAssociation(); // BatchInputPublicAssociation | (optional)
try
{
// Archive a batch of associations
apiInstance.PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchArchiveArchive(fromObjectType, toObjectType, batchInputPublicAssociation);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchArchiveArchive: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| fromObjectType | string | ||
| toObjectType | string | ||
| batchInputPublicAssociation | BatchInputPublicAssociation | [optional] |
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]
BatchResponsePublicAssociation PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchCreateCreate (string fromObjectType, string toObjectType, BatchInputPublicAssociation batchInputPublicAssociation = null)
Create a batch of associations
Associate all pairs of objects identified in the request body.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchCreateCreateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var fromObjectType = "fromObjectType_example"; // string |
var toObjectType = "toObjectType_example"; // string |
var batchInputPublicAssociation = new BatchInputPublicAssociation(); // BatchInputPublicAssociation | (optional)
try
{
// Create a batch of associations
BatchResponsePublicAssociation result = apiInstance.PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchCreateCreate(fromObjectType, toObjectType, batchInputPublicAssociation);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchCreateCreate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| fromObjectType | string | ||
| toObjectType | string | ||
| batchInputPublicAssociation | BatchInputPublicAssociation | [optional] |
BatchResponsePublicAssociation
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 201 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BatchResponsePublicAssociationMulti PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchReadRead (string fromObjectType, string toObjectType, BatchInputPublicObjectId batchInputPublicObjectId = null)
Read a batch of associations
Get the IDs of all {toObjectType} objects associated with those specified in the request body.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var fromObjectType = "fromObjectType_example"; // string |
var toObjectType = "toObjectType_example"; // string |
var batchInputPublicObjectId = new BatchInputPublicObjectId(); // BatchInputPublicObjectId | (optional)
try
{
// Read a batch of associations
BatchResponsePublicAssociationMulti result = apiInstance.PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchReadRead(fromObjectType, toObjectType, batchInputPublicObjectId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3AssociationsFromObjectTypeToObjectTypeBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| fromObjectType | string | ||
| toObjectType | string | ||
| batchInputPublicObjectId | BatchInputPublicObjectId | [optional] |
BatchResponsePublicAssociationMulti
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ObjectsCompaniesBatchArchiveArchive (BatchInputSimplePublicObjectId batchInputSimplePublicObjectId)
Archive a batch of companies by ID
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsCompaniesBatchArchiveArchiveExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputSimplePublicObjectId = new BatchInputSimplePublicObjectId(); // BatchInputSimplePublicObjectId |
try
{
// Archive a batch of companies by ID
apiInstance.PostCrmV3ObjectsCompaniesBatchArchiveArchive(batchInputSimplePublicObjectId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsCompaniesBatchArchiveArchive: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputSimplePublicObjectId | BatchInputSimplePublicObjectId |
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]
CompaniesBatchResponseSimplePublicObject PostCrmV3ObjectsCompaniesBatchCreateCreate (CompaniesBatchInputSimplePublicObjectInput companiesBatchInputSimplePublicObjectInput)
Create a batch of companies
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsCompaniesBatchCreateCreateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var companiesBatchInputSimplePublicObjectInput = new CompaniesBatchInputSimplePublicObjectInput(); // CompaniesBatchInputSimplePublicObjectInput |
try
{
// Create a batch of companies
CompaniesBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsCompaniesBatchCreateCreate(companiesBatchInputSimplePublicObjectInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsCompaniesBatchCreateCreate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| companiesBatchInputSimplePublicObjectInput | CompaniesBatchInputSimplePublicObjectInput |
CompaniesBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 201 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CompaniesBatchResponseSimplePublicObject PostCrmV3ObjectsCompaniesBatchReadRead (BatchReadInputSimplePublicObjectId batchReadInputSimplePublicObjectId, bool? archived = null)
Read a batch of companies by internal ID, or unique property values
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsCompaniesBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchReadInputSimplePublicObjectId = new BatchReadInputSimplePublicObjectId(); // BatchReadInputSimplePublicObjectId |
var archived = false; // bool? | Whether to return only results that have been archived. (optional) (default to false)
try
{
// Read a batch of companies by internal ID, or unique property values
CompaniesBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsCompaniesBatchReadRead(batchReadInputSimplePublicObjectId, archived);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsCompaniesBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchReadInputSimplePublicObjectId | BatchReadInputSimplePublicObjectId | ||
| archived | bool? | Whether to return only results that have been archived. | [optional] [default to false] |
CompaniesBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CompaniesBatchResponseSimplePublicObject PostCrmV3ObjectsCompaniesBatchUpdateUpdate (CompaniesBatchInputSimplePublicObjectBatchInput companiesBatchInputSimplePublicObjectBatchInput)
Update a batch of companies
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsCompaniesBatchUpdateUpdateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var companiesBatchInputSimplePublicObjectBatchInput = new CompaniesBatchInputSimplePublicObjectBatchInput(); // CompaniesBatchInputSimplePublicObjectBatchInput |
try
{
// Update a batch of companies
CompaniesBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsCompaniesBatchUpdateUpdate(companiesBatchInputSimplePublicObjectBatchInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsCompaniesBatchUpdateUpdate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| companiesBatchInputSimplePublicObjectBatchInput | CompaniesBatchInputSimplePublicObjectBatchInput |
CompaniesBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ObjectsContactsBatchArchiveArchive (BatchInputSimplePublicObjectId batchInputSimplePublicObjectId)
Archive a batch of contacts by ID
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsContactsBatchArchiveArchiveExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputSimplePublicObjectId = new BatchInputSimplePublicObjectId(); // BatchInputSimplePublicObjectId |
try
{
// Archive a batch of contacts by ID
apiInstance.PostCrmV3ObjectsContactsBatchArchiveArchive(batchInputSimplePublicObjectId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsContactsBatchArchiveArchive: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputSimplePublicObjectId | BatchInputSimplePublicObjectId |
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]
ContactsBatchResponseSimplePublicObject PostCrmV3ObjectsContactsBatchCreateCreate (ContactsBatchInputSimplePublicObjectInput contactsBatchInputSimplePublicObjectInput)
Create a batch of contacts
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsContactsBatchCreateCreateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var contactsBatchInputSimplePublicObjectInput = new ContactsBatchInputSimplePublicObjectInput(); // ContactsBatchInputSimplePublicObjectInput |
try
{
// Create a batch of contacts
ContactsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsContactsBatchCreateCreate(contactsBatchInputSimplePublicObjectInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsContactsBatchCreateCreate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| contactsBatchInputSimplePublicObjectInput | ContactsBatchInputSimplePublicObjectInput |
ContactsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 201 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContactsBatchResponseSimplePublicObject PostCrmV3ObjectsContactsBatchReadRead (BatchReadInputSimplePublicObjectId batchReadInputSimplePublicObjectId, bool? archived = null)
Read a batch of contacts by internal ID, or unique property values
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsContactsBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchReadInputSimplePublicObjectId = new BatchReadInputSimplePublicObjectId(); // BatchReadInputSimplePublicObjectId |
var archived = false; // bool? | Whether to return only results that have been archived. (optional) (default to false)
try
{
// Read a batch of contacts by internal ID, or unique property values
ContactsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsContactsBatchReadRead(batchReadInputSimplePublicObjectId, archived);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsContactsBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchReadInputSimplePublicObjectId | BatchReadInputSimplePublicObjectId | ||
| archived | bool? | Whether to return only results that have been archived. | [optional] [default to false] |
ContactsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContactsBatchResponseSimplePublicObject PostCrmV3ObjectsContactsBatchUpdateUpdate (ContactsBatchInputSimplePublicObjectBatchInput contactsBatchInputSimplePublicObjectBatchInput)
Update a batch of contacts
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsContactsBatchUpdateUpdateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var contactsBatchInputSimplePublicObjectBatchInput = new ContactsBatchInputSimplePublicObjectBatchInput(); // ContactsBatchInputSimplePublicObjectBatchInput |
try
{
// Update a batch of contacts
ContactsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsContactsBatchUpdateUpdate(contactsBatchInputSimplePublicObjectBatchInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsContactsBatchUpdateUpdate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| contactsBatchInputSimplePublicObjectBatchInput | ContactsBatchInputSimplePublicObjectBatchInput |
ContactsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ObjectsDealsBatchArchiveArchive (BatchInputSimplePublicObjectId batchInputSimplePublicObjectId)
Archive a batch of deals by ID
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsDealsBatchArchiveArchiveExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputSimplePublicObjectId = new BatchInputSimplePublicObjectId(); // BatchInputSimplePublicObjectId |
try
{
// Archive a batch of deals by ID
apiInstance.PostCrmV3ObjectsDealsBatchArchiveArchive(batchInputSimplePublicObjectId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsDealsBatchArchiveArchive: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputSimplePublicObjectId | BatchInputSimplePublicObjectId |
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]
DealsBatchResponseSimplePublicObject PostCrmV3ObjectsDealsBatchCreateCreate (DealsBatchInputSimplePublicObjectInput dealsBatchInputSimplePublicObjectInput)
Create a batch of deals
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsDealsBatchCreateCreateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var dealsBatchInputSimplePublicObjectInput = new DealsBatchInputSimplePublicObjectInput(); // DealsBatchInputSimplePublicObjectInput |
try
{
// Create a batch of deals
DealsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsDealsBatchCreateCreate(dealsBatchInputSimplePublicObjectInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsDealsBatchCreateCreate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| dealsBatchInputSimplePublicObjectInput | DealsBatchInputSimplePublicObjectInput |
DealsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 201 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealsBatchResponseSimplePublicObject PostCrmV3ObjectsDealsBatchReadRead (BatchReadInputSimplePublicObjectId batchReadInputSimplePublicObjectId, bool? archived = null)
Read a batch of deals by internal ID, or unique property values
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsDealsBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchReadInputSimplePublicObjectId = new BatchReadInputSimplePublicObjectId(); // BatchReadInputSimplePublicObjectId |
var archived = false; // bool? | Whether to return only results that have been archived. (optional) (default to false)
try
{
// Read a batch of deals by internal ID, or unique property values
DealsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsDealsBatchReadRead(batchReadInputSimplePublicObjectId, archived);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsDealsBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchReadInputSimplePublicObjectId | BatchReadInputSimplePublicObjectId | ||
| archived | bool? | Whether to return only results that have been archived. | [optional] [default to false] |
DealsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DealsBatchResponseSimplePublicObject PostCrmV3ObjectsDealsBatchUpdateUpdate (DealsBatchInputSimplePublicObjectBatchInput dealsBatchInputSimplePublicObjectBatchInput)
Update a batch of deals
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsDealsBatchUpdateUpdateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var dealsBatchInputSimplePublicObjectBatchInput = new DealsBatchInputSimplePublicObjectBatchInput(); // DealsBatchInputSimplePublicObjectBatchInput |
try
{
// Update a batch of deals
DealsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsDealsBatchUpdateUpdate(dealsBatchInputSimplePublicObjectBatchInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsDealsBatchUpdateUpdate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| dealsBatchInputSimplePublicObjectBatchInput | DealsBatchInputSimplePublicObjectBatchInput |
DealsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FeedbackSubmissionsBatchResponseSimplePublicObject PostCrmV3ObjectsFeedbackSubmissionsBatchReadReadBatch (BatchReadInputSimplePublicObjectId batchReadInputSimplePublicObjectId, bool? archived = null)
Read a batch of feedback submissions by internal ID, or unique property values
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsFeedbackSubmissionsBatchReadReadBatchExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchReadInputSimplePublicObjectId = new BatchReadInputSimplePublicObjectId(); // BatchReadInputSimplePublicObjectId |
var archived = false; // bool? | Whether to return only results that have been archived. (optional) (default to false)
try
{
// Read a batch of feedback submissions by internal ID, or unique property values
FeedbackSubmissionsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsFeedbackSubmissionsBatchReadReadBatch(batchReadInputSimplePublicObjectId, archived);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsFeedbackSubmissionsBatchReadReadBatch: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchReadInputSimplePublicObjectId | BatchReadInputSimplePublicObjectId | ||
| archived | bool? | Whether to return only results that have been archived. | [optional] [default to false] |
FeedbackSubmissionsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ObjectsLineItemsBatchArchiveArchive (BatchInputSimplePublicObjectId batchInputSimplePublicObjectId)
Archive a batch of line items by ID
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsLineItemsBatchArchiveArchiveExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputSimplePublicObjectId = new BatchInputSimplePublicObjectId(); // BatchInputSimplePublicObjectId |
try
{
// Archive a batch of line items by ID
apiInstance.PostCrmV3ObjectsLineItemsBatchArchiveArchive(batchInputSimplePublicObjectId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsLineItemsBatchArchiveArchive: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputSimplePublicObjectId | BatchInputSimplePublicObjectId |
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]
LineItemsBatchResponseSimplePublicObject PostCrmV3ObjectsLineItemsBatchCreateCreate (LineItemsBatchInputSimplePublicObjectInput lineItemsBatchInputSimplePublicObjectInput)
Create a batch of line items
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsLineItemsBatchCreateCreateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var lineItemsBatchInputSimplePublicObjectInput = new LineItemsBatchInputSimplePublicObjectInput(); // LineItemsBatchInputSimplePublicObjectInput |
try
{
// Create a batch of line items
LineItemsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsLineItemsBatchCreateCreate(lineItemsBatchInputSimplePublicObjectInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsLineItemsBatchCreateCreate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| lineItemsBatchInputSimplePublicObjectInput | LineItemsBatchInputSimplePublicObjectInput |
LineItemsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 201 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LineItemsBatchResponseSimplePublicObject PostCrmV3ObjectsLineItemsBatchReadRead (BatchReadInputSimplePublicObjectId batchReadInputSimplePublicObjectId, bool? archived = null)
Read a batch of line items by internal ID, or unique property values
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsLineItemsBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchReadInputSimplePublicObjectId = new BatchReadInputSimplePublicObjectId(); // BatchReadInputSimplePublicObjectId |
var archived = false; // bool? | Whether to return only results that have been archived. (optional) (default to false)
try
{
// Read a batch of line items by internal ID, or unique property values
LineItemsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsLineItemsBatchReadRead(batchReadInputSimplePublicObjectId, archived);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsLineItemsBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchReadInputSimplePublicObjectId | BatchReadInputSimplePublicObjectId | ||
| archived | bool? | Whether to return only results that have been archived. | [optional] [default to false] |
LineItemsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LineItemsBatchResponseSimplePublicObject PostCrmV3ObjectsLineItemsBatchUpdateUpdate (LineItemsBatchInputSimplePublicObjectBatchInput lineItemsBatchInputSimplePublicObjectBatchInput)
Update a batch of line items
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsLineItemsBatchUpdateUpdateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var lineItemsBatchInputSimplePublicObjectBatchInput = new LineItemsBatchInputSimplePublicObjectBatchInput(); // LineItemsBatchInputSimplePublicObjectBatchInput |
try
{
// Update a batch of line items
LineItemsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsLineItemsBatchUpdateUpdate(lineItemsBatchInputSimplePublicObjectBatchInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsLineItemsBatchUpdateUpdate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| lineItemsBatchInputSimplePublicObjectBatchInput | LineItemsBatchInputSimplePublicObjectBatchInput |
LineItemsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ObjectsObjectTypeBatchArchiveArchive (string objectType, BatchInputSimplePublicObjectId batchInputSimplePublicObjectId)
Archive a batch of objects by ID
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsObjectTypeBatchArchiveArchiveExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var objectType = "objectType_example"; // string |
var batchInputSimplePublicObjectId = new BatchInputSimplePublicObjectId(); // BatchInputSimplePublicObjectId |
try
{
// Archive a batch of objects by ID
apiInstance.PostCrmV3ObjectsObjectTypeBatchArchiveArchive(objectType, batchInputSimplePublicObjectId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsObjectTypeBatchArchiveArchive: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| objectType | string | ||
| batchInputSimplePublicObjectId | BatchInputSimplePublicObjectId |
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]
ObjectsBatchResponseSimplePublicObject PostCrmV3ObjectsObjectTypeBatchCreateCreate (string objectType, ObjectsBatchInputSimplePublicObjectInput objectsBatchInputSimplePublicObjectInput)
Create a batch of objects
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsObjectTypeBatchCreateCreateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var objectType = "objectType_example"; // string |
var objectsBatchInputSimplePublicObjectInput = new ObjectsBatchInputSimplePublicObjectInput(); // ObjectsBatchInputSimplePublicObjectInput |
try
{
// Create a batch of objects
ObjectsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsObjectTypeBatchCreateCreate(objectType, objectsBatchInputSimplePublicObjectInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsObjectTypeBatchCreateCreate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| objectType | string | ||
| objectsBatchInputSimplePublicObjectInput | ObjectsBatchInputSimplePublicObjectInput |
ObjectsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 201 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ObjectsBatchResponseSimplePublicObject PostCrmV3ObjectsObjectTypeBatchReadRead (string objectType, BatchReadInputSimplePublicObjectId batchReadInputSimplePublicObjectId, bool? archived = null)
Read a batch of objects by internal ID, or unique property values
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsObjectTypeBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var objectType = "objectType_example"; // string |
var batchReadInputSimplePublicObjectId = new BatchReadInputSimplePublicObjectId(); // BatchReadInputSimplePublicObjectId |
var archived = false; // bool? | Whether to return only results that have been archived. (optional) (default to false)
try
{
// Read a batch of objects by internal ID, or unique property values
ObjectsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsObjectTypeBatchReadRead(objectType, batchReadInputSimplePublicObjectId, archived);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsObjectTypeBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| objectType | string | ||
| batchReadInputSimplePublicObjectId | BatchReadInputSimplePublicObjectId | ||
| archived | bool? | Whether to return only results that have been archived. | [optional] [default to false] |
ObjectsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ObjectsBatchResponseSimplePublicObject PostCrmV3ObjectsObjectTypeBatchUpdateUpdate (string objectType, ObjectsBatchInputSimplePublicObjectBatchInput objectsBatchInputSimplePublicObjectBatchInput)
Update a batch of objects
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsObjectTypeBatchUpdateUpdateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var objectType = "objectType_example"; // string |
var objectsBatchInputSimplePublicObjectBatchInput = new ObjectsBatchInputSimplePublicObjectBatchInput(); // ObjectsBatchInputSimplePublicObjectBatchInput |
try
{
// Update a batch of objects
ObjectsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsObjectTypeBatchUpdateUpdate(objectType, objectsBatchInputSimplePublicObjectBatchInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsObjectTypeBatchUpdateUpdate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| objectType | string | ||
| objectsBatchInputSimplePublicObjectBatchInput | ObjectsBatchInputSimplePublicObjectBatchInput |
ObjectsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ObjectsProductsBatchArchiveArchive (BatchInputSimplePublicObjectId batchInputSimplePublicObjectId)
Archive a batch of products by ID
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsProductsBatchArchiveArchiveExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputSimplePublicObjectId = new BatchInputSimplePublicObjectId(); // BatchInputSimplePublicObjectId |
try
{
// Archive a batch of products by ID
apiInstance.PostCrmV3ObjectsProductsBatchArchiveArchive(batchInputSimplePublicObjectId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsProductsBatchArchiveArchive: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputSimplePublicObjectId | BatchInputSimplePublicObjectId |
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]
BatchResponseSimplePublicObject PostCrmV3ObjectsProductsBatchCreateCreate (BatchInputSimplePublicObjectInput batchInputSimplePublicObjectInput)
Create a batch of products
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsProductsBatchCreateCreateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputSimplePublicObjectInput = new BatchInputSimplePublicObjectInput(); // BatchInputSimplePublicObjectInput |
try
{
// Create a batch of products
BatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsProductsBatchCreateCreate(batchInputSimplePublicObjectInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsProductsBatchCreateCreate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputSimplePublicObjectInput | BatchInputSimplePublicObjectInput |
BatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 201 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BatchResponseSimplePublicObject PostCrmV3ObjectsProductsBatchReadRead (BatchReadInputSimplePublicObjectId batchReadInputSimplePublicObjectId, bool? archived = null)
Read a batch of products by internal ID, or unique property values
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsProductsBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchReadInputSimplePublicObjectId = new BatchReadInputSimplePublicObjectId(); // BatchReadInputSimplePublicObjectId |
var archived = false; // bool? | Whether to return only results that have been archived. (optional) (default to false)
try
{
// Read a batch of products by internal ID, or unique property values
BatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsProductsBatchReadRead(batchReadInputSimplePublicObjectId, archived);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsProductsBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchReadInputSimplePublicObjectId | BatchReadInputSimplePublicObjectId | ||
| archived | bool? | Whether to return only results that have been archived. | [optional] [default to false] |
BatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BatchResponseSimplePublicObject PostCrmV3ObjectsProductsBatchUpdateUpdate (BatchInputSimplePublicObjectBatchInput batchInputSimplePublicObjectBatchInput)
Update a batch of products
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsProductsBatchUpdateUpdateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputSimplePublicObjectBatchInput = new BatchInputSimplePublicObjectBatchInput(); // BatchInputSimplePublicObjectBatchInput |
try
{
// Update a batch of products
BatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsProductsBatchUpdateUpdate(batchInputSimplePublicObjectBatchInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsProductsBatchUpdateUpdate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputSimplePublicObjectBatchInput | BatchInputSimplePublicObjectBatchInput |
BatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
QuotesBatchResponseSimplePublicObject PostCrmV3ObjectsQuotesBatchReadRead (BatchReadInputSimplePublicObjectId batchReadInputSimplePublicObjectId, bool? archived = null)
Read a batch of quotes by internal ID, or unique property values
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsQuotesBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchReadInputSimplePublicObjectId = new BatchReadInputSimplePublicObjectId(); // BatchReadInputSimplePublicObjectId |
var archived = false; // bool? | Whether to return only results that have been archived. (optional) (default to false)
try
{
// Read a batch of quotes by internal ID, or unique property values
QuotesBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsQuotesBatchReadRead(batchReadInputSimplePublicObjectId, archived);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsQuotesBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchReadInputSimplePublicObjectId | BatchReadInputSimplePublicObjectId | ||
| archived | bool? | Whether to return only results that have been archived. | [optional] [default to false] |
QuotesBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3ObjectsTicketsBatchArchiveArchive (BatchInputSimplePublicObjectId batchInputSimplePublicObjectId)
Archive a batch of tickets by ID
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsTicketsBatchArchiveArchiveExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputSimplePublicObjectId = new BatchInputSimplePublicObjectId(); // BatchInputSimplePublicObjectId |
try
{
// Archive a batch of tickets by ID
apiInstance.PostCrmV3ObjectsTicketsBatchArchiveArchive(batchInputSimplePublicObjectId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsTicketsBatchArchiveArchive: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputSimplePublicObjectId | BatchInputSimplePublicObjectId |
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]
TicketsBatchResponseSimplePublicObject PostCrmV3ObjectsTicketsBatchCreateCreate (TicketsBatchInputSimplePublicObjectInput ticketsBatchInputSimplePublicObjectInput)
Create a batch of tickets
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsTicketsBatchCreateCreateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var ticketsBatchInputSimplePublicObjectInput = new TicketsBatchInputSimplePublicObjectInput(); // TicketsBatchInputSimplePublicObjectInput |
try
{
// Create a batch of tickets
TicketsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsTicketsBatchCreateCreate(ticketsBatchInputSimplePublicObjectInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsTicketsBatchCreateCreate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ticketsBatchInputSimplePublicObjectInput | TicketsBatchInputSimplePublicObjectInput |
TicketsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 201 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TicketsBatchResponseSimplePublicObject PostCrmV3ObjectsTicketsBatchReadRead (BatchReadInputSimplePublicObjectId batchReadInputSimplePublicObjectId, bool? archived = null)
Read a batch of tickets by internal ID, or unique property values
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsTicketsBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchReadInputSimplePublicObjectId = new BatchReadInputSimplePublicObjectId(); // BatchReadInputSimplePublicObjectId |
var archived = false; // bool? | Whether to return only results that have been archived. (optional) (default to false)
try
{
// Read a batch of tickets by internal ID, or unique property values
TicketsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsTicketsBatchReadRead(batchReadInputSimplePublicObjectId, archived);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsTicketsBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchReadInputSimplePublicObjectId | BatchReadInputSimplePublicObjectId | ||
| archived | bool? | Whether to return only results that have been archived. | [optional] [default to false] |
TicketsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TicketsBatchResponseSimplePublicObject PostCrmV3ObjectsTicketsBatchUpdateUpdate (TicketsBatchInputSimplePublicObjectBatchInput ticketsBatchInputSimplePublicObjectBatchInput)
Update a batch of tickets
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3ObjectsTicketsBatchUpdateUpdateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var ticketsBatchInputSimplePublicObjectBatchInput = new TicketsBatchInputSimplePublicObjectBatchInput(); // TicketsBatchInputSimplePublicObjectBatchInput |
try
{
// Update a batch of tickets
TicketsBatchResponseSimplePublicObject result = apiInstance.PostCrmV3ObjectsTicketsBatchUpdateUpdate(ticketsBatchInputSimplePublicObjectBatchInput);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3ObjectsTicketsBatchUpdateUpdate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ticketsBatchInputSimplePublicObjectBatchInput | TicketsBatchInputSimplePublicObjectBatchInput |
TicketsBatchResponseSimplePublicObject
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void PostCrmV3PropertiesObjectTypeBatchArchiveArchive (string objectType, BatchInputPropertyName batchInputPropertyName)
Archive a batch of properties
Archive a provided list of properties. This method will return a 204 No Content response on success regardless of the initial state of the property (e.g. active, already archived, non-existent).
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3PropertiesObjectTypeBatchArchiveArchiveExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var objectType = "objectType_example"; // string |
var batchInputPropertyName = new BatchInputPropertyName(); // BatchInputPropertyName |
try
{
// Archive a batch of properties
apiInstance.PostCrmV3PropertiesObjectTypeBatchArchiveArchive(objectType, batchInputPropertyName);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3PropertiesObjectTypeBatchArchiveArchive: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| objectType | string | ||
| batchInputPropertyName | BatchInputPropertyName |
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]
BatchResponseProperty PostCrmV3PropertiesObjectTypeBatchCreateCreate (string objectType, BatchInputPropertyCreate batchInputPropertyCreate)
Create a batch of properties
Create a batch of properties using the same rules as when creating an individual property.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3PropertiesObjectTypeBatchCreateCreateExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var objectType = "objectType_example"; // string |
var batchInputPropertyCreate = new BatchInputPropertyCreate(); // BatchInputPropertyCreate |
try
{
// Create a batch of properties
BatchResponseProperty result = apiInstance.PostCrmV3PropertiesObjectTypeBatchCreateCreate(objectType, batchInputPropertyCreate);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3PropertiesObjectTypeBatchCreateCreate: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| objectType | string | ||
| batchInputPropertyCreate | BatchInputPropertyCreate |
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 201 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BatchResponseProperty PostCrmV3PropertiesObjectTypeBatchReadRead (string objectType, BatchReadInputPropertyName batchReadInputPropertyName)
Read a batch of properties
Read a provided list of properties.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCrmV3PropertiesObjectTypeBatchReadReadExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var objectType = "objectType_example"; // string |
var batchReadInputPropertyName = new BatchReadInputPropertyName(); // BatchReadInputPropertyName |
try
{
// Read a batch of properties
BatchResponseProperty result = apiInstance.PostCrmV3PropertiesObjectTypeBatchReadRead(objectType, batchReadInputPropertyName);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostCrmV3PropertiesObjectTypeBatchReadRead: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| objectType | string | ||
| batchReadInputPropertyName | BatchReadInputPropertyName |
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 207 | multiple statuses | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Error PostMarketingV3MarketingEventsEventsDelete (BatchInputMarketingEventExternalUniqueIdentifier batchInputMarketingEventExternalUniqueIdentifier)
Delete multiple marketing events
Bulk delete a number of marketing events in HubSpot
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostMarketingV3MarketingEventsEventsDeleteExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputMarketingEventExternalUniqueIdentifier = new BatchInputMarketingEventExternalUniqueIdentifier(); // BatchInputMarketingEventExternalUniqueIdentifier | The details of the marketing events to delete
try
{
// Delete multiple marketing events
Error result = apiInstance.PostMarketingV3MarketingEventsEventsDelete(batchInputMarketingEventExternalUniqueIdentifier);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostMarketingV3MarketingEventsEventsDelete: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputMarketingEventExternalUniqueIdentifier | BatchInputMarketingEventExternalUniqueIdentifier | The details of the marketing events to delete |
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BatchResponseMarketingEventPublicDefaultResponse PostMarketingV3MarketingEventsEventsUpsert (BatchInputMarketingEventCreateRequestParams batchInputMarketingEventCreateRequestParams)
Create or update multiple marketing events
Upset multiple Marketing Event. If there is an existing Marketing event with the specified id, it will be updated; otherwise a new event will be created.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostMarketingV3MarketingEventsEventsUpsertExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new BatchApi(config);
var batchInputMarketingEventCreateRequestParams = new BatchInputMarketingEventCreateRequestParams(); // BatchInputMarketingEventCreateRequestParams | The details of the marketing events to upsert
try
{
// Create or update multiple marketing events
BatchResponseMarketingEventPublicDefaultResponse result = apiInstance.PostMarketingV3MarketingEventsEventsUpsert(batchInputMarketingEventCreateRequestParams);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling BatchApi.PostMarketingV3MarketingEventsEventsUpsert: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| batchInputMarketingEventCreateRequestParams | BatchInputMarketingEventCreateRequestParams | The details of the marketing events to upsert |
BatchResponseMarketingEventPublicDefaultResponse
No authorization required
- Content-Type: application/json
- Accept: application/json, /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 0 | An error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]