Creating Activity Properties

Estimated reading: 1 minute

POST: /api/v{version}/Metric/properties

Version: 1

Request Body:

				
					{
  "name": "string",
  "type": 1,
  "isActive": true
}
				
			

Responses:

				
					200 SUCCESS
{
  "success": true,
  "propertyId": 0,
  "fieldId": 0
}
				
			
				
					400 BAD REQUEST
{
  "message": "string",
  "exceptionType": 1,
  "version": "string"
}
				
			
  • Property types:
    ○ Bool = 1
    ○ Numeric = 2
    ○ Text = 3

Articles

Videos

Can I change the information of an active user?

To edit a user you created, you must first click on the “Users” tab on the l...

How do I deactivate or delete a user?

In order to update the status of the user you created, you must click on the ...

How can I create a new user?

There are three different ways to add users in Motivacraft. You can create a use...

Users

How do I disable or delete a created competition?

In order to update the status of the competition you created, you must click on ...

How can I see the ranking of competing users?

To view the success ranking of users who have completed the competitions you hav...

How do I edit a competition I created?

To organize a competition you have created, you must first click on the “C...

How can I create a new competition?

To create a new competition, you must first click on the “Competitions” tab ...

Competitions

How do I disable or delete a created mission?

You can change the status of the task at any time by clicking the “Active&...

Chat Icon Close Icon