Skip to content

Update Project Offering Role

Request

Updates a Project Offering Role. This includes assigning a specific Person or Requisition. Removing or replacing an assignment where the current person has actuals will return a 409 Conflict.

Security
ApiKey
Path
idstring, (uuid)required

ID of the resource

project_idstring, (uuid)required
project_offering_idstring, (uuid)required
Body
role_idstring or null, (uuid)

Id of the organization Role that will be performing work on this ProjectOffering.

assignmentobject or null(Assignment)

Assignment of a Person or Requisition to this role. Set to null to unassign. Note: Removing or replacing an assignment where the person has actuals will return a 409 Conflict. The person must first be reassigned to another role or have their actuals removed.

tagsArray of strings or null

List of tags to associate with this Project Offering Role. When provided, this completely replaces existing tags. Provide an empty array to clear all tags. Omit this property to leave tags unchanged.

curl -i -X PATCH \
  'https://developer.getparallax.com/_mock/api-documentation/swagger/v1/projects/{project_id}/offerings/{project_offering_id}/roles/{id}' \
  -H 'Content-Type: application/json-patch+json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
    "assignment": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "type": "person"
    },
    "tags": [
      "string"
    ]
  }'

Responses

OK

Response
No content