Gamification API

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

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

 

Agent1;Test;10 agentUser;performanceMeasureName;amount

 


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 : Success message.

In error case send a message error. Asynchronous.

Â