3C Plus (FluxoTI) Data Extraction MVP
3C Plus is a FluxoTI tool, a platform offering various IT services, including call handling. This project aims to facilitate data extraction through its API, specifically through the get_calls_from_fluxo_ti function.
Contents
About the Project
This MVP was developed specifically to facilitate data extraction from FluxoTI. It uses get_calls_from_fluxo_ti as a preliminary step toward future integrations. Using a specific parameter set, users can extract data related to calls and other platform entities.
Prerequisites
- Python 3.x
- Required Libraries:
requests,json,logging,os
Configuration
Environment Variables
- FLUXOTI_USERNAME: Used for authentication. Retrieval example:
username = os.environ['FLUXOTI_USERNAME'] - FLUXOTI_PASSWORD: Password associated with the username for authentication. Retrieval example:
password = os.environ['FLUXOTI_PASSWORD']
Extraction Parameters
- company_id: Unique company identifier. (Type: number)
- start_date: Start date of the period of interest. (Type: string, Example: "2021-01-01 00:00:00")
- with_mailing: Whether the result should include mailing. (Type: string, Enum: ["true","false"])
- output_variable_name: Name of the variable in which to store the result. (Type: string, Example: "3cfluxoti")
- end_date (Optional): End date of the period of interest. (Type: string, Default: null)
Required Properties
company_idstart_datewith_mailingoutput_variable_name