Skip to content

Instantly share code, notes, and snippets.

@kirillkrylov
Last active January 30, 2023 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirillkrylov/500a0514359a36a650b9d14dbc89464a to your computer and use it in GitHub Desktop.
Save kirillkrylov/500a0514359a36a650b9d14dbc89464a to your computer and use it in GitHub Desktop.
Creatio DataService Example

How to use DataService in Creatio

To start off fork/download collection

Run in Postman

This collection provides Auth Example request collection and Auth Example environment.

Configure environment variables

  • Configure Base_URL - this is the url of your creatio instance,

    For example Base_URL: https://129117-crm-bundle.creatio.com

  • ClientId and ClientSecret are used with OAuth Authentication, if you'd rather use cookies authentication then fill out UserName and UserPassword.

    To get ClientId and ClientSecret for cloud instance follow the Academy article starting from step 3, to configure OAuth for onsite installation follow the article from step 1.

  • The following are auto-calculated variables (do not change them unless you are using onsite environment)

    • Base_URL_IS and Base_WSS_URL - assigned in Pre-req step for Authentication request.
    • BPMCSRF - assigned when "Authentication (Cookies)" succeeds, see Tests tab for details.
    • access_token - assigned when any of OAuth request succeeds.

How to Authenticate

  • Expand Authentication folder and execute one of the Authentication requests

    • OAuth (form-data)
    • Authentication (Cookies)
    • OAuth (Basic)

    OAuth (form-data) and OAuth (Basic) will store access_token and the environment variable on success. This token will be used in the following requests. Authentication (Cookies) will obtain necessary cookies and store them, it will also assign BPMCSRF cookie value to the environment variable for later use.

For further details and see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment