Creatio (aka BPMonline) ODATA API helper
Project description
Simple logic's Creatio ODATA connector
Connector to integrate Creatio ODATA API.
Creatio ODATA API postman documentation
Getting started
This connector tested for ODATA3 and ODATA4 protocols (including .net core version)
$ pip install sl_creatio_connector
from sl_creatio_connector.creatio import Creatio
from sl_creatio_connector.constants import ODATA_version
# get collection
def get_contact_leads():
cr = Creatio(
creatio_host='http://creatio.mydomen.com:5000',
login='Supervisor',
password='Supervisor',
odata_version=ODATA_version.v4core
)
parameters = [
"filter=Contact eq 'Marady Esther'"
]
collection = cr.get_object_collection(
object_name= 'Lead',
parameters= parameters,
)
assert len(collection) == 0
def create_and_delete_contact():
cr = Creatio(
creatio_host='http://creatio.mydomen.com:5000',
login='Supervisor',
password='Supervisor',
odata_version=ODATA_version.v4core
)
data = {
'Name': "Test name"
}
created_contact = cr.create_object(
object_name= 'Contact',
data= data,
)
created_id = created_contact['Id']
status_code = cr.delete_object('Contact', created_id).status_code
def get_contact_by_id():
cr = Creatio(
creatio_host='http://creatio.mydomen.com:5000',
login='Supervisor',
password='Supervisor',
odata_version=ODATA_version.v4core
)
contact_dict = cr.get_contact_by_id('b2a8c568-002f-4fd1-a15a-ffda98f5f63b')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sl_creatio_connector-0.1.3.tar.gz.
File metadata
- Download URL: sl_creatio_connector-0.1.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.0 CPython/3.11.0 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4385a660876a5679a54708a231ced860ee53e96390938a24b87a518d7dcd9a2
|
|
| MD5 |
ddccd0548b848ab2f34efb2120ad313d
|
|
| BLAKE2b-256 |
379945ca674cd481e0565194875d74c13904e18ac03eca089e5d0e28f51ecc47
|
File details
Details for the file sl_creatio_connector-0.1.3-py3-none-any.whl.
File metadata
- Download URL: sl_creatio_connector-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.0 CPython/3.11.0 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e76f50125f00204ea60eae268633d44878e00d7f9d483e874aa08458d335cc79
|
|
| MD5 |
ea87a005e986d59915465ea89c3d44fc
|
|
| BLAKE2b-256 |
a1d7828a7607bf883a6ee50cfe29a8a089f1a25125ce3dc2bee7e841641500c0
|