Import / Export Via API

More
12 Apr 2016 15:57 - 12 Apr 2016 18:45 #2353 by Daniel
Replied by Daniel on topic Import / Export Via API
Here It is:

Let's take an example, You want to import Data in a Review component with JSON format with the help of JSON API Call. To achieve this you need to go through the following two steps only:

1. Create a Profile to insert data in review Database table.
2. Create a JSON import Feed to let API call the URL and insert data in desired fields.
3. You would get the feed URL in Cron/Feed section, You'll to append all the field values to this URL while making the API Call as the following:

www.yourwebsiteurl/index.php?option=com_...ype=add-review&items [page_title]=???&items[rating]=???&items[user]=???&items[name]=???


Attachment profile-creation.png not found




Attachment Feed-creation.png not found




Attachment field-mapping.png not found


Thanks
Daniel
Last edit: 12 Apr 2016 18:45 by Daniel.

Please Log in to join the conversation.

  • James Moeller
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 Apr 2016 15:40 #2352 by James Moeller
Replied by James Moeller on topic Import / Export Via API
Where can I find the documentation for that API?

Please Log in to join the conversation.

More
12 Apr 2016 07:17 #2351 by Daniel
Replied by Daniel on topic Import / Export Via API
Hello,
You need to create an Import Feed for the purpose. But please note You can insert only one record at one time using API call. We are continuously working to improve the functionality. We are soon going to incorporate more flexibility to it.

Thanks
Daniel

Please Log in to join the conversation.

  • James Moeller
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 Apr 2016 19:39 #2349 by James Moeller
Import / Export Via API was created by James Moeller
Once I've created an Import/Export Profile, is there a way to execute that profile via a remote API call?

I have a remote procedure that generates data that I'd like to import into Joomla. So I'd like this remote procedure to be able to start the import/export profile execution when the data is ready to be imported.

Please Log in to join the conversation.

Cron Job Starts