Skip to content

Creating a new Resource Requests

Request

This endpoint returns structured Resource Requests objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the resource_requests top-level JSON key. Please see our Response Format section for more information.

Query
includestring

Any of the below associations can be included in your request by providing the include param, e.g. include=association1,association2.

  • approvers (User) - The users available to approver or reject the resource request.
  • creator (User) - The person submitting the resource request.
  • resource (WorkspaceResource) - The resource the request is intending to assign a user to.
Bodyapplication/jsonrequired
resource_requestobject
{ "resource_request": { "resource_id": 0, "resource_workspace_id": 0, "resource_role_id": 0, "approver_ids": [ 0 ], "workspace_allocation_start_date": "2019-08-24", "workspace_allocation_end_date": "2019-08-24", "workspace_allocation_percentage": 0, "custom_fields": [ { "custom_field_id": 0, "value": "string" } ] } }

Responses

Resource Requests has been created.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
resource_requestsobject
workspace_resourcesobject
usersobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "resource_requests": { "property1": { "approver_ids": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "creator_id": "string", "resource_id": "string", "status": "string", "updated_at": "2019-08-24T14:15:22Z" }, "property2": { "approver_ids": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "creator_id": "string", "resource_id": "string", "status": "string", "updated_at": "2019-08-24T14:15:22Z" } }, "workspace_resources": { "property1": { "created_at": "2019-08-24T14:15:22Z", "custom_field_value_ids": [ "string" ], "display_label": "string", "external_reference_ids": [ "string" ], "full_name": "string", "label": "string", "organization_membership_id": "string", "participation_id": "string", "photo_path": "string", "resource_bill_rate": 0, "resource_cost_rate": 0, "role_id": "string", "role_initials": "string", "role_name": "string", "updated_at": "2019-08-24T14:15:22Z", "user_id": "string", "workspace_id": 0, "workspace_title": "string" }, "property2": { "created_at": "2019-08-24T14:15:22Z", "custom_field_value_ids": [ "string" ], "display_label": "string", "external_reference_ids": [ "string" ], "full_name": "string", "label": "string", "organization_membership_id": "string", "participation_id": "string", "photo_path": "string", "resource_bill_rate": 0, "resource_cost_rate": 0, "role_id": "string", "role_initials": "string", "role_name": "string", "updated_at": "2019-08-24T14:15:22Z", "user_id": "string", "workspace_id": 0, "workspace_title": "string" } }, "users": { "property1": { "abbreviated_timezone": "string", "account_membership_id": "string", "bio": "string", "city": "string", "classification": "string", "country": "string", "custom_field_value_ids": [ "string" ], "email_address": "string", "external_reference_ids": [ "string" ], "full_name": "string", "headline": "string", "last_site_activity": "2019-08-24T14:15:22Z", "manager_id": "string", "photo_path": "string", "role_id": "string", "skill_ids": [ "string" ], "skill_membership_ids": [ "string" ], "state": "string", "website": "string", "work_sample_ids": [ "string" ] }, "property2": { "abbreviated_timezone": "string", "account_membership_id": "string", "bio": "string", "city": "string", "classification": "string", "country": "string", "custom_field_value_ids": [ "string" ], "email_address": "string", "external_reference_ids": [ "string" ], "full_name": "string", "headline": "string", "last_site_activity": "2019-08-24T14:15:22Z", "manager_id": "string", "photo_path": "string", "role_id": "string", "skill_ids": [ "string" ], "skill_membership_ids": [ "string" ], "state": "string", "website": "string", "work_sample_ids": [ "string" ] } } }