Endpoint Get Quotes
Name
get_quotes
Description
Related Tables
Parameters
Parameter | Required | Options | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name:
Label: PageSize |
||||||||||||||||||||||||||||||||||
Name:
Label: Created Begin Date (yyyy-MM-dd) filters results to include quotes created after the specified begin date (must be at least one day before the specified end date) |
|
|||||||||||||||||||||||||||||||||
Name:
Label: Created End Date (yyyy-MM-dd) filters results to include quotes created before the specified end date |
|
|||||||||||||||||||||||||||||||||
Name:
Label: Created Email |
||||||||||||||||||||||||||||||||||
Name:
Label: QuoteId |
||||||||||||||||||||||||||||||||||
Name:
Label: SearchFor |
||||||||||||||||||||||||||||||||||
Name:
Label: Statuses |
|
|||||||||||||||||||||||||||||||||
Name:
Label: Expires Begin Date (yyyy-MM-dd) filters results to include quotes expiring after the specified begin date (must be at least one day before the specified end date) |
|
|||||||||||||||||||||||||||||||||
Name:
Label: Expires End Date (yyyy-MM-dd) filters results to include quotes expiring before the specified end date |
|
|||||||||||||||||||||||||||||||||
Name:
Label: Expires Before Date (yyyy-MM-dd) filters results to include quotes expiring before the specified end date |
|
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(100)
|
100 | |
Name |
DT_WSTR
|
nvarchar(128)
|
128 | |
Status |
DT_WSTR
|
nvarchar(100)
|
100 | |
OrderReference |
DT_WSTR
|
nvarchar(100)
|
100 | |
Created |
DT_DBTIMESTAMP
|
datetime
|
||
Currency |
DT_WSTR
|
nvarchar(12)
|
12 | |
TotalInPayoutCurrency |
DT_R8
|
float
|
||
SubtotalInPayoutCurrency |
DT_R8
|
float
|
||
Item_1 |
DT_WSTR
|
nvarchar(100)
|
100 | First item from this quote |
Item_2 |
DT_WSTR
|
nvarchar(100)
|
100 | Second item from this quote |
Item_3 |
DT_WSTR
|
nvarchar(100)
|
100 | Third item from this quote |
InvoiceId |
DT_WSTR
|
nvarchar(100)
|
100 | |
Coupon |
DT_WSTR
|
nvarchar(100)
|
100 | |
Subtotal |
DT_R8
|
float
|
||
SubtotalDisplay |
DT_WSTR
|
nvarchar(100)
|
100 | |
SubtotalInPayoutCurrencyDisplay |
DT_WSTR
|
nvarchar(100)
|
100 | |
Tags |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
Tax |
DT_R8
|
float
|
||
TaxRate |
DT_R8
|
float
|
||
TaxType |
DT_WSTR
|
nvarchar(100)
|
100 | |
Total |
DT_R8
|
float
|
||
TotalDisplay |
DT_WSTR
|
nvarchar(100)
|
100 | |
TotalInPayoutCurrencyDisplay |
DT_WSTR
|
nvarchar(100)
|
100 | |
Updated |
DT_DBTIMESTAMP
|
datetime
|
||
TaxId |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientCompany |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientEmail |
DT_WSTR
|
nvarchar(255)
|
255 | |
RecipientFirst |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientLast |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientPhone |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientUserId |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientAddressAddressLine1 |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientAddressAddressLine2 |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientAddressCity |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientAddressCountry |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientAddressPostalCode |
DT_WSTR
|
nvarchar(100)
|
100 | |
RecipientAddressRegion |
DT_WSTR
|
nvarchar(100)
|
100 | |
CreatedByCompany |
DT_WSTR
|
nvarchar(100)
|
100 | |
CreatedByEmail |
DT_WSTR
|
nvarchar(100)
|
100 | |
CreatedByFirst |
DT_WSTR
|
nvarchar(100)
|
100 | |
CreatedByLast |
DT_WSTR
|
nvarchar(100)
|
100 | |
CreatedByPhone |
DT_WSTR
|
nvarchar(100)
|
100 | |
CreatedByUserId |
DT_WSTR
|
nvarchar(100)
|
100 | |
Discount |
DT_R8
|
float
|
||
DiscountDisplay |
DT_WSTR
|
nvarchar(100)
|
100 | |
DiscountInPayoutCurrency |
DT_R8
|
float
|
||
DiscountInPayoutCurrencyDisplay |
DT_WSTR
|
nvarchar(100)
|
100 | |
Expires |
DT_DBTIMESTAMP
|
datetime
|
||
ExpirationDateDays |
DT_I8
|
bigint
|
||
FulfillmentTerm |
DT_WSTR
|
nvarchar(100)
|
100 | |
BuyerGenerated |
DT_BOOL
|
bit
|
||
CopyNotesToInvoice |
DT_BOOL
|
bit
|
||
Items |
DT_NTEXT
|
nvarchar(MAX)
|
||
Notes |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
NetTermsDays |
DT_I8
|
bigint
|
||
QuoteUrl |
DT_WSTR
|
nvarchar(448)
|
448 | |
SiteId |
DT_WSTR
|
nvarchar(100)
|
100 | |
StatusHistory |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
Source |
DT_WSTR
|
nvarchar(100)
|
100 | |
SourceIP |
DT_WSTR
|
nvarchar(100)
|
100 | |
IsGrossTax |
DT_BOOL
|
bit
|
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 Quotes table, therefore it is better to use it, instead of accessing the endpoint directly:
There are no parameters to configure. |

API Destination
This Endpoint belongs to the Quotes table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to get quotes:
There are no parameters to configure. |

ODBC application
Use these SQL queries in your ODBC application data source:
List / Search Quotes
List or Search quotes. This example lists Open and Completed Quotes
SELECT * FROM Quotes
WITH(
Statuses='OPEN~COMPLETED',
--SearchFor='Test' --quote contains word "Test" in Name or blling information
-- query more status like below
--Statuses='OPEN~COMPLETED~CANCELED~EXPIRED',
)
get_quotes
endpoint belongs to
Quotes
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:
List / Search Quotes
List or Search quotes. This example lists Open and Completed Quotes
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Quotes
WITH(
Statuses=''OPEN~COMPLETED'',
--SearchFor=''Test'' --quote contains word "Test" in Name or blling information
-- query more status like below
--Statuses=''OPEN~COMPLETED~CANCELED~EXPIRED'',
)';
EXEC (@MyQuery) AT [LS_TO_FASTSPRING_IN_GATEWAY];
get_quotes
endpoint belongs to
Quotes
table(s), and can therefore be used via those table(s).