Permission level: 5

post/forecast/datapoint?access_token=xxxxxxx

Request

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

Request body application/x-www-form-urlencoded

valuestring required

Sets the name of the Forecast/Datatype

data_type_idstring required

Adds a description for this forecast/datatype

periodstring date required

Sets the unique id of the forecast/datatype

Response

200

statusinteger
tokenstring
errorunknown

Example response

{
  "status": 1,
  "data": {
    "id": 159,
    "company_id": 303579,
    "forecast_data_type_id": 32,
    "value": 9,
    "period": "2017-09-10 10:00:00",
    "created_by": 3475050,
    "created_at": "2017-09-13 10:25:16",
    "hour": "10:00am"
  },
  "token": "xxxxxx"
}

Changes