Game API

User Activity Log

Estimated reading: 3 minutes

POST: api/v{version}/User/metric 

Version: 1

Request Body:

				
					{
  "metricId": 0,
  "articleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "questionId": 0,
  "parameters": [
    {
      "additionalProp1": "string",
      "additionalProp2": "string",
      "additionalProp3": "string"
    }
  ],
  "firmId": "string",
  "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "eventCreatedDate": "2023-07-26T19:36:43.092Z",
  "customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "isRollback": true,
  "transactionId": "string"
}
				
			

Responses:

				
					200 SUCCESS
{
  "success": true,
  "hasQuestion": true,
  "questionId": 0
}
				
			
				
					400 BAD REQUEST
{
  "message": "string",
  "exceptionType": 1,
  "version": "string"
}
				
			

An example activity log pattern is as follows:

				
					{
    "metricId: {AKTIVITE ID},
    "parameters": [
        {
            "{PROPERTY ID}": "{GERCEKLESEN}",
            "{2.PROPERTY ID}": "{2.GERCEKLESEN}"
        }
       ]
       "firmId": "{KULLANICI ID}"
}
				
			
  • The areas mentioned in curly brackets here are:
    – Activity ID: You can change this part by using the Activity ID corresponding to the activity.
    – Property ID: It is changed with the “property” of the data that may occur depending on that activity.
    – Actual: The data information that took place in the relevant “property” of the activity to be sent is given here.
    – There is no need to give string values such as TL and PCS next to them.
    – Numeric properties can be sent as rational numbers.
    – If a numeric Property has textual data, it will give an error. Only numbers should be sent.
    – User ID: The unique ID of the user whose data will be sent must be sent in the customer system.
Share this Doc

User Activity Log

Or copy link

CONTENTS

Motivacraft Mobile App Settings

https://vimeo.com/1069966982/7d406797c1?share=copy Learn more about settings in ...

Motivacraft Mobile App Reward Market

https://vimeo.com/1069955830/e5e4a559a9?share=copy Learn more about reward marke...

Motivacraft Mobile App My Profile

https://vimeo.com/1069946863/63c2bce8b9?share=copy Learn more about your profile...

Motivacraft Mobile App Your Story

https://vimeo.com/1069877756/3f9c985da3?share=copy Learn more about your story i...

Motivacraft Mobile App Manual Data Entry

https://vimeo.com/1069929212/4ec1056165?share=copy How to enter data manually us...

Motivacraft Mobile App Trainings

https://vimeo.com/1069888868/0bb082552f?share=copy Learn more about Motivacraft ...

How can i see missions and competitions in mobile app?

https://vimeo.com/1069877756/3f9c985da3?share=copy How to get details for the mi...

Motivacraft Mobile App Home Screen

https://vimeo.com/1069866069/6d878ffd57?share=copyWhat awaits you in the Motivac...

How competitions based on test results work?

This provides clarity on how our platform conducts competitions based on test an...

How can I use MotivacraftTV?

We will show you how to use MotivacraftTV step by step.We will show you how to u...

MotivacraftTV

Articles

Chat Icon Close Icon