/budget Permission Level: 4

post/sales/budget?access_token=xxxxx

Request

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

Request body application/x-www-form-urlencoded

start_datestring date

Start date of the budget that we want to add

end_datestring date

End date of the budget that we want to add

hoursinteger

Hours

Dollarsinteger

Amount of dollars for the given hours

Locationinteger

Location ID for which we want to create a budget

Positioninteger

Position ID for which we want to create a budget

Response

200

statusinteger
tokenstring
errorunknown

Example response

{
  "status": 1,
  "data": {
    "id": "976065",
    "store": "303579",
    "start_date": {
      "id": 3226,
      "timestamp": 1519686000,
      "month": 2,
      "day": 27,
      "year": 2018,
      "week": 9,
      "dayid": 3,
      "weekday": "Tue",
      "mname": "Feb",
      "formatted": "Feb 27, 2018"
    },
    "end_date": {
      "id": 3226,
      "timestamp": 1519686000,
      "month": 2,
      "day": 27,
      "year": 2018,
      "week": 9,
      "dayid": 3,
      "weekday": "Tue",
      "mname": "Feb",
      "formatted": "Feb 27, 2018"
    },
    "location": "667179",
    "hours": "3333",
    "dollars": "33333"
  },
  "token": "xxxxxxxxxxxx"
}

Changes