Home > For Developers > Stream Data APIs > Import Stream Data

Import Stream Data

Import a CSV file that contains data for multiple stream records.

Each line of the file becomes a new submission that launches the processes associated with the stream.

 

Prerequisites

Details

Method: POST

URLhttps://us.pulpstream.com/vfr/api/imports/{streamID}

Headers:

tenantId: {tenantId}

apiKey: {apiKey}

apiUserName: Optional. Specify internal username from the User definition to submit the data on behalf of that user.

Content-Type: application/json

PayLoad:

{"file":"67234123123235234_CSVfileReference.csv",    // The reference obtained from the File Upload API

 "fieldMapList":[{"column":"0","objectField":"dataComponent.field1"},
                 {"column":"1","objectField":"dataComponent.field2"},
                 ...
                ]
}

 

Notes: