Skip to main content

API to check if a CRM Lead has all the required documents

Project description

Beta License: AGPL-3

CRM LEAD DMS API

Table of contents

Configuration

To give access to the API to a structure, go to

  • Settings > Technical (debug mode) > Auth API Key

  • Click create and select a user, save.

  • Communicate the API-KEY to those in need to use the API.

Usage

Example of curl to check crm-lead required documents with these variables to fill: - API_KEY: authorized key from the odoo server’s API-KEY (see previows paragraph) - BASE_URL: target ODOO server’s URL - ENDPOINT: ‘/api/crm-lead/documents_required’ - CRM_LEAD_TOKEN: token of the crm-lead to check

curl -sX GET -H  "api-key: $APIKEY" "$BASE_URL/$ENDPOINT/$CRM_LEAD_TOKEN"

Response: - 200: OK

{
    "crm_lead_id": <<crm-lead-id>>,
    "crm_lead_token": <<crm-lead-token>>,
    "document_category": <<document-category-code>>,
    "document_id": <<dms-file-id>>,
    "document_exit": false
}

Known issues / Roadmap

There are no issues for the moment.

Bug Tracker

Bugs are tracked on GitLab Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • SomIT SCCL

  • Som Connexio SCCL

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

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

File details

Details for the file odoo12-addon-crm_lead_dms_api-12.0.0.1.0.tar.gz.

File metadata

  • Download URL: odoo12-addon-crm_lead_dms_api-12.0.0.1.0.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.19 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for odoo12-addon-crm_lead_dms_api-12.0.0.1.0.tar.gz
Algorithm Hash digest
SHA256 5bf76247e3f3194fd363b432c0b08f58045b31ece4cba7e70c6c0ea1c15b8b05
MD5 d59d0aa2f884ce5264fccfa977131ebb
BLAKE2b-256 ffe47354344f85ff4b25ee784f98e8d533a6331f820426e12b907b6ed006b3b5

See more details on using hashes here.

File details

Details for the file odoo12_addon_crm_lead_dms_api-12.0.0.1.0-py3-none-any.whl.

File metadata

  • Download URL: odoo12_addon_crm_lead_dms_api-12.0.0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.19 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for odoo12_addon_crm_lead_dms_api-12.0.0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8dc9b808ec2b5d6c25abed891acf4bfe7a5ef886847bb5fb840536a7cb3578fd
MD5 64a86e6d16c777edecbf79ee67ff22f6
BLAKE2b-256 182008efc7d94613703110a666d82f04a646e49b2d0779d7075598765c086629

See more details on using hashes here.

Supported by

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