Skip to content

Update Project Offering Role Plans

Request

Updates a Project Offering Role's Plans. Takes an array of ProjectOfferingRolePlannedTime entries and applies them to the specified Project Offering Role. Up to 100 entries can be sent at a time. To clear plans for a given day, send 0 hours. Dates omitted from the request will not be altered.

Security
ApiKey
Path
idstring, (uuid)required

ID of the resource

project_idstring, (uuid)required
project_offering_idstring, (uuid)required
Body
Array [
plan_datestring, (date)required

The date in which the actual time entry is recorded to, in the YYYY-MM-DD format.

hoursnumber, (double)required

The number of hours associated with the planned time entry.

]
curl -i -X POST \
  'https://developer.getparallax.com/_mock/api-documentation/swagger/v1/projects/{project_id}/offerings/{project_offering_id}/roles/{id}/planned-time' \
  -H 'Content-Type: application/json-patch+json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '[
    {
      "plan_date": "2019-08-24",
      "hours": 0.1
    }
  ]'

Responses

No Content

Response
No content