Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Table of Contents

 

Import data

 

Import data
Info
title
Info

Remember that to use the API you need

  1. Authenticate and get a token for the session

  2. Use the token in the Header Authorization

  3. End session

See more here…

Import data

Midnight
Expand
Code Block
URL Relativa: IntegraGamification/resources/GM_Integration/BatchMeasures
 

Method: POST
content-type:application/x-www-form-urlencoded
 

Parameter : filename (File name)

			fileb64 (Content of the file in base64)
 

Result : 1 (Asynchronous)
 

Format file

Code Block

theme

titleFormat file

Agent1;Test;10
agentUser;performanceMeasureName;amount

...

...

Upload actions

...

Expandinfo
Code Block
titleUpload actions
Relative URL : IntegraGamification/resources/GM_Integration/LoadActions

Method: POST
content-type:application/x-www-form-urlencoded
 

Parameters : performanceMeasureName (Name of the measure performance)

			 agentName (Name of the agent)

			 actionAmount (Allow to upload actions in the same hour)
 

Result : 
Succes
Success message.
Warning

In

error

case

send

a

message

error.

Asynchronous.