Skip to main content

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(
        'Contact',
        data= data,
    )
    created_id = created_contact['Id']
    status_code = cr.delete_object('Contact', created_id).status_code

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.2.tar.gz (3.7 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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sl_creatio_connector-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.0 CPython/3.11.0 Darwin/22.1.0

File hashes

Hashes for sl_creatio_connector-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2561d6c8a9558ee0aec0d484f8d44e6e2b12c22ea35c5bb237b2c2f75b650860
MD5 c7dea2326b41ee360da19bf6f8689a11
BLAKE2b-256 c851c339542011625a20a16efc34145f2bb1cd3a48f7cc6b4f31e7b8f680f2d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sl_creatio_connector-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 116282122facaf99957ac06786650d3836300fdc2edad182219a3e53dfb5d654
MD5 598c4b1a59b5ae3015b590c5f7d23177
BLAKE2b-256 6521a813345bb7aa0c647ecf0ff0820c0ac83db2ff0fdc0fa71dc04a2c8e23da

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