createFeedConnections
Create one or more new feed connection
By passing in the FeedConnections array object in the body, you can create one or more new feed connections
/FeedConnections
Usage and SDK Samples
using System;
using System.Diagnostics;
using Xero.NetStandard.OAuth2.Api;
using Xero.NetStandard.OAuth2.Client;
using Xero.NetStandard.OAuth2.Model;
namespace Example
{
public class CreateFeedConnectionsExample
{
public async Task Main()
{
var accessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankFeedsApi();
var xeroTenantId = "xeroTenantId_example";
var idempotencyKey = "KEY_VALUE";
try {
var result = await apiInstance.CreateFeedConnectionsAsync(accessToken, xeroTenantId, feedConnections, idempotencyKey);
Console.WriteLine(result);
}
catch (Exception e)
{
Console.WriteLine("Exception when calling apiInstance.CreateFeedConnections: " + e.Message );
}
}
}
}
Scopes
bankfeeds | Grant read-write access to bankfeeds |
Parameters
Name | Description |
---|---|
Xero-Tenant-Id* |
String
Xero identifier for Tenant
Required
|
Idempotency-Key |
String
This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
Name | Description |
---|---|
feedConnections * |
FeedConnections
Feed Connection(s) array object in the body
Required
|