Skip to main content

Creatio (aka BPMonline) ODATA API helper

Project description

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

sl_creatio_connector-0.1.6.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sl_creatio_connector-0.1.6-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file sl_creatio_connector-0.1.6.tar.gz.

File metadata

  • Download URL: sl_creatio_connector-0.1.6.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0

File hashes

Hashes for sl_creatio_connector-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2bc3d5cda945f0defa0fdd7a9fc0d9983d4096b7c69a2931cbd7c591bbf3eb35
MD5 45e7d7fd2faf3abfdf159087e4ffc6ab
BLAKE2b-256 4474c2d53d2fd1f8ec20e1587d6d01db701802ee4daaf3af08269f3483f11896

See more details on using hashes here.

File details

Details for the file sl_creatio_connector-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for sl_creatio_connector-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 79602af984b0c42fd8673c3218ac967f96d63429612dd7f01a5ede0400264ad5
MD5 537778b9e1d091caef9fa2b256a0fc48
BLAKE2b-256 36a5a3e6171e3138a61856c7028022a6ec4f638a61bffb817dd80d1f731f93de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page