Resource Allocation Record Now Exposed via REST Web Services
The resourceAllocation record is now available through the SuiteTalk REST API, enabling CRUD operations for reserving employee time on projects and tasks via /services/rest/record/v1/resourceAllocation.
What changed
The Resource Allocation record (record ID: resourceAllocation) is now exposed through the SuiteTalk REST web services. Previously manageable only through the UI or SuiteTalk SOAP, resource allocations can now be created, retrieved, updated, and deleted via the REST API endpoint:
/services/rest/record/v1/resourceAllocation
This is a top-level record — it is not a subrecord and has no subrecords of its own. It lets you reserve an employee's time against a specific project and, optionally, a project task.
Key fields
allocationAmount— numeric value representing hours or percentage, depending onallocationUnit.allocationUnit—"H"(hours) or"P"(percentage of time).allocationType— e.g.,"1"for Hard allocation.allocationResource— reference to anemployeerecord (by internal ID).project— reference to the project record.projectTask— optional reference to aprojecttaskrecord. If set at allocation time, the resource does not need to be re-assigned to the task separately.approvalStatus— internal ID of the approval state (e.g.,"4").startDate/endDate— date range for the allocation (formatYYYY-MM-DD).requestedBy/nextApprover— employee references.notes— free-text field.
The response also surfaces computed fields such as numberHours and percentOfTime, which are returned regardless of which allocationUnit was used to create the record.
Code samples
Create (POST)
POST /services/rest/record/v1/resourceAllocation
Minimum payload includes allocationAmount, allocationResource, allocationUnit, startDate, endDate, and project. The allocationType, approvalStatus, projectTask, requestedBy, nextApprover, and notes fields are optional or situational.
Retrieve (GET)
GET /services/rest/record/v1/resourceAllocation/{id}
Returns the full record with linked references (employee, project, project task) including refName values and nested links arrays for related record navigation.
Prerequisites
- The Resource Allocations feature must be enabled: Setup > Company > Setup Tasks > Enable Features (Administrator), on the Company subtab.
- The calling integration must have appropriate REST API permissions to the
resourceAllocationrecord type.
What to do
- Check feature enablement. Confirm that Resource Allocations is turned on in your target account before attempting REST calls.
- Review the REST API Browser. Consult the
resourceAllocationreference page in the REST API Browser for the complete list of supported HTTP methods (POST, GET, PATCH, DELETE), query parameters, and field definitions. Oracle's source does not enumerate every supported operation inline. - Update integrations. If you have existing SOAP-based or CSV-import workflows that manage resource allocations, you can now migrate them to REST. The record ID is
resourceAllocation— use it in SuiteQL queries (SELECT * FROM resourceAllocation) and in REST endpoints. - Handle approval workflows. The
approvalStatusandnextApproverfields indicate that approval routing applies. If your account uses resource allocation approvals, test that creating allocations via REST correctly triggers the approval chain. - Validate computed fields. The API returns both
numberHoursandpercentOfTimeon retrieval regardless of the input unit. If your integration consumes these, confirm the values align with your scheduling logic.
Source: Oracle NetSuite Release Notes