Reference Guide#
Introduction#
Vault is a cloud-based DBMS. In addition to the functionality found in other cloud-based DBMS services, the Vault can provide scheduled processing using the same tools that Melissa offers on other platforms.
Base URL#
https://vault.melissadata.net/
Vault parameters include path parameters. These path parameters become part of the URL path in the requests and should be used in the specific order.
New to Melissa Cloud Services?#
We highly recommend first time users of our web services to review our Using Melissa Cloud APIs section. It will cover critical topics like:
Endpoints#
Alert#
/V5/API/Alert/GetAlertInfo/{{tableName}}/{{alertName}}/{{primaryKey}}#
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Alert/GetAlertInfo/HomesData \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Alert name. [blank] will list all alerts. A regular expression may be used to query multiple alerts. |
|
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
AllAlerts#
Boolean. Sets return of information for alerts that have not been enabled or configured.
Parameter |
Description |
---|---|
|
Default Do not return information. |
|
Return information. |
RegularExpression#
Boolean. Sets regular expression use for table name and alert name search.
Parameter |
Description |
---|---|
|
Default Do not use regular expressions. |
|
Use regular expressions. |
Response#
{
"TransmissionResults": "",
"Tables": [
{
"TableName": "HomesData",
"Alerts": [
{
"Status": "VE04",
"AlertType": "ChangeOfAddress",
"AlertName": "ChangeOfAddress",
"AlertDescription": "Update addresses of people who have changed their address",
"InputColumnMappings": [
{
"ColumnType": "FirstName",
"ColumnName": "FirstName"
}
],
"InputColumnRequirements": [
{
"Rule": "(City && State) || PostalCode",
"ErrorMessage": "City and state or postal code are required"
}
],
"Schedule": "Default",
"HRSchedule": "Default",
"Channel": {
"Channel": "WebHook",
"Url": "https://example.com/recordAlert/smartMover/%@record%",
"Method": "GET",
"Headers": [
"…"
],
"Body": "",
"Email": "address@example.com",
"Schedule": "Immediate",
"HRSchedule": "Immediate"
}
}
]
}
],
"TransmissionReference": "TEST"
}
/V5/API/Alert/SelectRecords/{{tableName}}/{{alertName}}/{{primaryKey}}#
Select records that have been modified through an alert.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Alert/SelectRecords/HomesData/AddressUpdate/8008006245 \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"PrimaryKeyValues": [
"8008006245",
"5089617240"
]
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
|
|
String. T-SQL representation of |
|
Integer (32bit). Number of records to output per paged request. |
|
Integer (32bit). Page number of records to return ( |
|
String. Earliest transaction date in the following format: |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. T-SQL representation of |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
|
String. A comma-separated list of alert(s) to return transactions on. |
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
Notes#
PrimaryKeys
If multiple Primary Keys are to be selected, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but selection by @record
id desired.
WhereCondition
The WHERE
parameter can contain a T-SQL compatible WHERE
expression that will filter selected records.
Columns used in WHERE
do not need to appear in COLS
.
If used simultaneously with the KEYS
parameter, the JoinCondition
option can be used to specify whether both (And) or either (Or) properties must be satisfied in order for a record to be returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CountAllRecords#
Boolean. Sets if TotalSelectRecords
will contain a count of all records that satisfy the specified query, otherwise it is set to 0
.
Parameter |
Description |
---|---|
|
Default. |
|
|
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
JoinCondition#
String. If both KEYS
and WHERE
are specified, this sets whether either condition needs to be satisfied (or
) or both (and
).
Parameter |
Description |
---|---|
|
Default. Both conditions need to be satisfied. |
|
Either condition needs to be satisfied. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be selected.
Parameter |
Description |
---|---|
|
Default. Matching records will not be selected. |
|
Matching records will be selected. |
TransactionOrder#
String. Sorts the record transaction orders.
Parameter |
Description |
---|---|
|
Default. Transactions are ordered from earliest to latest. |
|
Transactions are ordered from latest to earliest. |
|
Transactions are ordered with the latest first, followed by the remainders ordered earliest to latest. |
Response#
{
"TransmissionResults": "",
"Records": [
[
{
"@record": 1,
"FirstName": "John",
"LastName": "Smith",
"Address": "10 Smith St",
"City": "Springfield",
"State": "CA",
"PostalCode": "99876-1024",
"@transactionDate": "2022-10-21T00:00:00",
"@transactionType": "SmartMover",
"@transactionSubUser": 1,
"@transactionColumns": "Address,City,PostalCode"
},
{
"@record": 1,
"FirstName": "John",
"LastName": "Smith",
"Address": "123 Main St Apt 1",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345",
"@transactionDate": "2021-03-15T00:00:00",
"@transactionType": "Insert",
"@transactionSubUser": 1,
"@transactionColumns": "FirstName,LastName,Address,City,State,PostalCode"
}
],
[
{
"@record": 2,
"FirstName": "Jane",
"LastName": "Smith-Doe",
"Address": "10 Smith St",
"City": "Springfield",
"State": "CA",
"PostalCode": "99876-1024",
"@transactionDate": "2022-10-21T00:00:00",
"@transactionType": "SmartMover",
"@transactionSubUser": 1,
"@transactionColumns": "LastName,Address,City,PostalCode"
},
{
"@record": 2,
"FirstName": "Jane",
"LastName": "Doe",
"Address": "123 Main St Apt 1",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345",
"@transactionDate": "2018-03-18T00:00:00",
"@transactionType": "SmartMover",
"@transactionSubUser": 1,
"@transactionColumns": "Address,City,State,PostalCode"
},
{
"@record": 2,
"FirstName": "Jane",
"LastName": "Doe",
"Address": "15 University Ave",
"City": "Dartmouth",
"State": "NH",
"PostalCode": "10028",
"@transactionDate": "2015-02-22T00:00:00",
"@transactionType": "Insert",
"@transactionSubUser": 1,
"@transactionColumns": "FirstName,LastName,Address,City,State,PostalCode"
}
]
],
"TotalSelectRecords": 0,
"TransmissionReference": "TEST"
}
/V5/API/Alert/SelectRecordsFTP/{{tableName}}/{{alertName}}/{{primaryKey}}#
Select records that have been modified through an alert for download.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Alert/SelectRecordsFTP/HomesData/AddressUpdate/8008006245 \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"PrimaryKeyValues": [
"8008006245",
"5089617240"
]
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. T-SQL representation of |
|
String. Earliest transaction date in the following format: |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. T-SQL representation of |
Body Parameters |
|
|
Array of Strings or Null. List of primary key values of records to return. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
|
String. A comma-separated list of alert(s) to return transactions on. |
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
Notes#
PrimaryKeys
If multiple Primary Keys are to be selected, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but selection by @record
id desired.
WhereCondition
The WHERE
parameter can contain a T-SQL compatible WHERE
expression that will filter selected records.
Columns used in WHERE
do not need to appear in COLS
.
If used simultaneously with the KEYS
parameter, the JoinCondition
option can be used to specify whether both (And) or either (Or) properties must be satisfied in order for a record to be returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CompressFile#
Boolean. Sets if the download file will be compressed using zip compression.
Parameter |
Description |
---|---|
|
Default. The download file will not be compressed. |
|
The download file will be compressed. |
Delimiter#
String. Sets the delimiter used in the delimited file format.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
JoinCondition#
String. If both KEYS
and WHERE
are specified, this sets whether either condition needs to be satisfied (or
) or both (and
).
Parameter |
Description |
---|---|
|
Default. Both conditions need to be satisfied. |
|
Either condition needs to be satisfied. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be selected.
Parameter |
Description |
---|---|
|
Default. Matching records will not be selected. |
|
Matching records will be selected. |
OverwriteOutputFile#
Boolean. Sets if the output file will be overwritten if it already exists.
Parameter |
Description |
---|---|
|
Default. The output file will NOT be overwritten. |
|
The output file WILL be overwritten. |
TransactionOrder#
String. Sorts the record transaction orders.
Parameter |
Description |
---|---|
|
Default. Transactions are ordered from earliest to latest. |
|
Transactions are ordered from latest to earliest. |
|
Transactions are ordered with the latest first, followed by the remainders ordered earliest to latest. |
TransactionStyle#
String. Sets the transaction layout.
Parameter |
Description |
---|---|
|
Default. Transactions are output as a simple list. |
|
Transactions are output in a tiered manner.
Delimited files add a column with a |
|
A single record is output for each changed record, containing its current value. |
Response#
{
"TransmissionResults": "",
"FileName": "50140c99-c874-427b-80db-492f360fe663",
"Url": "ftp://vault.melissadata.net/50140c99-c874-427b-80db-492f360fe663",
"Checksum": "26D6725C49831643E8EC87B1644D167205EC4F9F0FEAC57BE058A1EF5FBC9E46",
"TransmissionReference": "TEST"
}
/V5/API/Alert/SelectRecordsFTPAsync/{{tableName}}/{{alertName}}/{{primaryKey}}#
Select records that have been modified through an alert for download asychronously.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Alert/SelectRecordsFTPAsync/HomesData/AddressUpdate/8008006245 \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"PrimaryKeyValues": [
"8008006245",
"5089617240"
]
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. T-SQL representation of |
|
String. Earliest transaction date in the following format: |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. T-SQL representation of |
Body Parameters |
|
|
Array of Strings or Null. List of primary key values of records to return. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
|
String. A comma-separated list of alert(s) to return transactions on. |
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
Notes#
PrimaryKeys
If multiple Primary Keys are to be selected, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but selection by @record
id desired.
WhereCondition
The WHERE
parameter can contain a T-SQL compatible WHERE
expression that will filter selected records.
Columns used in WHERE
do not need to appear in COLS
.
If used simultaneously with the KEYS
parameter, the JoinCondition
option can be used to specify whether both (And) or either (Or) properties must be satisfied in order for a record to be returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CompressFile#
Boolean. Sets if the download file will be compressed using zip compression.
Parameter |
Description |
---|---|
|
Default. The download file will not be compressed. |
|
The download file will be compressed. |
Delimiter#
String. Sets the delimiter used in the delimited file format.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
JoinCondition#
String. If both KEYS
and WHERE
are specified, this sets whether either condition needs to be satisfied (or
) or both (and
).
Parameter |
Description |
---|---|
|
Default. Both conditions need to be satisfied. |
|
Either condition needs to be satisfied. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be selected.
Parameter |
Description |
---|---|
|
Default. Matching records will not be selected. |
|
Matching records will be selected. |
OverwriteOutputFile#
Boolean. Sets if the output file will be overwritten if it already exists.
Parameter |
Description |
---|---|
|
Default. The output file will NOT be overwritten. |
|
The output file WILL be overwritten. |
TransactionOrder#
String. Sorts the record transaction orders.
Parameter |
Description |
---|---|
|
Default. Transactions are ordered from earliest to latest. |
|
Transactions are ordered from latest to earliest. |
|
Transactions are ordered with the latest first, followed by the remainders ordered earliest to latest. |
TransactionStyle#
String. Sets the transaction layout.
Parameter |
Description |
---|---|
|
Default. Transactions are output as a simple list. |
|
Transactions are output in a tiered manner.
Delimited files add a column with a |
|
A single record is output for each changed record, containing its current value. |
Response#
{
"TransmissionResults": "",
"ProcessID": "8716632a-a32a-4c09-a3f6-589b8af6eeae",
"TransmissionReference": "TEST"
}
Async#
/V5/API/Async/GetProcessStatus/{{processId}}#
Retrieve current status of asynchronous process.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Async/GetProcessStatus/8716632a-a32a-4c09-a3f6-589b8af6eeae \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Identifier returned by Async function. |
Response#
{
"TransmissionResults": "",
"Created": "2022-09-01T09:00:00",
"Completed": "2022-09-01T09:10:00",
"Progress": 100,
"Results": [
"",
""
],
"TransmissionReference": "TEST"
}
/V5/API/Async/ClearProcessStatus/{{processId}}#
Clear status of asynchronous process.
Try It Now#
curl --request PUT \
--url https://vault.melissadata.net/V5/API/Async/ClearProcessStatus/8716632a-a32a-4c09-a3f6-589b8af6eeae \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"ProcessID": "8716632a-a32a-4c09-a3f6-589b8af6eeae",
"TransmissionReference": "TEST"
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Identifier returned by Async function. |
Response#
{
"TransmissionResults": "",
"TransmissionReference": "TEST"
}
File#
/V5/API/File/DeleteFile/{{fileName}}#
Delete an upload/download file.
Try It Now#
curl --request DELETE \
--url https://vault.melissadata.net/V5/API/File/DeleteFile/ExcelSheet1.xlsx \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Specify target file name. |
Response#
{
"TransmissionResults": "",
"TransmissionReference": "TEST"
}
/V5/API/File/DownloadFile/{{fileName}}#
Download a file.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/File/DownloadFile/ExcelSheet1.xlsx \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Specify target file name. |
Response#
...
/V5/API/File/GetFileInfo/{{fileName}}#
Get information and sample records from an upload/download file.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/File/GetFileInfo/ImportSheets.zip \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. If the specified file is a compressed file, the name of the compressed file to examine. |
|
String. The format of output file ( |
|
|
|
String. SHA-256 checksum of the file to examine. |
|
String. For Excel files, the name of the sheet to examine. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Specify target file name. |
Notes#
It may be necessary to call GetFileInfo
several times to build a full request.
For example, if the file is a compressed file, the first call would return with FileFormat
set to Compressed
, and a list of the compressed files in CompressedFiles
.
A second call would specify which file to analyze in the compressed file parameter.
If the compressed file is an Excel spreadsheet, this call would return FileFormat
as Excel, and Sheets
would contain a list of the sheets in the Excel file.
Finally, a third call would be made with the input file, compressed file and sheet name parameters specified.
This call would finally return SampleData
and Records
.
Regardless of FileFormat
or Delimiter
, the records returned in SampleData
will be tab-delimited.
By default, GetFileInfo will analyze the specified file and determine the file’s format (Delimited, JSON or Excel) and, in the case of the Delimited format, the column delimiter. However, this can be overridden by specifying FORMAT and the Delimiter OPT property.
Options#
Delimiter#
String. Sets the delimiter for the file format.
Parameter |
Description |
---|---|
|
Default. No delimiter will be used. |
LimitRows#
Integer. Set the limit for the number of rows to return.
Parameter |
Description |
---|---|
|
Default. 10 rows will be returned. |
|
# of rows to return. |
TrimWhitespace#
Boolean. Sets if the leading and trailing spaces will be trimmed from text data.
Parameter |
Description |
---|---|
|
Spaces will NOT be trimmed. |
|
Default. Spaces WILL be trimmed. |
Response#
{
"TransmissionResults": "",
"FileFormat": "Delimited",
"Encoding": "ASCII",
"Delimiter": "Comma",
"SampleData": [
[
"John",
"Smith",
"123 Main St",
"Anytown",
"CA",
"12345"
],
[
"Jane",
"Doe",
"456 Main St",
"Anytown",
"CA",
"12345"
]
],
"SampleSchema": [
{
"ColumnName": "FirstName",
"ColumnType": "FirstName",
"Size": 20
},
{
"ColumnName": "LastName",
"ColumnType": "LastName",
"Size": 20
},
{
"ColumnName": "Address",
"ColumnType": "Address",
"Size": 40
},
{
"ColumnName": "City",
"ColumnType": "City",
"Size": 30
},
{
"ColumnName": "State",
"ColumnType": "State",
"Size": 2
},
{
"ColumnName": "PostalCode",
"ColumnType": "PostalCode",
"Size": 10
}
],
"FirstRowSchema": false,
"Count": 12356,
"TransmissionReference": "TEST"
}
/V5/API/File/ListFiles/{{fileName}}#
Retrieve list of upload/download files.
Try It Now#
curl --request GET \
--url 'https://vault.melissadata.net/V5/API/File/ListFiles/.*/.xlsx' \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
Integer (32bit). Page number of records to return ( |
|
Integer (32bit). Number of records to output per paged request. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Specify target file name. |
Notes#
If PGSIZE
and/or PGNO
are not specified, the default page size is 1000
and the default page number is 0
.
Response#
{
"TransmissionResults": "",
"Files": [
{
"FileName": "ExcelSheet1.xlsx",
"Created": "2022-04-01T09:05:01",
"LastAccessed": "2022-04-01T11:05:03",
"Size": 12356,
"Checksum": "26D6725C49831643E8EC87B1644D167205EC4F9F0FEAC57BE058A1EF5FBC9E46"
}
],
"TotalFiles": 12,
"TransmissionReference": "TEST"
}
/V5/API/File/UploadFile/{{fileName}}#
Upload a file.
Try It Now#
curl --request POST \
--url https://vault.melissadata.net/V5/API/File/UploadFile/ExcelSheet1.xlsx \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: multipart/form-data' \
--form Options=OverwriteExisting \
--form TransmissionReference=TEST \
--form 'List`1[0]=undefined'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Body Parameters |
|
|
String. The License Key issued by Melissa (Encrypted). |
|
Array of Strings. An array of file(s) to upload. |
|
Options. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Specify target file name. |
Options#
OverwriteExisting#
Boolean. Sets if the upload file will overwrite a file if it already exists.
Parameter |
Description |
---|---|
|
Default. The upload file will NOT overwrite an existing file. |
|
The upload file WILL overwrite an existing file. |
Response#
{
"TransmissionResults": "",
"TransmissionReference": "TEST"
}
Message#
/V5/API/Message/GetMessages#
Get a user’s messages.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Message/GetMessages \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
|
|
Integer (32bit). Page number of records to return ( |
|
Integer (32bit). Number of records to output per paged request. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CountAllRecords#
Boolean. Sets if the TotalMessages
field will contain a count of all messages or not.
When a count is not included, TotalMessages
will return 0
.
Parameter |
Description |
---|---|
|
Default. Message count disabled. |
|
|
IncludeReadMessages#
Boolean. Sets inclusion of read messages in the response.
Parameter |
Description |
---|---|
|
Default. Read messages are NOT included. |
|
Read messages ARE included. |
IncludeStaleMessages#
Boolean. Sets inclusion of stale messages in the response.
Stale
messages refer to tables, alerts or jobs that have since been modified since the message was sent.
Information contained in the message may not longer be relevant due to those changes.
Parameter |
Description |
---|---|
|
Default. Stale messages are NOT included. |
|
Stale messages ARE included. |
Order#
String. Sets the order of messages in the response.
Parameter |
Description |
---|---|
|
Messages orderd from newest to oldest. |
|
Default. Messages ordered from oldest to newest. |
Response#
{
"TransmissionResults": "",
"Messages": [
{
"MessageID": 13,
"Status": "",
"Sender": "AddressUpdate",
"Subject": "Processing of HomesData table completed",
"Message": "85 addresses updated",
"TableName": "HomesData",
"ProcessName": "AddressUpdate",
"ProcessType": "AddressUpdate",
"Link": "https://vault.melissa.com/tables/HomesData/alert/",
"DateAdded": "2022-10-21T00:00:00",
"DateRead": "2022-10-22T00:00:00"
}
],
"TotalMessages": 12,
"TransmissionReference": "TEST"
}
/V5/API/Message/SetMessageStatus#
Set the user message(s) status.
Try It Now#
curl --request PATCH \
--url https://vault.melissadata.net/V5/API/Message/SetMessageStatus \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"MessageStatuses": [
{
"MessageID": 13,
"Status": ""
}
],
"TransmissionReference": "TEST"
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Body Parameters |
|
|
Array of Objects or Null. List of messages to modify. |
Response#
{
"TransmissionResults": "",
"TransmissionReference": "TEST"
}
Record#
/V5/API/Record/DeleteRecords/{{tableName}}/{{primaryKey}}#
Delete records from a table.
Try It Now#
curl --request DELETE \
--url https://vault.melissadata.net/V5/API/Record/DeleteRecords/HomesData/8008006245 \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"PrimaryKeyValues": [
"8008006245",
"5089617240"
]
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
PrimaryKeys#
If multiple Primary Keys are to be deleted, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but deletion by @record
id desired.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be deleted.
Parameter |
Description |
---|---|
|
Default. Matching records will not be deleted. |
|
Matching records will be deleted. |
Response#
{
"TransmissionResults": "",
"Results": [
"",
""
],
"TransmissionReference": "TEST"
}
/V5/API/Record/InsertRecords/{tableName}#
Try It Now#
curl --request POST \
--url https://vault.melissadata.net/V5/API/Record/InsertRecords/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"PrimaryKeyValues": [
"8008006245",
"5089617240"
]
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
This function offers three different ways of providing insert data:
Dictionary-based - Records are contained in a List<Record>, where Record is a JSON representation of the table’s schema.
Delimited Records - Records are contained in a List<string>, where each list element is a delimited record.
Key/Value Pairs - Records are contained in a List<List<InsertRecord>>, where InsertRecord is a key/value pair. This interface is very similar to how requests are done in the HubSpot API.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
AbortOnAnyError#
Boolean. Sets if a data or rule issue on any record will cause the entire set of records to not be updated.
Parameter |
Description |
---|---|
|
Data or rule issues will not prevent record updates. |
|
Default. Any data or rule issue will prevent all records updates. |
AbortOnErrors#
String. Only abort if any record reports a result code in the specified (comma-delimited) list of result codes.
Parameter |
Description |
---|---|
|
Default. No result codes specified. |
|
Abort if a returned result code matches. |
CreateTable#
Boolean. Sets if non-schema table will be created if the specified table doesn’t exist.
Parameter |
Description |
---|---|
|
Default. A non-schema table will NOT be created. |
|
A non-schema table WILL be created. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
ReplaceExistingRecords#
Boolean. Sets if an existing record having the same primary key will be entirely replaced with the input record.
Parameter |
Description |
---|---|
|
Default. An existing record will NOT be replaced. |
|
An existing record WILL be replaced. |
TransactionType#
String. Sets the transaction type on the transaction record of the temporal table.
Parameter |
Description |
---|---|
|
Default. The recorded transaction type will be |
|
The recorded transaction type will be |
UpdateExistingRecords#
Boolean. Sets if an existing record having the same primary key will be updated with the input record.
Parameter |
Description |
---|---|
|
Default. A matching existing record will NOT be updated. |
|
A matching existing record WILL be updated with the input record. |
Response#
{
"TransmissionResults": "",
"Results": [
"",
""
],
"TransmissionReference": "TEST"
}
/V5/API/Record/SearchRecords/{{tableName}}#
Search for records in a table.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Record/SearchRecords/HomesData \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
|
|
String. T-SQL representation of |
|
Integer (32bit). Page number of records to return ( |
|
Integer (32bit). Number of records to output per paged request. |
|
String. The word or phrase to search for. |
|
String. A comma-separated ( |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CountAllRecords#
Boolean. Sets if TotalSelectRecords
will contain a count of all records that satisfy the specified query, otherwise it is set to 0
.
Parameter |
Description |
---|---|
|
Default. |
|
|
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
OrderByCloseness#
Boolean. Sets if the result records will be ordered by how closely they match the requested search string.
Parameter |
Description |
---|---|
|
Default. Result records will NOT be ordered. |
|
Result records WILL be ordered by closeness. |
Response#
{
"TransmissionResults": "",
"Records": [
{
"FirstName": "John",
"LastName": "Smith",
"Address": "123 Main St",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345"
},
{
"FirstName": "Jane",
"LastName": "Doe",
"Address": "456 Main St",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345"
}
],
"TotalSearchRecords": 2,
"TransmissionReference": "TEST"
}
/V5/API/Record/SelectRecords/{{tableName}}/{{primaryKey}}#
Select records from a table.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Record/SelectRecords/HomesData/8008006245 \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"PrimaryKeyValues": [
"8008006245",
"5089617240"
]
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
|
|
String. T-SQL representation of |
|
Integer (32bit). Page number of records to return ( |
|
Integer (32bit). Number of records to output per paged request. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. T-SQL representation of |
Path Parameters |
|
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
PrimaryKeys#
If multiple Primary Keys are to be selected, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but selection by @record
id desired.
WhereCondition#
The WHERE
parameter can contain a T-SQL compatible WHERE
expression that will filter selected records.
Columns used in WHERE
do not need to appear in COLS
.
If used simultaneously with the KEYS
parameter, the JoinCondition
option can be used to specify whether both (And) or either (Or) properties must be satisfied in order for a record to be returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CountAllRecords#
Boolean. Sets if TotalSelectRecords
will contain a count of all records that satisfy the specified query, otherwise it is set to 0
.
Parameter |
Description |
---|---|
|
Default. |
|
|
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
JoinCondition#
String. If both KEYS
and WHERE
are specified, this sets whether either condition needs to be satisfied (or
) or both (and
).
Parameter |
Description |
---|---|
|
Default. Both conditions need to be satisfied. |
|
Either condition needs to be satisfied. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be selected.
Parameter |
Description |
---|---|
|
Default. Matching records will not be selected. |
|
Matching records will be selected. |
Response#
{
"TransmissionResults": "",
"Records": [
{
"FirstName": "John",
"LastName": "Smith",
"Address": "123 Main St",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345"
},
{
"FirstName": "Jane",
"LastName": "Doe",
"Address": "456 Main St",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345"
}
],
"TotalSelectRecords": 2,
"TransmissionReference": "TEST"
}
/V5/API/Record/UpdateRecords/{{tableName}}#
Update existing records in a table.
Try It Now#
curl --request PATCH \
--url https://vault.melissadata.net/V5/API/Record/UpdateRecords/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"Action": "Update",
"Records": [
{
"@record": 10,
"FirstName": "John",
"LastName": "Smith",
"Address": "123 Main St Apt 1",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345"
},
{
"@record": 11,
"FirstName": "Jane",
"LastName": "Smith-Doe",
"Address": "123 Main St Apt 1",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345"
}
]
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. The action to perform: |
|
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
Update records are identified by the primary key, which must be specified for each record in Records. If the table does not have a primary key, the records’ @record value should be used. If both are present in Records, @record will be used.
Actions#
Update - Existing data will be updated with data in Records. Column data in the existing record that does not exist in Records will remain.
Replace - Existing data will be replaced in it’s entirety with the data in Records. Column data in the existing record that does not exist in Records will be removed.
Delete - The specified columns in Records will be removed from the existing data (the values in Records are ignored). Columns in the existing record that do not exist in Records will remain.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
AbortOnAnyError#
Boolean. Sets if a data or rule issue on any record will cause the entire set of records to not be updated.
Parameter |
Description |
---|---|
|
Data or rule issues will not prevent record updates. |
|
Default. Any data or rule issue will prevent all records updates. |
AbortOnErrors#
String. Only abort if any record reports a result code in the specified (comma-delimited) list of result codes.
Parameter |
Description |
---|---|
|
Default. No result codes specified. |
|
Abort if a returned result code matches. |
TransactionType#
String. Sets the transaction type on the transaction record of the temporal table.
Parameter |
Description |
---|---|
|
Default. The recorded transaction type will be |
|
The recorded transaction type will be |
Response#
{
"TransmissionResults": "",
"Results": [
"",
""
],
"TransmissionReference": "TEST"
}
Record (FTP)#
/V5/API/Record/DeleteRecordsFTP/{{tableName}}#
Delete existing records from data in an uploaded file.
Try It Now#
curl --request DELETE \
--url https://vault.melissadata.net/V5/API/Record/DeleteRecordsFTP/HomesData \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. If the specified file is a compressed file, the name of the compressed file to examine. |
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. SHA-256 checksum of the file to examine. |
|
String. For Excel files, the name of the sheet to import. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
PrimaryKeys#
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records option can be used to use @record
when the table does contain a primary key but deletion by @record
is desired.
Data can be formatted:
Delimited
JSON (one row of JSON per record or as a giant List)
Excel
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
AbortOnAnyError#
Boolean. Sets if a data or rule issue on any record will cause the entire set of records to not be updated.
Parameter |
Description |
---|---|
|
Data or rule issues will not prevent record updates. |
|
Default. Any data or rule issue will prevent all records updates. |
AbortOnErrors#
String. Only abort if any record reports a result code in the specified (comma-delimited) list of result codes.
Parameter |
Description |
---|---|
|
Default. No result codes specified. |
|
Abort if a returned result code matches. |
DeleteInputFile#
Boolean. Sets if the upload file will be deleted after a successful operation.
Parameter |
Description |
---|---|
|
Default. The upload file will NOT be deleted. |
|
The upload file WILL be deleted. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be deleted.
Parameter |
Description |
---|---|
|
Default. Matching records will not be deleted. |
|
Matching records will be deleted. |
LimitRows#
Integer. Sets the import to be limited by the specified number of rows. 0
means all rows.
Parameter |
Description |
---|---|
|
Default. All rows will be imported. |
|
Only the specificed number of rows will be imported. |
SkipRows#
Integer. Sets the number of rows to skip at the top of the input file.
Parameter |
Description |
---|---|
|
Default. No rows will be skipped. |
|
The specified number of rows will be skipped. |
Response#
{
"TransmissionResults": "",
"Results": [
"",
""
],
"TransmissionReference": "TEST"
}
/V5/API/Record/InsertRecordsFTP/{tableName}#
Try It Now#
curl --request POST \
--url https://vault.melissadata.net/V5/API/Record/InsertRecordsFTP/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. If the specified file is a compressed file, the name of the compressed file to examine. |
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. SHA-256 checksum of the file to examine. |
|
String. For Excel files, the name of the sheet to import. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
Compressed files must have one of the following extensions:
7z
,bz2
,gz
,gzip
,lz
,rar
,tar
orzip
.Excel files must have one of the following extensions:
xls
orxlsx
.When the upload file is a compressed file archive and the compressed file name is not specified, then the archive must contain only a single file -or- a file having the same name as the table name. Otherwise, an error is returned.
When the upload file is an Excel spreadsheet and the sheet name is not specified, then the spreadsheet must contain only a single sheet containing data -or- a sheet having the same name as the table name. Otherwise, an error is returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
AbortOnAnyError#
Boolean. Sets if a data or rule issue on any record will cause the entire set of records to not be updated.
Parameter |
Description |
---|---|
|
Data or rule issues will not prevent record updates. |
|
Default. Any data or rule issue will prevent all records updates. |
AbortOnErrors#
String. Only abort if any record reports a result code in the specified (comma-delimited) list of result codes.
Parameter |
Description |
---|---|
|
Default. No result codes specified. |
|
Abort if a returned result code matches. |
CreateTable#
Boolean. Sets if non-schema table will be created if the specified table doesn’t exist.
Parameter |
Description |
---|---|
|
Default. A non-schema table will NOT be created. |
|
A non-schema table WILL be created. |
DeleteInputFile#
Boolean. Sets if the upload file will be deleted after a successful operation.
Parameter |
Description |
---|---|
|
Default. The upload file will NOT be deleted. |
|
The upload file WILL be deleted. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
LimitRows#
Integer. Sets the import to be limited by the specified number of rows. 0
means all rows.
Parameter |
Description |
---|---|
|
Default. All rows will be imported. |
|
Only the specificed number of rows will be imported. |
ReplaceExistingRecords#
Boolean. Sets if an existing record having the same primary key will be entirely replaced with the input record.
Parameter |
Description |
---|---|
|
Default. An existing record will NOT be replaced. |
|
An existing record WILL be replaced. |
SkipRows#
Integer. Sets the number of rows to skip at the top of the input file.
Parameter |
Description |
---|---|
|
Default. No rows will be skipped. |
|
The specified number of rows will be skipped. |
TransactionType#
String. Sets the transaction type on the transaction record of the temporal table.
Parameter |
Description |
---|---|
|
Default. The recorded transaction type will be |
|
The recorded transaction type will be |
TrimWhiteSpace#
Integer. Sets if the leading and trailing spaces will be trimmed from text data.
Parameter |
Description |
---|---|
|
Leading and trailing spaces will NOT be trimmed. |
|
Default. Leading and trailing spaces WILL be trimmed. |
UpdateExistingRecords#
Boolean. Sets if an existing record having the same primary key will be updated with the input record.
Parameter |
Description |
---|---|
|
Default. A matching existing record will NOT be updated. |
|
A matching existing record WILL be updated with the input record. |
Response#
{
"TransmissionResults": "",
"Results": [
"",
""
],
"TransmissionReference": "TEST"
}
/V5/API/Record/SearchRecordsFTP/{{tableName}}#
Search records in a table for download.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Record/SearchRecordsFTP/HomesData \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. T-SQL representation of |
|
String. The word or phrase to search for. |
|
String. A comma-separated ( |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CompressFile#
Boolean. Sets if the download file will be compressed using zip compression.
Parameter |
Description |
---|---|
|
Default. The download file will not be compressed. |
|
The download file will be compressed. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
OrderByCloseness#
Boolean. Sets if the result records will be ordered by how closely they match the requested search string.
Parameter |
Description |
---|---|
|
Default. Result records will NOT be ordered. |
|
Result records WILL be ordered by closeness. |
OverwriteOutputFile#
Boolean. Sets if the output file will be overwritten if it already exists.
Parameter |
Description |
---|---|
|
Default. The output file will NOT be overwritten. |
|
The output file WILL be overwritten. |
Response#
{
"TransmissionResults": "",
"FileName": "50140c99-c874-427b-80db-492f360fe663",
"Url": "ftp://vault.melissadata.net/50140c99-c874-427b-80db-492f360fe663",
"Checksum": "26D6725C49831643E8EC87B1644D167205EC4F9F0FEAC57BE058A1EF5FBC9E46",
"TransmissionReference": "TEST"
}
/V5/API/Record/SelectRecordsFTP/{{tableName}}/{{primaryKey}}#
Select records from a table.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Record/SelectRecordsFTP/HomesData/8008006245 \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"PrimaryKeyValues": [
"8008006245",
"5089617240"
]
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. T-SQL representation of |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. T-SQL representation of |
Path Parameters |
|
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
PrimaryKeys#
If multiple Primary Keys are to be selected, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but selection by @record
id desired.
WhereCondition#
The WHERE
parameter can contain a T-SQL compatible WHERE
expression that will filter selected records.
Columns used in WHERE
do not need to appear in COLS
.
If used simultaneously with the KEYS
parameter, the JoinCondition
option can be used to specify whether both (And) or either (Or) properties must be satisfied in order for a record to be returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CompressFile#
Boolean. Sets if the download file will be compressed using zip compression.
Parameter |
Description |
---|---|
|
Default. The download file will not be compressed. |
|
The download file will be compressed. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
JoinCondition#
String. If both KEYS
and WHERE
are specified, this sets whether either condition needs to be satisfied (or
) or both (and
).
Parameter |
Description |
---|---|
|
Default. Both conditions need to be satisfied. |
|
Either condition needs to be satisfied. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be selected.
Parameter |
Description |
---|---|
|
Default. Matching records will not be selected. |
|
Matching records will be selected. |
OverwriteOutputFile#
Boolean. Sets if the output file will be overwritten if it already exists.
Parameter |
Description |
---|---|
|
Default. The output file will NOT be overwritten. |
|
The output file WILL be overwritten. |
Response#
{
"TransmissionResults": "",
"FileName": "50140c99-c874-427b-80db-492f360fe663",
"Url": "ftp://vault.melissadata.net/50140c99-c874-427b-80db-492f360fe663",
"Checksum": "26D6725C49831643E8EC87B1644D167205EC4F9F0FEAC57BE058A1EF5FBC9E46",
"TransmissionReference": "TEST"
}
/V5/API/Record/UpdateRecordsFTP/{{tableName}}#
Update existing records in a table.
Try It Now#
curl --request PATCH \
--url https://vault.melissadata.net/V5/API/Record/UpdateRecordsFTP/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. The action to perform: |
|
String. If the specified file is a compressed file, the name of the compressed file to examine. |
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. SHA-256 checksum of the file to examine. |
|
String. For Excel files, the name of the sheet to import. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
Update records are identified by the primary key, which must be specified for each record.
If the table does not have a primary key, the records’ @record
value should be used.
If both are present, @record
will be used.
Data can be formatted:
Delimited
JSON (one row of JSON per record or as a giant List)
Excel
Actions#
Update - Existing data will be updated with data in the upload file. Column data in the existing record that does not exist in the upload file will remain.
Replace - Existing data will be replaced in it’s entirety with the data in the upload file. Column data in the existing record that does not exist in the upload file will be removed.
Delete - The specified columns in the upload file will be removed from the existing data (the values are ignored). Columns in the existing record that do not exist in the upload file will remain.
Compressed files must have one of the following extensions:
7z
,bz2
,gz
,gzip
,lz
,rar
,tar
orzip
.Excel files must have one of the following extensions:
xls
orxlsx
.When the upload file is a compressed file archive and the compressed file name is not specified, then the archive must contain only a single file -or- a file having the same name as the table name. Otherwise, an error is returned.
When the upload file is an Excel spreadsheet and the sheet name is not specified, then the spreadsheet must contain only a single sheet containing data -or- a sheet having the same name as the table name. Otherwise, an error is returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
AbortOnAnyError#
Boolean. Sets if a data or rule issue on any record will cause the entire set of records to not be updated.
Parameter |
Description |
---|---|
|
Data or rule issues will not prevent record updates. |
|
Default. Any data or rule issue will prevent all records updates. |
AbortOnErrors#
String. Only abort if any record reports a result code in the specified (comma-delimited) list of result codes.
Parameter |
Description |
---|---|
|
Default. No result codes specified. |
|
Abort if a returned result code matches. |
DeleteInputFile#
Boolean. Sets if the upload file will be deleted after a successful operation.
Parameter |
Description |
---|---|
|
Default. The upload file will NOT be deleted. |
|
The upload file WILL be deleted. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
LimitRows#
Integer. Sets the import to be limited by the specified number of rows. 0
means all rows.
Parameter |
Description |
---|---|
|
Default. All rows will be imported. |
|
Only the specificed number of rows will be imported. |
SkipRows#
Integer. Sets the number of rows to skip at the top of the input file.
Parameter |
Description |
---|---|
|
Default. No rows will be skipped. |
|
The specified number of rows will be skipped. |
TransactionType#
String. Sets the transaction type on the transaction record of the temporal table.
Parameter |
Description |
---|---|
|
Default. The recorded transaction type will be |
|
The recorded transaction type will be |
TrimWhiteSpace#
Integer. Sets if the leading and trailing spaces will be trimmed from text data.
Parameter |
Description |
---|---|
|
Leading and trailing spaces will NOT be trimmed. |
|
Default. Leading and trailing spaces WILL be trimmed. |
Response#
{
"TransmissionResults": "",
"Results": [
"",
""
],
"TransmissionReference": "TEST"
}
Record (FTP Async)#
/V5/API/Record/DeleteRecordsFTPAsync/{{tableName}}#
Delete existing records from data in an uploaded file asynchronously.
Try It Now#
curl --request DELETE \
--url https://vault.melissadata.net/V5/API/Record/DeleteRecordsFTPAsync/HomesData \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. If the specified file is a compressed file, the name of the compressed file to examine. |
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. SHA-256 checksum of the file to examine. |
|
String. For Excel files, the name of the sheet to import. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
PrimaryKeys#
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records option can be used to use @record
when the table does contain a primary key but deletion by @record
is desired.
Data can be formatted:
Delimited
JSON (one row of JSON per record or as a giant List)
Excel
Compressed files must have one of the following extensions:
7z
,bz2
,gz
,gzip
,lz
,rar
,tar
orzip
.Excel files must have one of the following extensions:
xls
orxlsx
.When the upload file is a compressed file archive and the compressed file name is not specified, then the archive must contain only a single file -or- a file having the same name as the table name. Otherwise, an error is returned.
When the upload file is an Excel spreadsheet and the sheet name is not specified, then the spreadsheet must contain only a single sheet containing data -or- a sheet having the same name as the table name. Otherwise, an error is returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
AbortOnAnyError#
Boolean. Sets if a data or rule issue on any record will cause the entire set of records to not be updated.
Parameter |
Description |
---|---|
|
Data or rule issues will not prevent record updates. |
|
Default. Any data or rule issue will prevent all records updates. |
AbortOnErrors#
String. Only abort if any record reports a result code in the specified (comma-delimited) list of result codes.
Parameter |
Description |
---|---|
|
Default. No result codes specified. |
|
Abort if a returned result code matches. |
DeleteInputFile#
Boolean. Sets if the upload file will be deleted after a successful operation.
Parameter |
Description |
---|---|
|
Default. The upload file will NOT be deleted. |
|
The upload file WILL be deleted. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be deleted.
Parameter |
Description |
---|---|
|
Default. Matching records will not be deleted. |
|
Matching records will be deleted. |
LimitRows#
Integer. Sets the import to be limited by the specified number of rows. 0
means all rows.
Parameter |
Description |
---|---|
|
Default. All rows will be imported. |
|
Only the specificed number of rows will be imported. |
SkipRows#
Integer. Sets the number of rows to skip at the top of the input file.
Parameter |
Description |
---|---|
|
Default. No rows will be skipped. |
|
The specified number of rows will be skipped. |
Response#
{
"TransmissionResults": "",
"ProcessID": "8716632a-a32a-4c09-a3f6-589b8af6eeae",
"TransmissionReference": "TEST"
}
/V5/API/Record/InsertRecordsFTPAsync/{tableName}#
Insert records from an uploaded file asynchronously.
Try It Now#
curl --request POST \
--url https://vault.melissadata.net/V5/API/Record/InsertRecordsFTPAsync/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. If the specified file is a compressed file, the name of the compressed file to examine. |
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. SHA-256 checksum of the file to examine. |
|
String. For Excel files, the name of the sheet to import. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
Data can be formatted:
Delimited
JSON (one row of JSON per record or as a giant List)
Excel
Compressed files must have one of the following extensions:
7z
,bz2
,gz
,gzip
,lz
,rar
,tar
orzip
.Excel files must have one of the following extensions:
xls
orxlsx
.When the upload file is a compressed file archive and the compressed file name is not specified, then the archive must contain only a single file -or- a file having the same name as the table name. Otherwise, an error is returned.
When the upload file is an Excel spreadsheet and the sheet name is not specified, then the spreadsheet must contain only a single sheet containing data -or- a sheet having the same name as the table name. Otherwise, an error is returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
AbortOnAnyError#
Boolean. Sets if a data or rule issue on any record will cause the entire set of records to not be updated.
Parameter |
Description |
---|---|
|
Data or rule issues will not prevent record updates. |
|
Default. Any data or rule issue will prevent all records updates. |
AbortOnErrors#
String. Only abort if any record reports a result code in the specified (comma-delimited) list of result codes.
Parameter |
Description |
---|---|
|
Default. No result codes specified. |
|
Abort if a returned result code matches. |
CreateTable#
Boolean. Sets if non-schema table will be created if the specified table doesn’t exist.
Parameter |
Description |
---|---|
|
Default. A non-schema table will NOT be created. |
|
A non-schema table WILL be created. |
DeleteInputFile#
Boolean. Sets if the upload file will be deleted after a successful operation.
Parameter |
Description |
---|---|
|
Default. The upload file will NOT be deleted. |
|
The upload file WILL be deleted. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
LimitRows#
Integer. Sets the import to be limited by the specified number of rows. 0
means all rows.
Parameter |
Description |
---|---|
|
Default. All rows will be imported. |
|
Only the specificed number of rows will be imported. |
ReplaceExistingRecords#
Boolean. Sets if an existing record having the same primary key will be entirely replaced with the input record.
Parameter |
Description |
---|---|
|
Default. An existing record will NOT be replaced. |
|
An existing record WILL be replaced. |
SkipRows#
Integer. Sets the number of rows to skip at the top of the input file.
Parameter |
Description |
---|---|
|
Default. No rows will be skipped. |
|
The specified number of rows will be skipped. |
TransactionType#
String. Sets the transaction type on the transaction record of the temporal table.
Parameter |
Description |
---|---|
|
Default. The recorded transaction type will be |
|
The recorded transaction type will be |
TrimWhiteSpace#
Integer. Sets if the leading and trailing spaces will be trimmed from text data.
Parameter |
Description |
---|---|
|
Leading and trailing spaces will NOT be trimmed. |
|
Default. Leading and trailing spaces WILL be trimmed. |
UpdateExistingRecords#
Boolean. Sets if an existing record having the same primary key will be updated with the input record.
Parameter |
Description |
---|---|
|
Default. A matching existing record will NOT be updated. |
|
A matching existing record WILL be updated with the input record. |
Response#
{
"TransmissionResults": "",
"ProcessID": "8716632a-a32a-4c09-a3f6-589b8af6eeae",
"TransmissionReference": "TEST"
}
/V5/API/Record/SearchRecordsFTPAsync/{{tableName}}#
Search records in a table for download asynchronously.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Record/SearchRecordsFTPAsync/HomesData \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. T-SQL representation of |
|
String. The word or phrase to search for. |
|
String. A comma-separated ( |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CompressFile#
Boolean. Sets if the download file will be compressed using zip compression.
Parameter |
Description |
---|---|
|
Default. The download file will not be compressed. |
|
The download file will be compressed. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
OrderByCloseness#
Boolean. Sets if the result records will be ordered by how closely they match the requested search string.
Parameter |
Description |
---|---|
|
Default. Result records will NOT be ordered. |
|
Result records WILL be ordered by closeness. |
OverwriteOutputFile#
Boolean. Sets if the output file will be overwritten if it already exists.
Parameter |
Description |
---|---|
|
Default. The output file will NOT be overwritten. |
|
The output file WILL be overwritten. |
Response#
{
"TransmissionResults": "",
"ProcessID": "8716632a-a32a-4c09-a3f6-589b8af6eeae",
"TransmissionReference": "TEST"
}
/V5/API/Record/SelectRecordsFTPAsync/{{tableName}}/{{primaryKey}}#
Select records from a table for download asynchronously.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Record/SelectRecordsFTPAsync/HomesData/8008006245 \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"PrimaryKeyValues": [
"8008006245",
"5089617240"
]
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. T-SQL representation of |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. T-SQL representation of |
Path Parameters |
|
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
PrimaryKeys#
If multiple Primary Keys are to be selected, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but selection by @record
id desired.
WhereCondition#
The WHERE
parameter can contain a T-SQL compatible WHERE
expression that will filter selected records.
Columns used in WHERE
do not need to appear in COLS
.
If used simultaneously with the KEYS
parameter, the JoinCondition
option can be used to specify whether both (And) or either (Or) properties must be satisfied in order for a record to be returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CompressFile#
Boolean. Sets if the download file will be compressed using zip compression.
Parameter |
Description |
---|---|
|
Default. The download file will not be compressed. |
|
The download file will be compressed. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
JoinCondition#
String. If both KEYS
and WHERE
are specified, this sets whether either condition needs to be satisfied (or
) or both (and
).
Parameter |
Description |
---|---|
|
Default. Both conditions need to be satisfied. |
|
Either condition needs to be satisfied. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be selected.
Parameter |
Description |
---|---|
|
Default. Matching records will not be selected. |
|
Matching records will be selected. |
OverwriteOutputFile#
Boolean. Sets if the output file will be overwritten if it already exists.
Parameter |
Description |
---|---|
|
Default. The output file will NOT be overwritten. |
|
The output file WILL be overwritten. |
Response#
{
"TransmissionResults": "",
"ProcessID": "8716632a-a32a-4c09-a3f6-589b8af6eeae",
"TransmissionReference": "TEST"
}
/V5/API/Record/UpdateRecordsFTPAsync/{{tableName}}#
Update existing records from data in an uploaded file asynchronously.
Try It Now#
curl --request PATCH \
--url https://vault.melissadata.net/V5/API/Record/UpdateRecordsFTPAsync/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. The action to perform: |
|
String. If the specified file is a compressed file, the name of the compressed file to examine. |
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. SHA-256 checksum of the file to examine. |
|
String. For Excel files, the name of the sheet to import. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
Update records are identified by the primary key, which must be specified for each record.
If the table does not have a primary key, the records’ @record
value should be used.
If both are present, @record
will be used.
Data can be formatted:
Delimited
JSON (one row of JSON per record or as a giant List)
Excel
Actions#
Update - Existing data will be updated with data in the upload file. Column data in the existing record that does not exist in the upload file will remain.
Replace - Existing data will be replaced in it’s entirety with the data in the upload file. Column data in the existing record that does not exist in the upload file will be removed.
Delete - The specified columns in the upload file will be removed from the existing data (the values are ignored). Columns in the existing record that do not exist in the upload file will remain.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
AbortOnAnyError#
Boolean. Sets if a data or rule issue on any record will cause the entire set of records to not be updated.
Parameter |
Description |
---|---|
|
Data or rule issues will not prevent record updates. |
|
Default. Any data or rule issue will prevent all records updates. |
AbortOnErrors#
String. Only abort if any record reports a result code in the specified (comma-delimited) list of result codes.
Parameter |
Description |
---|---|
|
Default. No result codes specified. |
|
Abort if a returned result code matches. |
DeleteInputFile#
Boolean. Sets if the upload file will be deleted after a successful operation.
Parameter |
Description |
---|---|
|
Default. The upload file will NOT be deleted. |
|
The upload file WILL be deleted. |
Delimiter#
String. Sets the delimiter used in the delimited fields.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
LimitRows#
Integer. Sets the import to be limited by the specified number of rows. 0
means all rows.
Parameter |
Description |
---|---|
|
Default. All rows will be imported. |
|
Only the specificed number of rows will be imported. |
SkipRows#
Integer. Sets the number of rows to skip at the top of the input file.
Parameter |
Description |
---|---|
|
Default. No rows will be skipped. |
|
The specified number of rows will be skipped. |
TransactionType#
String. Sets the transaction type on the transaction record of the temporal table.
Parameter |
Description |
---|---|
|
Default. The recorded transaction type will be |
|
The recorded transaction type will be |
TrimWhiteSpace#
Integer. Sets if the leading and trailing spaces will be trimmed from text data.
Parameter |
Description |
---|---|
|
Leading and trailing spaces will NOT be trimmed. |
|
Default. Leading and trailing spaces WILL be trimmed. |
Response#
{
"TransmissionResults": "",
"ProcessID": "8716632a-a32a-4c09-a3f6-589b8af6eeae",
"TransmissionReference": "TEST"
}
Table#
/V5/API/Table/AlterTable/{{tableName}}#
Alter the schema of an existing table.
Try It Now#
curl --request PATCH \
--url https://vault.melissadata.net/V5/API/Table/AlterTable/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"Columns": [
{
"ColumnName": "First",
"NewColumnName": "FirstName",
"ColumnType": "None",
"PrimaryKey": false
},
{
"ColumnName": "Last",
"NewColumnName": "LastName",
"ColumnType": "None",
"PrimaryKey": false
}
]
}'
Request Parameters#
Code |
Description |
||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Record Level Parameters |
|||||||||||||||||||||||||||||||||||||
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
||||||||||||||||||||||||||||||||||||
Body Parameters |
|||||||||||||||||||||||||||||||||||||
|
Array object[]. Table alerts(s) to add, replace, update or delete.
|
||||||||||||||||||||||||||||||||||||
|
Array object[]. Column(s) to add, replace, update or delete.
|
||||||||||||||||||||||||||||||||||||
|
Array object[]. Table notification(s) to add, replace, update or delete.
|
||||||||||||||||||||||||||||||||||||
|
Array object[]. Tags associated with the table.
|
||||||||||||||||||||||||||||||||||||
Path Parameters |
|||||||||||||||||||||||||||||||||||||
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
AlterTable can be used to add, replace, update or delete a table’s columns. ColumnName and NewColumnName dictate the action to be taken:
ColumnName |
NewColumnName |
Type/Size/PrimaryKey |
Action |
---|---|---|---|
Specified |
Same as ColumnName |
Same as current schema |
No changes made to column |
Specified |
Same as ColumnName |
Not same as current schema |
Column’s schema altered |
Specified |
Not same as ColumnName |
Same as current schema |
Column renamed |
Specified |
Not same as ColumnName |
Not same as current schema |
Rename column and alter column’s schema |
[Empty] or |
Specified |
Specified |
Add column with the specified schema |
Specified |
[Empty] or |
(N/A) |
Delete column |
The same logic is used for Alerts (AlertName) and Notifications (NotificationName). Tags are always replaced in entirety.
Response#
{
"TransmissionResults": "",
"TransmissionReference": "TEST"
}
/V5/API/Table/CreateTable/{{tableName}}#
Create a new table.
Try It Now#
curl --request POST \
--url https://vault.melissadata.net/V5/API/Table/CreateTable/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"Columns": [
{
"ColumnName": "FirstName",
"ColumnType": "FirstName",
"Size": 20,
"PrimaryKey": false
},
{
"ColumnName": "LastName",
"ColumnType": "LastName",
"Size": 20,
"PrimaryKey": false
},
{
"ColumnName": "Address",
"ColumnType": "Address",
"Size": 40,
"PrimaryKey": false
},
{
"ColumnName": "City",
"ColumnType": "City",
"Size": 30,
"PrimaryKey": false
},
{
"ColumnName": "State",
"ColumnType": "State",
"Size": 2,
"PrimaryKey": false
},
{
"ColumnName": "PostalCode",
"ColumnType": "PostalCode",
"Size": 10,
"PrimaryKey": false
}
],
"Tags": [
{
"Name": "Suppression",
"Color": "#FF0000"
},
{
"Name": "Pensky Project",
"Color": "#00FF00"
}
]
}'
Request Parameters#
Code |
Description |
||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Record Level Parameters |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
||||||||||||||||||||||||||||||||||||
Body Parameters |
|||||||||||||||||||||||||||||||||||||
|
Array object[]. Table alerts(s) to add, replace, update or delete.
|
||||||||||||||||||||||||||||||||||||
|
Array object[]. Column(s) to add, replace, update or delete.
|
||||||||||||||||||||||||||||||||||||
|
Array object[]. Table notification(s) to add, replace, update or delete.
|
||||||||||||||||||||||||||||||||||||
|
Array object[]. Tags associated with the table.
|
||||||||||||||||||||||||||||||||||||
Path Parameters |
|||||||||||||||||||||||||||||||||||||
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
Omit the Columns property entirely (set to
NULL
) to create a no-schema table.Table names must satisfy the regular expression “^[p{L}d_][p{L}ds_]{0,79}$”
Column names must satisfy the regular expression “^[p{L}d_][p{L}ds_]{0,79}$”
See Enumerations for Column Types
Text columns are limited to 4000 characters.
Options#
HiddenTable#
Boolean. Sets if a table is hidden and won’t be listed by GetTableInfo.
Parameter |
Description |
---|---|
|
Default. Table is NOT hidden and will be listed by GetTableInfo. |
|
Table IS hidden and will not be listed by GetTableInfo. |
Response#
{
"TransmissionResults": "",
"TransmissionReference": "TEST"
}
/V5/API/Table/DeleteTable/{{tableName}}#
Delete an existing table.
Try It Now#
curl --request DELETE \
--url https://vault.melissadata.net/V5/API/Table/DeleteTable/HomesData \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Response#
{
"TransmissionResults": "",
"TransmissionReference": "TEST"
}
/V5/API/Table/GetTableInfo/{{tableName}}#
Retrieve information about an existing table(s).
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Table/GetTableInfo/HomesData \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
|
|
String. T-SQL representation of |
|
Integer (32bit). Page number of records to return ( |
|
Integer (32bit). Number of records to output per paged request. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. A comma-separated ( |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
If PGSIZE and/or PGNO are not specified, the default page size is 1000
and the default page number is 0
.
Options#
HiddenTable#
Boolean. Sets if a table is hidden and won’t be listed by GetTableInfo.
Parameter |
Description |
---|---|
|
Default. Table is NOT hidden and will be listed by GetTableInfo. |
|
Table IS hidden and will not be listed by GetTableInfo. |
RegularExpression#
Boolean. Sets if TABLE is matched as a regular expression.
Parameter |
Description |
---|---|
|
Default. TABLE is NOT matched as a regular expression. |
|
TABLE IS matched as a regular expression. |
Response#
{
"TransmissionResults": "",
"Tables": [
{
"TableName": "HomesData",
"NoSchema": false,
"Locked": false,
"Hidden": false,
"Count": 12356,
"Created": "0001-01-01T00:00:00",
"Updated": "0001-01-01T00:00:00",
"Columns": [
{
"ColumnName": "FirstName",
"ColumnType": "FirstName",
"Size": 20,
"PrimaryKey": false
},
{
"ColumnName": "LastName",
"ColumnType": "LastName",
"Size": 20,
"PrimaryKey": false
},
{
"ColumnName": "Address",
"ColumnType": "Address",
"Size": 40,
"PrimaryKey": false
},
{
"ColumnName": "City",
"ColumnType": "City",
"Size": 30,
"PrimaryKey": false
},
{
"ColumnName": "State",
"ColumnType": "State",
"Size": 2,
"PrimaryKey": false
},
{
"ColumnName": "PostalCode",
"ColumnType": "PostalCode",
"Size": 10,
"PrimaryKey": false
}
],
"Tags": [
{
"Name": "Suppression",
"Color": "#FF0000"
},
{
"Name": "Pensky Project",
"Color": "#00FF00"
}
],
"RunningProcesses": [
"af8ee22b-586d-4fb7-9aa0-73df579d1118"
]
}
],
"TotalTables": 0,
"TransmissionReference": "TEST"
}
/V5/API/Table/RenameTable/{{tableName}}#
Rename an existing table.
Try It Now#
curl --request PUT \
--url https://vault.melissadata.net/V5/API/Table/RenameTable/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. New table name. |
|
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Options#
HiddenTable#
Boolean. Sets if a table is hidden and won’t be listed by GetTableInfo.
Parameter |
Description |
---|---|
|
Default. Table is NOT hidden and will be listed by GetTableInfo. |
|
Table IS hidden and will not be listed by GetTableInfo. |
Response#
{
"TransmissionResults": "",
"TransmissionReference": "TEST"
}
/V5/API/Table/TestNotification/{{tableName}}#
Test a new or existing table notification.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Table/TestNotification/HomesData \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{
"CustomerID": "{{customerId}}",
"TableName": "HomesData",
"NotificationName": "SmartMover Notifications",
"Channel": {
"Channel": "WebHook",
"Url": "http://www.example.com",
"Method": "POST",
"Headers": [
"Content-Type=application/json"
],
"Body": "{ \"recordId\": \"%@record%\", \"Name\": \"^Name^\", \"Address\": \"^Address^\", \"City\": \"^City^\", \"State\": \"^State^\", \"PostalCode\": \"^PostalCode^\", \"resultCode\": \"^resultCode^\" }"
},
"TransmissionReference": "TEST"
}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Notification name. |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Body Parameters |
|
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
If NotificationName is populated, then the existing table notification specified is tested. If Channel is populated, then the new notification specified in Channel is tested. If both are specified, then only NotificationName is used. See Notifications for more information.
Response#
{
"TransmissionResults": "",
"StatusCode": "200",
"RequestUrl": "http://www.example.com",
"RequestMethod": "POST",
"RequestHeaders": [
"Content-Type=application/json"
],
"ResponseHeaders": [
"Content-Type=application/json"
],
"RequestBody": "{ \"recordId\": \"99999\", \"Name\": \"SAMPLE_DATA\", \"Address\": \"SAMPLE_DATA\", \"City\": \"SAMPLE_DATA\", \"State\": \"SAMPLE_DATA\", \"PostalCode\": \"SAMPLE_DATA\", \"resultCode\": \"SAMPLE_DATA\" }",
"ResponseBody": "{\"_index\":\"webhook-2022.07\",\"_type\":\"smartmover\",\"_id\":\"Kx8v2oEBWg7PFy9Paww6\",\"_version\":1,\"result\":\"created\",\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"_seq_no\":2871,\"_primary_term\":1}",
"ElapsedTime": "0.221"
}
/V5/API/Table/TruncateTable/{{tableName}}#
Delete all records from an existing table.
Try It Now#
curl --request DELETE \
--url https://vault.melissadata.net/V5/API/Table/TruncateTable/HomesData \
--header 'Authorization: {{customerId}}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
Path Parameters |
|
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Response#
{
"TransmissionResults": "",
"TransmissionReference": "TEST"
}
Transaction#
/V5/API/Transaction/TransactionRecords/{{tableName}}/{{primaryKey}}#
Retrieve a table’s record transactions.
Try It Now#
curl --request GET \
--url 'https://vault.melissadata.net/V5/API/Transaction/TransactionRecords/HomesData/8008006245,5089617240' \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
|
|
String. T-SQL representation of |
|
Integer (32bit). Page number of records to return ( |
|
Integer (32bit). Number of records to output per paged request. |
|
String. Earliest transaction date in the following format: |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. A comma-separated ( |
|
String. T-SQL representation of |
Path Parameters |
|
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
PrimaryKeys#
If multiple Primary Keys are to be selected, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but selection by @record
id desired.
WhereCondition#
The WHERE
parameter can contain a T-SQL compatible WHERE
expression that will filter selected records.
Columns used in WHERE
do not need to appear in COLS
.
If used simultaneously with the KEYS
parameter, the JoinCondition
option can be used to specify whether both (And) or either (Or) properties must be satisfied in order for a record to be returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CountAllRecords#
Boolean. Sets if TotalSelectRecords
will contain a count of all records that satisfy the specified query, otherwise it is set to 0
.
Parameter |
Description |
---|---|
|
Default. |
|
|
IncludeNulls#
Boolean. Sets if the response includes columns that are set to null.
Parameter |
Description |
---|---|
|
Default. Includes columns set to null. |
|
Does not include columns set to null. |
JoinCondition#
String. If both KEYS
and WHERE
are specified, this sets whether either condition needs to be satisfied (or
) or both (and
).
Parameter |
Description |
---|---|
|
Default. Both conditions need to be satisfied. |
|
Either condition needs to be satisfied. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be selected.
Parameter |
Description |
---|---|
|
Default. Matching records will not be selected. |
|
Matching records will be selected. |
TransactionOrder#
String. Sorts the record transaction orders.
Parameter |
Description |
---|---|
|
Default. Transactions are ordered from earliest to latest. |
|
Transactions are ordered from latest to earliest. |
|
Transactions are ordered with the latest first, followed by the remainders ordered earliest to latest. |
Response#
{
"TransmissionResults": "",
"Records": [
[
{
"@record": 1,
"FirstName": "John",
"LastName": "Smith",
"Address": "10 Smith St",
"City": "Springfield",
"State": "CA",
"PostalCode": "99876-1024",
"@transactionDate": "2022-10-21T00:00:00",
"@transactionType": "SmartMover",
"@transactionSubUser": 1,
"@transactionColumns": "Address,City,PostalCode"
},
{
"@record": 1,
"FirstName": "John",
"LastName": "Smith",
"Address": "123 Main St Apt 1",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345",
"@transactionDate": "2021-03-15T00:00:00",
"@transactionType": "Insert",
"@transactionSubUser": 1,
"@transactionColumns": "FirstName,LastName,Address,City,State,PostalCode"
}
],
[
{
"@record": 2,
"FirstName": "Jane",
"LastName": "Smith-Doe",
"Address": "10 Smith St",
"City": "Springfield",
"State": "CA",
"PostalCode": "99876-1024",
"@transactionDate": "2022-10-21T00:00:00",
"@transactionType": "SmartMover",
"@transactionSubUser": 1,
"@transactionColumns": "LastName,Address,City,PostalCode"
},
{
"@record": 2,
"FirstName": "Jane",
"LastName": "Doe",
"Address": "123 Main St Apt 1",
"City": "Anytown",
"State": "CA",
"PostalCode": "12345",
"@transactionDate": "2018-03-18T00:00:00",
"@transactionType": "SmartMover",
"@transactionSubUser": 1,
"@transactionColumns": "Address,City,State,PostalCode"
},
{
"@record": 2,
"FirstName": "Jane",
"LastName": "Doe",
"Address": "15 University Ave",
"City": "Dartmouth",
"State": "NH",
"PostalCode": "10028",
"@transactionDate": "2015-02-22T00:00:00",
"@transactionType": "Insert",
"@transactionSubUser": 1,
"@transactionColumns": "FirstName,LastName,Address,City,State,PostalCode"
}
]
],
"TotalTransactionRecords": 0,
"TransmissionReference": "TEST"
}
Transaction (FTP)#
/V5/API/Transaction/TransactionRecordsFTP/{{tableName}}/{{primaryKey}}#
Retrieve a table’s record transactions for download.
Try It Now#
curl --request GET \
--url https://vault.melissadata.net/V5/API/Transaction/TransactionRecordsFTP/HomesData/8008006245 \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. T-SQL representation of |
|
String. Earliest transaction date in the following format: |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. A comma-separated ( |
|
String. T-SQL representation of |
Path Parameters |
|
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
PrimaryKeys#
If multiple Primary Keys are to be selected, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but selection by @record
id desired.
WhereCondition#
The WHERE
parameter can contain a T-SQL compatible WHERE
expression that will filter selected records.
Columns used in WHERE
do not need to appear in COLS
.
If used simultaneously with the KEYS
parameter, the JoinCondition
option can be used to specify whether both (And) or either (Or) properties must be satisfied in order for a record to be returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CompressFile#
Boolean. Sets if the download file will be compressed using zip compression.
Parameter |
Description |
---|---|
|
Default. The download file will not be compressed. |
|
The download file will be compressed. |
Delimiter#
String. Sets the delimiter used in the delimited file format.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
JoinCondition#
String. If both KEYS
and WHERE
are specified, this sets whether either condition needs to be satisfied (or
) or both (and
).
Parameter |
Description |
---|---|
|
Default. Both conditions need to be satisfied. |
|
Either condition needs to be satisfied. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be selected.
Parameter |
Description |
---|---|
|
Default. Matching records will not be selected. |
|
Matching records will be selected. |
OverwriteOutputFile#
Boolean. Sets if the output file will be overwritten if it already exists.
Parameter |
Description |
---|---|
|
Default. The output file will NOT be overwritten. |
|
The output file WILL be overwritten. |
TransactionOrder#
String. Sorts the record transaction orders.
Parameter |
Description |
---|---|
|
Default. Transactions are ordered from earliest to latest. |
|
Transactions are ordered from latest to earliest. |
|
Transactions are ordered with the latest first, followed by the remainders ordered earliest to latest. |
TransactionStyle#
String. Sets the transaction layout.
Parameter |
Description |
---|---|
|
Default. Transactions are output as a simple list. |
|
Transactions are output in a tiered manner.
Delimited files add a column with a |
|
A single record is output for each changed record, containing its current value. |
Response#
{
"TransmissionResults": "",
"FileName": "50140c99-c874-427b-80db-492f360fe663",
"Url": "ftp://vault.melissadata.net/50140c99-c874-427b-80db-492f360fe663",
"Checksum": "26D6725C49831643E8EC87B1644D167205EC4F9F0FEAC57BE058A1EF5FBC9E46",
"TransmissionReference": "TEST"
}
Transaction (FTP Async)#
/V5/API/Transaction/TransactionRecordsFTPAsync/{{tableName}}/{{primaryKey}}#
Retrieve a table’s record transactions for download asynchronously.
Try It Now#
curl --request GET \
--url 'https://vault.melissadata.net/V5/API/Transaction/TransactionRecordsFTPAsync/HomesData/8008006245,5089617240' \
--header 'Authorization: {{customerId}}' \
--header 'Content-Type: application/json' \
--data '{}'
Request Parameters#
Code |
Description |
---|---|
Record Level Parameters |
|
|
String. Comma-separated list of columns to output (see SelectionColumns) |
|
String. The name for the output file. |
|
String. The format of output file ( |
|
|
|
String. T-SQL representation of |
|
String. Earliest transaction date in the following format: |
|
Optional. String. This is a string value that serves as a unique identifier for this set of records. It is returned as sent. |
|
String. A comma-separated ( |
|
String. T-SQL representation of |
Path Parameters |
|
|
String. A comma-separated list of PrimaryKeys of record(s) to retrieve. |
|
String. Table name. [blank] will list all tables. A regular expression may be used to query multiple tables. |
Notes#
PrimaryKeys#
If multiple Primary Keys are to be selected, list them in the body’s PrimaryKeyValues
property.
If the table does not have a primary key, the records’ @record
value should be used.
The KeysAre@Records
option can be used to use @record
when the table does contain a primary key but selection by @record
id desired.
WhereCondition#
The WHERE
parameter can contain a T-SQL compatible WHERE
expression that will filter selected records.
Columns used in WHERE
do not need to appear in COLS
.
If used simultaneously with the KEYS
parameter, the JoinCondition
option can be used to specify whether both (And) or either (Or) properties must be satisfied in order for a record to be returned.
Options#
List options in the following format, with multiple options delimited with a ,
.
OptionName:Parameter,OptionName:Parameter
CompressFile#
Boolean. Sets if the download file will be compressed using zip compression.
Parameter |
Description |
---|---|
|
Default. The download file will not be compressed. |
|
The download file will be compressed. |
Delimiter#
String. Sets the delimiter used in the delimited file format.
Parameter |
Description |
---|---|
|
Delimiter is a colon: |
|
Default. Delimiter is a comma: |
|
Delimiter is a pipe: |
|
Delimiter is a semicolon: |
|
Delimiter is a tab. |
Encoding#
String. Sets the output file’s encoding for the delimited file format.
Parameter |
Description |
---|---|
|
File encoding set to ASCII. |
|
Default. File encoding set to UTF-8. |
|
File encoding set to windows-1252. |
FirstRowSchema#
Boolean. For Delimited and Excel file formats, sets if the first record will contain the table’s schema.
Parameter |
Description |
---|---|
|
Default. The first record will not contain the table schema. |
|
The first record will contain the table schema. |
JoinCondition#
String. If both KEYS
and WHERE
are specified, this sets whether either condition needs to be satisfied (or
) or both (and
).
Parameter |
Description |
---|---|
|
Default. Both conditions need to be satisfied. |
|
Either condition needs to be satisfied. |
KeysAre@Records#
Boolean. Sets if records having the same @record as the specified PrimaryKey(s) will be selected.
Parameter |
Description |
---|---|
|
Default. Matching records will not be selected. |
|
Matching records will be selected. |
OverwriteOutputFile#
Boolean. Sets if the output file will be overwritten if it already exists.
Parameter |
Description |
---|---|
|
Default. The output file will NOT be overwritten. |
|
The output file WILL be overwritten. |
TransactionOrder#
String. Sorts the record transaction orders.
Parameter |
Description |
---|---|
|
Default. Transactions are ordered from earliest to latest. |
|
Transactions are ordered from latest to earliest. |
|
Transactions are ordered with the latest first, followed by the remainders ordered earliest to latest. |
TransactionStyle#
String. Sets the transaction layout.
Parameter |
Description |
---|---|
|
Default. Transactions are output as a simple list. |
|
Transactions are output in a tiered manner.
Delimited files add a column with a |
|
A single record is output for each changed record, containing its current value. |
Response#
{
"TransmissionResults": "",
"ProcessID": "8716632a-a32a-4c09-a3f6-589b8af6eeae",
"TransmissionReference": "TEST"
}