Start a new topic
Answered

Import option | Companies

Is there anyway to import a CSV file in the companies section as we can do in the Contacts section? I have a lot of companies to migrate from our current solution to fresh for successfully migrate all the info.


Contacts import option:

image


Companies:

image


?????


Best Answer

Hi Eduardo,


You can make use of the API to update/create Companies.


Sample curl command,

curl -u xxxxxxxxxxxxxxxxxxx:X -H "Content-Type: application/json" -X POST -d '{ "itil_department":{ "name":"SuperNova", "description":"Spaceship Manufacturing Company", "domain_names":"supernova.co,supernova.acme.co"}}' https://domain.freshservice.com/itil/departments.json


Hope this helps you out!!

Hi,

We have imported companies using API.  (more as 400)
It works. Also with custom fields.

P.
Answer

Hi Eduardo,


You can make use of the API to update/create Companies.


Sample curl command,

curl -u xxxxxxxxxxxxxxxxxxx:X -H "Content-Type: application/json" -X POST -d '{ "itil_department":{ "name":"SuperNova", "description":"Spaceship Manufacturing Company", "domain_names":"supernova.co,supernova.acme.co"}}' https://domain.freshservice.com/itil/departments.json


Hope this helps you out!!

Login or Signup to post a comment
JS Bin