Skip to content

Create Project Offering Role

Request

Creates a Project Offering Role.

Security
ApiKey
Path
project_idstring, (uuid)required
project_offering_idstring, (uuid)required
Body
role_idstring, (uuid)required

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

assignmentobject or null(Assignment)

Optional assignment of a Person or Requisition to this role.

tagsArray of strings or null

Optional list of tags to associate with this Project Offering Role. Tags help categorize and filter roles.

curl -i -X POST \
  'https://developer.getparallax.com/_mock/api-documentation/swagger/v1/projects/{project_id}/offerings/{project_offering_id}/roles' \
  -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

Created

Bodyapplication/json
idstring, (uuid)

The unique identifier for the project offering role.

assignmentobject or null(Assignment)

The unique identifier for the (optional) person attached to the role.

role_idstring, (uuid)

The unique identifier for role that describes the project offering role.

tagsArray of strings

A list of tags assigned to the Project Offering Role for filtering, categorization, or reporting.

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "assignment": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "person" }, "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9", "tags": [ "string" ] }