M
M
Marcuzy2016-01-21 15:46:20
1C-Bitrix
Marcuzy, 2016-01-21 15:46:20

How to implement Rest api for a site on Bitrix?

There is a site on 1C Bitrix. Site management, you need to add a restful api for a mobile application (it comes down to working with several types of infoblocks). How, in fact, to implement this, in which direction to look? There is little experience with this system, but such a task arose. Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ivan Nikolaevich, 2016-02-06
@Marcuzy

1. You need to write your component with routing.
2. Depending on the severity of the logic, it is better to take out all the heavy logic into classes into modules and connect it through namespace.
Before writing, go through the documentation on how to write components / modules + be sure to pay attention to the new D7 core, if you know OOP it will be much easier and more pleasant for you to write both a component and module classes.
There is not much documentation on the new core, but there are good short free video courses (registration required)
academy.1c-bitrix.ru/education/index.php?COURSE_ID...

D
Denis Artamonov, 2017-06-22
@ArtamonovDenis

marketplace.1c-bitrix.ru/solutions/artamonov.rest
marketplace.1c-bitrix.ru/solutions/artamonov.api

S
Sergey, 2016-01-21
@gangstarcj

https://marketplace.1c-bitrix.ru/solutions/linemed...

N
nvkot, 2019-12-10
@nvkot

You can integrate the Bitrix database with Django and make an API through django-restframework. I did it myself. Nothing complicated.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question