Permission level: 5

put/forecast/datapoint/{datapoint_id}?access_token=xxxxxxx

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Query parameters

datapoint_idinteger

Datapoint ID

Request body application/x-www-form-urlencoded

valueinteger required

Updates the value of the datapoint

Response

200

statusinteger
tokenstring
errorunknown

Example response

{
  "status": 1,
  "data": {
    "id": 155,
    "company_id": 303579,
    "forecast_data_type_id": 29,
    "value": 177,
    "period": "2017-09-10 14:00:00",
    "created_by": "3475050",
    "updated_by": 3475050,
    "created_at": "2017-09-13 09:42:06",
    "updated_at": "2017-09-14 06:45:39",
    "hour": "2:00pm"
  },
  "token": "xxxxxxx"
}

Changes