CData Python Connector for SendGrid

Build 24.0.9060

ImportMarketingContacts

Import contacts to sendgrid account from CSV file.

Stored Procedure Specific Information

The ImportMarketingContacts Stored Procedure requires Field Mapping Ids and path of the File which contains contacts data.

We can Use custom_field ids or reserved_field ids for Field Mapping and We can get these ids using "Get All Field Definitions" endpoint.

NOTE:

1. Email field mapping is mandatory to import contacts from file.

2. As of now only csv file format is supported for this operation.

Example:

EXEC ImportMarketingContacts FileType= 'csv' , FieldMappings= '_rf2_T,_rf9_T' , FilePath = 'C:\Dev\Tests\v20\ProviderSendgrid\example.csv'

Input

Name Type Required Description
FileType String False The type of the file

The allowed values are csv.

FieldMappings String True Comma separated list of field_definition IDs
ListIds String False Comma separated list of List id's
FilePath String False The absolute path of the File to import contacts

Result Set Columns

Name Type Description
JobId String The Id of the Import Contacts Job

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060