FastSpring Connector
Documentation
Version: 1
Documentation
Endpoint

Get Account By Id


Name

get_account

Description

Related Tables

Accounts

Parameters

Parameter Label Required Options Description
Id Account Id YES

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(50) 50 False
ContactFirst DT_WSTR nvarchar(255) 255 False
ContactLast DT_WSTR nvarchar(255) 255 False
ContactEmail DT_WSTR nvarchar(255) 255 False
ContactCompany DT_WSTR nvarchar(255) 255 False
ContactPhone DT_WSTR nvarchar(255) 255 False
ContactSubscribed DT_BOOL bit False
AddressLine1 DT_WSTR nvarchar(255) 255 False
AddressLine2 DT_WSTR nvarchar(255) 255 False
City DT_WSTR nvarchar(255) 255 False
Region DT_WSTR nvarchar(255) 255 False
RegionCustom DT_WSTR nvarchar(255) 255 False
PostalCode DT_WSTR nvarchar(255) 255 False
AddressCompany DT_WSTR nvarchar(255) 255 False
Language DT_WSTR nvarchar(255) 255 False
Country DT_WSTR nvarchar(255) 255 False
LookupGlobal DT_WSTR nvarchar(255) 255 False
Url DT_WSTR nvarchar(255) 255 False
PaymentMethods DT_I8 bigint False
PaymentActive DT_I8 bigint False
Orders DT_NTEXT nvarchar(MAX) False
Subscriptions DT_NTEXT nvarchar(MAX) False
Charges DT_NTEXT nvarchar(MAX) False
Subscribed DT_BOOL bit False
TaxExemptionData DT_WSTR nvarchar(4000) 4000 False
If the column you are looking for is missing, consider customizing FastSpring Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw 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 component to read data or in API Destination component to read/write data:

Lookup a row in Accounts table using API Destination

This Endpoint belongs to Accounts table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

FastSpring
Accounts
Lookup
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Get account by id

SELECT * FROM get_account
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 get_account
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).