Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Scores Resource

put
Authorizations
SessionIdstringRequired

SessionId

Path parameters
scoreIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
iconPathstringOptional
statusstring · enumOptional

Status of a score in the company (ACTIVATED or DISABLED)

Possible values:
schedulestring · enumOptionalPossible values:
lastMeasurestring · date-timeOptional
nextMeasurestring · date-timeOptional
measuringNowbooleanOptional
numberMeasurementsinteger · int32Optional
derivedbooleanOptional
put/api/v1/company/scores/{scoreId}/deactivate
PUT /api/v1/company/scores/{scoreId}/deactivate HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "name": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "iconPath": "text",
  "description": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "shortDescription": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "status": "ACTIVATED",
  "factors": [
    {
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "name": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "shortName": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "description": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "longDescription": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "reason": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "reasonTitle": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "reasonDescription": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "questions": [
        {
          "id": "64f8a0e2d5b7c9a1e3f4a5b6",
          "type": "GENERAL",
          "title": {
            "defaultValue": "Happy birthday!",
            "langValues": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "valid": true
          },
          "first": {
            "id": 1,
            "score": 1,
            "label": {
              "defaultValue": "Happy birthday!",
              "langValues": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "valid": true
            },
            "imageUrl": "text",
            "color": "text"
          },
          "last": {
            "id": 1,
            "score": 1,
            "label": {
              "defaultValue": "Happy birthday!",
              "langValues": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "valid": true
            },
            "imageUrl": "text",
            "color": "text"
          },
          "inverted": true,
          "values": [
            {
              "id": 1,
              "score": 1,
              "label": {
                "defaultValue": "Happy birthday!",
                "langValues": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "valid": true
              },
              "imageUrl": "text",
              "color": "text"
            }
          ]
        }
      ]
    }
  ],
  "schedule": "MONTHLY",
  "lastMeasure": "2026-01-01T00:00:00.000Z",
  "nextMeasure": "2026-01-01T00:00:00.000Z",
  "measuringNow": true,
  "numberMeasurements": 1,
  "derived": true
}
put
Authorizations
SessionIdstringRequired

SessionId

Path parameters
scoreIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
iconPathstringOptional
statusstring · enumOptional

Status of a score in the company (ACTIVATED or DISABLED)

Possible values:
schedulestring · enumOptionalPossible values:
lastMeasurestring · date-timeOptional
nextMeasurestring · date-timeOptional
measuringNowbooleanOptional
numberMeasurementsinteger · int32Optional
derivedbooleanOptional
put/api/v1/company/scores/{scoreId}/activate
PUT /api/v1/company/scores/{scoreId}/activate HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "name": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "iconPath": "text",
  "description": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "shortDescription": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "status": "ACTIVATED",
  "factors": [
    {
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "name": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "shortName": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "description": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "longDescription": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "reason": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "reasonTitle": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "reasonDescription": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "questions": [
        {
          "id": "64f8a0e2d5b7c9a1e3f4a5b6",
          "type": "GENERAL",
          "title": {
            "defaultValue": "Happy birthday!",
            "langValues": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "valid": true
          },
          "first": {
            "id": 1,
            "score": 1,
            "label": {
              "defaultValue": "Happy birthday!",
              "langValues": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "valid": true
            },
            "imageUrl": "text",
            "color": "text"
          },
          "last": {
            "id": 1,
            "score": 1,
            "label": {
              "defaultValue": "Happy birthday!",
              "langValues": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "valid": true
            },
            "imageUrl": "text",
            "color": "text"
          },
          "inverted": true,
          "values": [
            {
              "id": 1,
              "score": 1,
              "label": {
                "defaultValue": "Happy birthday!",
                "langValues": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "valid": true
              },
              "imageUrl": "text",
              "color": "text"
            }
          ]
        }
      ]
    }
  ],
  "schedule": "MONTHLY",
  "lastMeasure": "2026-01-01T00:00:00.000Z",
  "nextMeasure": "2026-01-01T00:00:00.000Z",
  "measuringNow": true,
  "numberMeasurements": 1,
  "derived": true
}
get
Authorizations
SessionIdstringRequired

SessionId

Query parameters
modelstring · enumOptional

Score model to use (CORE or DERIVED)

Default: COREPossible values:
Responses
200

OK

*/*
idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
iconPathstringOptional
statusstring · enumOptional

Status of a score in the company (ACTIVATED or DISABLED)

Possible values:
schedulestring · enumOptionalPossible values:
lastMeasurestring · date-timeOptional
nextMeasurestring · date-timeOptional
measuringNowbooleanOptional
numberMeasurementsinteger · int32Optional
derivedbooleanOptional
get/api/v1/company/scores
GET /api/v1/company/scores HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

[
  {
    "id": "64f8a0e2d5b7c9a1e3f4a5b6",
    "name": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "iconPath": "text",
    "description": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "shortDescription": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "status": "ACTIVATED",
    "factors": [
      {
        "id": "64f8a0e2d5b7c9a1e3f4a5b6",
        "name": {
          "defaultValue": "Happy birthday!",
          "langValues": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "valid": true
        },
        "shortName": {
          "defaultValue": "Happy birthday!",
          "langValues": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "valid": true
        },
        "description": {
          "defaultValue": "Happy birthday!",
          "langValues": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "valid": true
        },
        "longDescription": {
          "defaultValue": "Happy birthday!",
          "langValues": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "valid": true
        },
        "reason": {
          "defaultValue": "Happy birthday!",
          "langValues": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "valid": true
        },
        "reasonTitle": {
          "defaultValue": "Happy birthday!",
          "langValues": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "valid": true
        },
        "reasonDescription": {
          "defaultValue": "Happy birthday!",
          "langValues": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "valid": true
        },
        "questions": [
          {
            "id": "64f8a0e2d5b7c9a1e3f4a5b6",
            "type": "GENERAL",
            "title": {
              "defaultValue": "Happy birthday!",
              "langValues": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "valid": true
            },
            "first": {
              "id": 1,
              "score": 1,
              "label": {
                "defaultValue": "Happy birthday!",
                "langValues": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "valid": true
              },
              "imageUrl": "text",
              "color": "text"
            },
            "last": {
              "id": 1,
              "score": 1,
              "label": {
                "defaultValue": "Happy birthday!",
                "langValues": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "valid": true
              },
              "imageUrl": "text",
              "color": "text"
            },
            "inverted": true,
            "values": [
              {
                "id": 1,
                "score": 1,
                "label": {
                  "defaultValue": "Happy birthday!",
                  "langValues": {
                    "ANY_ADDITIONAL_PROPERTY": "text"
                  },
                  "valid": true
                },
                "imageUrl": "text",
                "color": "text"
              }
            ]
          }
        ]
      }
    ],
    "schedule": "MONTHLY",
    "lastMeasure": "2026-01-01T00:00:00.000Z",
    "nextMeasure": "2026-01-01T00:00:00.000Z",
    "measuringNow": true,
    "numberMeasurements": 1,
    "derived": true
  }
]
get
Authorizations
SessionIdstringRequired

SessionId

Path parameters
scoreIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
iconPathstringOptional
statusstring · enumOptional

Status of a score in the company (ACTIVATED or DISABLED)

Possible values:
schedulestring · enumOptionalPossible values:
lastMeasurestring · date-timeOptional
nextMeasurestring · date-timeOptional
measuringNowbooleanOptional
numberMeasurementsinteger · int32Optional
derivedbooleanOptional
get/api/v1/company/scores/{scoreId}
GET /api/v1/company/scores/{scoreId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "name": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "iconPath": "text",
  "description": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "shortDescription": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "status": "ACTIVATED",
  "factors": [
    {
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "name": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "shortName": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "description": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "longDescription": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "reason": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "reasonTitle": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "reasonDescription": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "questions": [
        {
          "id": "64f8a0e2d5b7c9a1e3f4a5b6",
          "type": "GENERAL",
          "title": {
            "defaultValue": "Happy birthday!",
            "langValues": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "valid": true
          },
          "first": {
            "id": 1,
            "score": 1,
            "label": {
              "defaultValue": "Happy birthday!",
              "langValues": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "valid": true
            },
            "imageUrl": "text",
            "color": "text"
          },
          "last": {
            "id": 1,
            "score": 1,
            "label": {
              "defaultValue": "Happy birthday!",
              "langValues": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "valid": true
            },
            "imageUrl": "text",
            "color": "text"
          },
          "inverted": true,
          "values": [
            {
              "id": 1,
              "score": 1,
              "label": {
                "defaultValue": "Happy birthday!",
                "langValues": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "valid": true
              },
              "imageUrl": "text",
              "color": "text"
            }
          ]
        }
      ]
    }
  ],
  "schedule": "MONTHLY",
  "lastMeasure": "2026-01-01T00:00:00.000Z",
  "nextMeasure": "2026-01-01T00:00:00.000Z",
  "measuringNow": true,
  "numberMeasurements": 1,
  "derived": true
}
get
Authorizations
SessionIdstringRequired

SessionId

Responses
200

OK

string · binaryOptional
get/api/v1/company/scores/export
GET /api/v1/company/scores/export HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

binary

Last updated