Introduction
Bitrix24 is a complete business model that widely supports CRM and Business management. Many companies uses their CRM because they fulfills their needs. We can make leads and can further work on it. They have all the options that are common and that are uncommon. Almost every thing that we wan’t to implement are almost here. CRM that is very common now a days and every company needs to have, Now they don’t need to develope their own CRM because bitrix24 is giving them a complete model of CRM and many other models. Currently they are having the following business parts.
- CRM
- Drive
- Social Network
- Telephony
- Data storage
- Notifications
- Tasks
You can work with all these in bitrix24, Or you can also use their rest api’s to use all these parts. So that was all about bitrix24 intro. Now let’s move on.
Integrate Bitrix24 with us in $10
Use Bitrix24 Rest Api
Bitrix24 widely supports developers api’s so that third party can use bitrix24 if they wan’t or don’t wan’t to use bitrix24 panel. To use their rest api’s first you need to create an application and then you will be able to use thier api’s easily without any headache. I’ve already written about how to make an application with bitrix24 so you can follow the steps from here Create Application In Bitrix24
You can get the AppId and AppSecret.Just login in to Bitrix24 and then click on Application->My Applications, There you will see Application Id(client_id) as well as Application Secret(client_secret). After creating the application in the bitrix24 panel. You will get the application id and application secret. These two things we will need to have while using bitrix24 api’s.
I’ve only show you only the CRM api’s , Don’t worry all others are same so if you can use CRM api’s then there will be no hurdleness for using others.
CRM
In the CRM portion. we are having following api’s that bitrix24 offers to use.
- Deals
- Activities
- Currencies
- Companies
- Contacts
- Leads
- Catalog
- Products
- Product Sections
- SKUs
- Invoices
- Additional entities
Deals
In the Deal section they offer the following methods to use.
- crm.deal.add
- crm.deal.delete
- crm.deal.fields
- crm.deal.get
- crm.deal.list
- crm.deal.productrows.get
- crm.deal.productrows.set
- crm.deal.update
crm.deal.add
This methods allow us to add a deal. The deal you will add will also be visible in the bitrix24 CRM/DEALS if api’s successfully adds it.
Api Url : https://{intranet_name}.bitrix24.com/rest/crm.deal.add?auth=authentication_code&fields[TITLE]=TEST DEAL
infranet is the domain name that you will get when you will create an application. If you domain name that you have got from bitri24 is laptop000 then your link will be
https://laptop000.bitrix24.com/rest/crm.deal.add?auth=authentication_code&fields[TITLE]=TEST DEAL
Above url will create a deal with the name ‘TEST DEAL’ and will return the status in the json format that you deal was successfully added or it has some problems while adding. Both responses will come in the form of json.
crm.deal.delete
This methods allow us to delete a deal. The deal you will delete will also be deleted in the bitrix24 CRM/DEALS if api’s successfully deletes it.
Api Url : https://{intranet_name}.bitrix24.com/rest/crm.deal.delete?auth=authentication_code&id=2343
I’ve passed an id parameter with the url. That is the deal id that you wan’t to delete.
Above url will delete a deal and will return the status in the json format that you deal was successfully deleted or it has some problems while deleting. Both responses will come in the form of json.
crm.deal.fields
This methods allow us to get all the fields list that are avaialable in a deal. Like we have added a deal with the title name. So TITLE is the field of the deal.
Api Url : https://{intranet_name}.bitrix24.com/rest/crm.deal.fields?auth=authentication_code
Above url will get all the fields and will return in the json format that your deal consist of these fields.
crm.deal.get
This methods allow us to get the particular deal information. It will show you all the information about a deal with the id that you have passed in the parameter.
Api Url : https://{intranet_name}.bitrix24.com/rest/crm.deal.get?auth=authentication_code&id=2322
Above url will get all the information and will return in the json format.
crm.deal.list
This methods allow us to get the list of all deals that we have.
Api Url : https://{intranet_name}.bitrix24.com/rest/crm.deal.list?auth=authentication_code
Above url will get all the information and will return in the json format. Json will contain all the deals information.
crm.deal.list
This methods allow us to get the list of all deals that we have.
Api Url : https://{intranet_name}.bitrix24.com/rest/crm.deal.list?auth=authentication_code
Above url will get all the information and will return in the json format. Json will contain all the deals information.
crm.deal.productrows.get
This methods allow us to get the list of all products that we have in a deal.
Api Url : https://{intranet_name}.bitrix24.com/rest/crm.deal.productrows.get?auth=authentication_code&id=2343
id parameter is the deal id that we wan’t to get the products from that deal.
Url will get all the information about all the products of a specific deal and will return in the json format. Json will contain all the products information that comes under the specified deal.
crm.deal.productrows.set
This methods allow us to get the list of all products that we have in a deal.
Api Url : https://{intranet_name}.bitrix24.com/rest/crm.deal.productrows.set?auth=authentication_code&id=2343
id parameter is the deal id that we wan’t to get the products from that deal.
Url will get all the information about all the products of a specific deal and will return in the json format. Json will contain all the products information that comes under the specified deal.
crm.deal.update
This method allows us to update a deal. We can update the deal’s name, Stage or any thing that you wan’t but some fields are not editable.
Api Url : https://{intranet_name}.bitrix24.com/rest/crm.deal.update?auth=authentication_code&id=2343
id parameter is the deal id that we wan’t to update.
Url will go to the bitrix24 and then it will update your deal and return you the result.