Versions Compared

Key

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

Table of Contents

Import data

Info
titleImport data
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

title
Expand
themeMidnight
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)
Code Block

Format file

Code Block
Agent1;Test;10
agentUser;performanceMeasureName;amount

...

Upload actions

title
Infoexpand
Code Block
Upload 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.