Skip to content
  • There are no suggestions because the search field is empty.

SendCSV (Push Method)

SendCSV

Sends a CSV file containing a list of claim records into Invision.
This method is typically used when bulk‑loading claims so invoices can be created from those claim numbers.

The CSV file must be base64‑encoded before being sent.

Request
Parameter Type Description
Company String Required. Company identifier from GetCompanies.
Data String Required. Base64‑encoded CSV file contents.

In some implementations the request object field may be named CSVFile depending on the client wrapper, but the underlying API field is Data.

Response
Parameter Type Description
ID String Identifier in BAP.
Errors Array Contains error message(s) should an error occur.
Example (C#)

 

// Load and base64-encode the CSV
byte[] CSVbytes = File.ReadAllBytes(@"C:\BulkClaimEntryFile.csv");
string file = Convert.ToBase64String(CSVbytes);

// Build the request
ParametersForSendCSV objCSVParams = new ParametersForSendCSV
{
    Company = "ABC",
    CSVFile = file
};

// Execute SendCSV
dynamic CSVResponse = apiClient.SendCSV(objCSVParams);