All URIs are relative to https://api.hubapi.com
Method | HTTP request | Description |
---|---|---|
PostCmsV3HubdbTablesTableIdOrNameRowsBatchReadBatchReadTableRows | POST /cms/v3/hubdb/tables/{tableIdOrName}/rows/batch/read | Get a set of rows |
PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCloneBatchCloneDraftTableRows | POST /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/clone | Clone rows in batch |
PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCreateBatchCreateDraftTableRows | POST /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/create | Create rows in batch |
PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchPurgeBatchPurgeDraftTableRows | POST /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/purge | Permanently deletes rows |
PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReadBatchReadDraftTableRows | POST /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/read | Get a set of rows from draft table |
PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReplaceBatchReplaceDraftTableRows | POST /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/replace | Replace rows in batch in draft table |
PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchUpdateBatchUpdateDraftTableRows | POST /cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/update | Update rows in batch in draft table |
BatchResponseHubDbTableRowV3 PostCmsV3HubdbTablesTableIdOrNameRowsBatchReadBatchReadTableRows (string tableIdOrName, HubdbBatchInputString hubdbBatchInputString)
Get a set of rows
Returns rows in the published
version of the specified table, given a set of row ids. Note: This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCmsV3HubdbTablesTableIdOrNameRowsBatchReadBatchReadTableRowsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new RowsBatchApi(config);
var tableIdOrName = "tableIdOrName_example"; // string | The ID or name of the table to query.
var hubdbBatchInputString = new HubdbBatchInputString(); // HubdbBatchInputString | The JSON array of row ids
try
{
// Get a set of rows
BatchResponseHubDbTableRowV3 result = apiInstance.PostCmsV3HubdbTablesTableIdOrNameRowsBatchReadBatchReadTableRows(tableIdOrName, hubdbBatchInputString);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RowsBatchApi.PostCmsV3HubdbTablesTableIdOrNameRowsBatchReadBatchReadTableRows: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
tableIdOrName | string | The ID or name of the table to query. | |
hubdbBatchInputString | HubdbBatchInputString | The JSON array of row ids |
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]
BatchResponseHubDbTableRowV3 PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCloneBatchCloneDraftTableRows (string tableIdOrName, HubdbBatchInputString hubdbBatchInputString)
Clone rows in batch
Clones rows in the draft
version of the specified table, given a set of row ids.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCloneBatchCloneDraftTableRowsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new RowsBatchApi(config);
var tableIdOrName = "tableIdOrName_example"; // string | The ID or name of the table
var hubdbBatchInputString = new HubdbBatchInputString(); // HubdbBatchInputString | The JSON array of row ids
try
{
// Clone rows in batch
BatchResponseHubDbTableRowV3 result = apiInstance.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCloneBatchCloneDraftTableRows(tableIdOrName, hubdbBatchInputString);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RowsBatchApi.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCloneBatchCloneDraftTableRows: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
tableIdOrName | string | The ID or name of the table | |
hubdbBatchInputString | HubdbBatchInputString | The JSON array of row ids |
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]
BatchResponseHubDbTableRowV3 PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCreateBatchCreateDraftTableRows (string tableIdOrName, BatchInputHubDbTableRowV3Request batchInputHubDbTableRowV3Request)
Create rows in batch
Creates rows in the draft
version of the specified table, given an array of row objects. See the overview section for more details with an example.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCreateBatchCreateDraftTableRowsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new RowsBatchApi(config);
var tableIdOrName = "tableIdOrName_example"; // string | The ID or name of the table
var batchInputHubDbTableRowV3Request = new BatchInputHubDbTableRowV3Request(); // BatchInputHubDbTableRowV3Request | JSON array of row objects
try
{
// Create rows in batch
BatchResponseHubDbTableRowV3 result = apiInstance.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCreateBatchCreateDraftTableRows(tableIdOrName, batchInputHubDbTableRowV3Request);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RowsBatchApi.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchCreateBatchCreateDraftTableRows: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
tableIdOrName | string | The ID or name of the table | |
batchInputHubDbTableRowV3Request | BatchInputHubDbTableRowV3Request | JSON array of row objects |
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]
void PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchPurgeBatchPurgeDraftTableRows (string tableIdOrName, HubdbBatchInputString hubdbBatchInputString)
Permanently deletes rows
Permanently deletes rows from the draft
version of the table, given a set of row ids.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchPurgeBatchPurgeDraftTableRowsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new RowsBatchApi(config);
var tableIdOrName = "tableIdOrName_example"; // string | The ID or name of the table
var hubdbBatchInputString = new HubdbBatchInputString(); // HubdbBatchInputString | JSON array of row ids.
try
{
// Permanently deletes rows
apiInstance.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchPurgeBatchPurgeDraftTableRows(tableIdOrName, hubdbBatchInputString);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RowsBatchApi.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchPurgeBatchPurgeDraftTableRows: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
tableIdOrName | string | The ID or name of the table | |
hubdbBatchInputString | HubdbBatchInputString | JSON array of row ids. |
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]
BatchResponseHubDbTableRowV3 PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReadBatchReadDraftTableRows (string tableIdOrName, HubdbBatchInputString hubdbBatchInputString)
Get a set of rows from draft table
Returns rows in the draft
version of the specified table, given a set of row ids.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReadBatchReadDraftTableRowsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new RowsBatchApi(config);
var tableIdOrName = "tableIdOrName_example"; // string | The ID or name of the table
var hubdbBatchInputString = new HubdbBatchInputString(); // HubdbBatchInputString | JSON array of row ids.
try
{
// Get a set of rows from draft table
BatchResponseHubDbTableRowV3 result = apiInstance.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReadBatchReadDraftTableRows(tableIdOrName, hubdbBatchInputString);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RowsBatchApi.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReadBatchReadDraftTableRows: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
tableIdOrName | string | The ID or name of the table | |
hubdbBatchInputString | HubdbBatchInputString | JSON array of row ids. |
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]
BatchResponseHubDbTableRowV3 PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReplaceBatchReplaceDraftTableRows (string tableIdOrName, BatchInputHubDbTableRowV3Request batchInputHubDbTableRowV3Request)
Replace rows in batch in draft table
Replaces multiple rows as a batch in the draft
version of the table. See the endpoint PUT /tables/{tableIdOrName}/rows/{rowId}/draft
for details on updating a single row.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReplaceBatchReplaceDraftTableRowsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new RowsBatchApi(config);
var tableIdOrName = "tableIdOrName_example"; // string | The ID or name of the table
var batchInputHubDbTableRowV3Request = new BatchInputHubDbTableRowV3Request(); // BatchInputHubDbTableRowV3Request | JSON array of row objects.
try
{
// Replace rows in batch in draft table
BatchResponseHubDbTableRowV3 result = apiInstance.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReplaceBatchReplaceDraftTableRows(tableIdOrName, batchInputHubDbTableRowV3Request);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RowsBatchApi.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchReplaceBatchReplaceDraftTableRows: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
tableIdOrName | string | The ID or name of the table | |
batchInputHubDbTableRowV3Request | BatchInputHubDbTableRowV3Request | JSON array of row objects. |
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]
BatchResponseHubDbTableRowV3 PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchUpdateBatchUpdateDraftTableRows (string tableIdOrName, HubdbBatchInputJsonNode hubdbBatchInputJsonNode)
Update rows in batch in draft table
Updates multiple rows as a batch in the draft
version of the table. See the endpoint PATCH /tables/{tableIdOrName}/rows/{rowId}/draft
for details on updating a single row.
using System.Collections.Generic;
using System.Diagnostics;
using HubSpot.NET.Api;
using HubSpot.NET.Client;
using HubSpot.NET.Model;
namespace Example
{
public class PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchUpdateBatchUpdateDraftTableRowsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.hubapi.com";
var apiInstance = new RowsBatchApi(config);
var tableIdOrName = "tableIdOrName_example"; // string | The ID or name of the table
var hubdbBatchInputJsonNode = new HubdbBatchInputJsonNode(); // HubdbBatchInputJsonNode | JSON array of row objects.
try
{
// Update rows in batch in draft table
BatchResponseHubDbTableRowV3 result = apiInstance.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchUpdateBatchUpdateDraftTableRows(tableIdOrName, hubdbBatchInputJsonNode);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RowsBatchApi.PostCmsV3HubdbTablesTableIdOrNameRowsDraftBatchUpdateBatchUpdateDraftTableRows: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
tableIdOrName | string | The ID or name of the table | |
hubdbBatchInputJsonNode | HubdbBatchInputJsonNode | JSON array of row objects. |
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]