1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-16 09:38:28 +02:00
Files
OpenIntegrations/docs/en/md/Instructions/GreenMax.md
T

1.5 KiB
Vendored

id, sidebar_class_name, keywords
id sidebar_class_name keywords
GreenMax GreenMax
1C
1С:Enterprise
1С:Enterprise 8.3
API
Integration
Services
Exchange
OneScript
CLI
GreenAPI
Max

<img src={require('../../static/img/APIs/GreenMax.png').default} width='64px' />

Max (GreenAPI)

import LibraryIntro from '@site/src/components/LibraryIntro';

This section covers the library for working with Max via Green API in 1С:Enterprise, OneScript, and CLI. This page describes all the steps required to get started.

Getting Started

  1. Go to the Green API Personal Account and complete the registration process
  2. Navigate to the instance list and create a new instance
  3. Select the new instance and link it to your Max account via phone number
  4. Save the instance credentials. To work with the library, you need apiUrl, mediaUrl, idInstance, and apiTokenInstance

The obtained data must be passed to the FormAccessParameters function. The resulting structure will be used for authorization in all other GreenAPI functions.

    ApiUrl           = "https://3100.api.green-api.com/v3";
    MediaUrl         = "https://3100.api.green-api.com/v3";
    IdInstance       = "71051...";
    ApiTokenInstance = "425010d90e114aa6b78f0969e...";

    Result = OPI_GreenMax.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);