0% found this document useful (0 votes)
132 views

Bitrix 24

The document contains examples of cURL commands being used to make API calls to a CRM system. It also includes URLs for authentication, streaming applications, firewall configuration, and a REST call example.

Uploaded by

prepro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views

Bitrix 24

The document contains examples of cURL commands being used to make API calls to a CRM system. It also includes URLs for authentication, streaming applications, firewall configuration, and a REST call example.

Uploaded by

prepro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

curl "https://crm.bbt.com.vn/bitrix/components/bitrix/crm.contact.edit/ajax.php?

sessid=0fd2a3ba9426f61638458e48ad5914a4" -H "User-Agent: Mozilla/5.0 (Windows NT


10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0" -H "Accept: */*" -H
"Accept-Language: vi-VN,vi;q=0.8,en-US;q=0.5,en;q=0.3" --compressed -H "Bx-ajax:
true" -H "Content-Type: application/x-www-form-urlencoded" -H "Connection: keep-
alive" -H "Referer: https://crm.bbt.com.vn/crm/contact/details/0/?
IFRAME=Y&IFRAME_TYPE=SIDE_SLIDER" -H "Cookie:
PHPSESSID=ZjkNsGPuSak6VFildmMXGoCiw7OwviJr; BITRIX_SM_TIME_ZONE=-420;
BITRIX_SM_UIDH=4d61e12ee018a3d9ac2c33b35bf44f4e; BITRIX_SM_UIDL=testtongdai;
BITRIX_SM_SALE_UID=0; BITRIX_SM_LOGIN=testtongdai; BITRIX_SM_SOUND_LOGIN_PLAYED=Y"
-H "TE: Trailers" --data "ACTION=FIND_DUPLICATES&PARAMS[GROUPS][0]
[LAST_NAME]=V"%"C3"%"B5&PARAMS[GROUPS][0][NAME]=L"%"E1"%"BB"%"99c&PARAMS[GROUPS][0]
[GROUP_ID]=fullName&PARAMS[GROUPS][0][FIELD_ID]=LAST_NAME&PARAMS[GROUPS][0]
[HASH_CODE]=-689043663&PARAMS[ENTITY_TYPE_NAME]=CONTACT&PARAMS[ENTITY_ID]=0"

curl "https://crm.bbt.com.vn/auth/?
login=yes&backurl="%"2Fcrm"%"2Fcontact"%"2Fdetails"%"2F17569"%"2F" -H "User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0" -H
"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -H
"Accept-Language: vi-VN,vi;q=0.8,en-US;q=0.5,en;q=0.3" --compressed -H "Content-
Type: application/x-www-form-urlencoded" -H "Connection: keep-alive" -H "Referer:
https://crm.bbt.com.vn/auth/?
backurl="%"2Fcrm"%"2Fcontact"%"2Fdetails"%"2F17569"%"2F" -H "Cookie:
PHPSESSID=LGIL3eqyRPfQuhE01dpchZnr5HLIfhqh; BITRIX_SM_TIME_ZONE=-420;
BITRIX_SM_SALE_UID=0; BITRIX_SM_LOGIN=testtongdai; BITRIX_SM_SOUND_LOGIN_PLAYED=Y"
-H "Upgrade-Insecure-Requests: 1" -H "TE: Trailers" --data
"AUTH_FORM=Y&TYPE=AUTH&backurl="%"2Fauth"%"2F"%"3Fbackurl"%"3D"%"252Fcrm"%"252Fcont
act"%"252Fdetails"%"252F17569"%"252F&USER_LOGIN=testtongdai1&USER_PASSWORD=Letvn123
21"%"40"

https://www.youtube.com/watch?v=3CFoCnuGBx8
https://www.bitrix24.com/self-hosted/download.php
https://training.bitrix24.com/support/training/course/?
COURSE_ID=58&LESSON_ID=5907&LESSON_PATH=5455.5906.5907
https://training.bitrix24.com/support/training/course/?COURSE_ID=58&INDEX=Y
http://www.pcbest.net/users/lic_login.php

https://b24-9o9ep9.bitrix24.com/stream/?current_fieldset=SOCSERV

---------------------------
Application
Add application
application name : testlocalapp1
available as script only : check
access permistions : crm
Specify URL* : http://localhost/test/test.php
http://localhost/bitrix24/bitrix24.php
save
===> application ID
===> application key
os.system("firewall-cmd --permanent --add-rich-rule=\"rule family='ipv4' source
address='66.117.9.138/8' reject\" ")
os.system("firewall-cmd --permanent --add-rich-rule=\"rule family='ipv4' source
address='62.210.248.16/8' reject\" ")
os.system("firewall-cmd --permanent --add-rich-rule=\"rule family='ipv4' source
address='51.89.153.213/8' reject\" ")
os.system("firewall-cmd --permanent --add-rich-rule=\"rule family='ipv4' source
address='46.166.151.47/8' reject\" ")

https://www.youtube.com/watch?v=3CFoCnuGBx8

route add -p 10.163.201.5 mask 255.255.0.0 10.164.0.137 metric 1


route add -p 10.163.201.5 mask 255.255.0.0 10.164.0.137 metric 1

bzcjcdh984nsawsp
REST call example URL: https://crm.bbt.com.vn/rest/26/bzcjcdh984nsawsp/profile/

You might also like