Sync CSV Organisations


Use this request to post a CSV file or CSV string to Xelion.
This file is placed on the server for the automated CSV import mechanism.
The location of this file is configured in the automated CSV import configuration.

You can choose to import a binary string that is converted to a "Organisations.csv" file
or you can chooste to import a comma seperated string that is converted to a "Organisations.csv" file.

Read the administrator manual for more information about the automated CSV import.

Resource

POST /sync/csv/organisations

Parameters

None

Payload

Attachment or CSV string

Response

None

Context

Authorization

Administrator

Errors

Example

Request
POST http://sip.xelion.nl/api/v1/master/sync/csv/organisations
Payload

CSV file as binary string

{
      "originalLocation": "organisations.csv",
      "commonName": "organisations.csv",
      "mimeType": "text/csv",
      "contentsB64String":  "SUQsVm9vcmxldHRlcnMsVm9vcm5hYW0sVHVzc2Vudm9lZ3NlbCxBY2h0ZXJuYWFtLEdlc2xhY2h0LE9yZ2FuaXNhdGllLEZ1bmN0aWUsQW"
}

CSV as text

id,Organisatie,Werkterrein,KvK,Btw,Email1,Email2,Nr1,Nr2,Mobiel1,Mobiel2,Fax1,Fax2,URL1,URL2,Postaddr-Straat,PA-Straatnr,PA-Postcode,PA-Plaats,PA-Land,PA-Staat,Bezoekaddr-Straat,BA-Straatnr,ba-Postcode,BA-Plaats,BA-Land,BA-Staat
12345,Xelion,Communicatie,123456789,...