Skip to main content

Veritran Docs

SetParameters

This function sets the parameters to initialize the Medallia SDK.

Parameter Configuration

This function requires you to complete the input register value with a list of parameters in JSON format, as per the following example.

{
  "secrect_token_ios": "123456",
  "form_id_ios": "123456",
  "secrect_token_android": "123456",
  "form_id_android": "123456",
  "muting_intercept": "n",
  "demographic_data": {
    "NombreRepresentante": "[Representative Name]",
    "CorreoElectronico": "[Email Address]",
    "NumeroCliente": "[Client Number]",
    "Genero": "[Gender]",
    "SegmentoCliente": "[Client Segment]",
    "TipoAplicacion": "[Application Type]",
    "MarcaCelular": "[Phone Brand]",
    "ModeloCelular": "[Phone Model]",
    "NumeroTelefonoUno": "[Phone Number]",
    "Edad": "[Age]"
  }
}

Refer to the table below to learn more about each attribute in the JSON.

Attribute

Description

Mandatory

Value

secrect_token_ios

secrect_token_android

Key assigned per application/platform

X

STRING

form_id_ios

form_id_android

Form selected to be loaded and shown.

X

STRING

muting_intercept

Mutes feedback intercepts. Customers may consider using this functionality for critical flows such as payments. Intercepts are enabled by default.

-

Y/N

demographic_data

Includes demographic data as custom parameters when submitting the survey.

-

STRING

Function ID

Register

Value

110

1

Input Registers

Register

Description

Mandatory

Value

390

Parameters

X

List of parameters in JSON format (See Parameter Configuration)

Output Registers

Register

Description

Value

112

Call Result

000

NO_ERROR

001

WRONG_PARAMETERS_ERROR

010

GENERIC_ERROR

020

ERR_CUSTOM_API_NOT_IMPLEMENTED