Endpoint Get Account By Id
Name
get_account
Description
Related Tables
Parameters
Parameter | Required | Options |
---|---|---|
Name:
Label: Account Id |
YES |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(50)
|
50 | |
ContactFirst |
DT_WSTR
|
nvarchar(255)
|
255 | |
ContactLast |
DT_WSTR
|
nvarchar(255)
|
255 | |
ContactEmail |
DT_WSTR
|
nvarchar(255)
|
255 | |
ContactCompany |
DT_WSTR
|
nvarchar(255)
|
255 | |
ContactPhone |
DT_WSTR
|
nvarchar(255)
|
255 | |
ContactSubscribed |
DT_BOOL
|
bit
|
||
AddressLine1 |
DT_WSTR
|
nvarchar(255)
|
255 | |
AddressLine2 |
DT_WSTR
|
nvarchar(255)
|
255 | |
City |
DT_WSTR
|
nvarchar(255)
|
255 | |
Region |
DT_WSTR
|
nvarchar(255)
|
255 | |
RegionCustom |
DT_WSTR
|
nvarchar(255)
|
255 | |
PostalCode |
DT_WSTR
|
nvarchar(255)
|
255 | |
AddressCompany |
DT_WSTR
|
nvarchar(255)
|
255 | |
Language |
DT_WSTR
|
nvarchar(255)
|
255 | |
Country |
DT_WSTR
|
nvarchar(255)
|
255 | |
LookupGlobal |
DT_WSTR
|
nvarchar(255)
|
255 | |
Url |
DT_WSTR
|
nvarchar(255)
|
255 | |
PaymentMethods |
DT_I8
|
bigint
|
||
PaymentActive |
DT_I8
|
bigint
|
||
Orders |
DT_NTEXT
|
nvarchar(MAX)
|
||
Subscriptions |
DT_NTEXT
|
nvarchar(MAX)
|
||
Charges |
DT_NTEXT
|
nvarchar(MAX)
|
||
Subscribed |
DT_BOOL
|
bit
|
||
TaxExemptionData |
DT_WSTR
|
nvarchar(4000)
|
4000 |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use FastSpring Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
This Endpoint belongs to the Accounts table, therefore it is better to use it, instead of accessing the endpoint directly:
Required Parameters | |
---|---|
Account Id | Fill-in the parameter... |

API Destination
This Endpoint belongs to the Accounts table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to get account by id:
Required Parameters | |
---|---|
Account Id | Fill-in the parameter... |

ODBC application
Use these SQL queries in your ODBC application data source:
Get account by id
SELECT * FROM Accounts
WHERE Id = 'abcd-1234-id'
get_account
endpoint belongs to
Accounts
table(s), and can therefore be used via those table(s).
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get account by id
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Accounts
WHERE Id = ''abcd-1234-id''';
EXEC (@MyQuery) AT [LS_TO_FASTSPRING_IN_GATEWAY];
get_account
endpoint belongs to
Accounts
table(s), and can therefore be used via those table(s).