/demand_driven_scheduling/metric

post/demand_driven_scheduling/metric

Request

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

Query parameters

access_tokenstring required

Request body application/x-www-form-urlencoded

namestring

Metric Name

incrementinteger

Increment - Can be 15 or 60

inherited_forecast_idinteger

Forecast ID (Optional)

Response

200

statusinteger
tokenstring
errorunknown

Example response

{
  "status": 1,
  "data": {
    "id": 7,
    "name": "Metric Name",
    "increment": 60,
    "inherited_forecast_id": 124
  },
  "token": "xxxxx"
}

Changes