Cost Allocations for Payroll Assignment
assignmentCosting Based on latest (2026.09)
Create, change, delete and look up Cost Allocations for Payroll Assignment, with cost allocation accounts.
The record key assignmentCostingUniqID is a generated hash. Take it from the record's links (rel self) in a GET response; never build it yourself.
Oracle documents an Effective-Of header and an effectiveDate parameter for this resource, used for date-effective reads and changes.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
assignmentCostingUniqID- Required on create
EffectiveEndDateEffectiveStartDate- At a glance
- 5 fields2 finders1 children
- Extra parameters
?effectiveDate=Effective-Of:
Try it
Only attributes Oracle marks as searchable are offered.
GET /hcmRestApi/resources/11.13.18.05/assignmentCosting?fields=AssignmentNumber,CostAllocationId,EffectiveEndDate,EffectiveStartDate,LegislativeDataGroupName&limit=25&onlyData=true
{
"items": [
{
"AssignmentNumber": "<string, max 30>",
"CostAllocationId": 0,
"EffectiveEndDate": "2026-01-31",
"EffectiveStartDate": "2026-01-31",
"LegislativeDataGroupName": "<string, max 240>"
}
],
"count": 25,
"hasMore": true,
"limit": 25,
"offset": 0
}Shapes and placeholders, not real data. Replace https://<your-pod> and the login with your own: this site never sees them. Based on Oracle's latest (2026.09) REST specification.
Fields 5
| Attribute | Type | Use |
|---|---|---|
AssignmentNumber | text · max 30 | Optional on createUpdatableSearchable |
CostAllocationId | number | Read-onlySearchable |
EffectiveEndDate | date | Required on createUpdatableSearchable |
EffectiveStartDate | date | Required on createUpdatableSearchable |
LegislativeDataGroupName | text · max 240 | Optional on createUpdatableSearchable |
Names, types, labels and flags from Oracle's REST specification (latest (2026.09)). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 2
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
findByAssignmentNumberLegislativeDataGroupName·AssignmentNumberLegislativeDataGroupNameSysEffectiveDatefindByCostAllocationId·CostAllocationIdSysEffectiveDate
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 1
Child resources sit under one record: /hcmRestApi/resources/11.13.18.05/assignmentCosting/{assignmentCostingUniqID}/child/<name>. Add them to a GET with expand.
CostAllocationAccountsGET · POST · PATCH · DELETE Cost Allocation Accounts · 32 fieldsCostAllocAccountIdProportionSegment1Segment10Segment11Segment12Segment13Segment14Segment15Segment16Segment17Segment18Segment19Segment2Segment20Segment21Segment22Segment23Segment24Segment25Segment26Segment27Segment28Segment29Segment3Segment30Segment4Segment5Segment6Segment7Segment8Segment9
Use in AI Agent Studio
- Point a Business Object or REST tool at
/hcmRestApi/resources/11.13.18.05/assignmentCostingand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findByAssignmentNumberLegislativeDataGroupNamefor the agent's main search: its variables become clean tool parameters. - Narrow with
q=on searchable fields and a smalllimit; for a count usetotalResults=true&limit=1. - Call once and pass the result on to later steps rather than calling the same endpoint again.
- This resource can change data. Put a human approval step before any create, update, delete or action call.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:AssignmentNumber, notassignmentnumber. - 1 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
onlyData=trueremoveslinks, and this resource's key only comes fromlinks. Leave it off when you need the key.- Send dates as
YYYY-MM-DD; date-time fields take ISO 8601 with a time zone. - A list returns 25 rows unless you set
limit; readhasMoreand moveoffsetto page through. - Text fields have maximum lengths (shown in the field table). Longer values are rejected.