Physical Inventories
physicalInventories Based on 26C
Create, change, delete and look up Physical Inventories, with physical inventory subinventories. Actions include copy physical inventory.
The record key physicalInventoriesUniqID is a generated hash. Take it from the record's links (rel self) in a GET response; never build it yourself.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE1 action
- Record key
physicalInventoriesUniqID- Required on create
AllowDynamicTagsCodeApprovalRequiredCodeOrganizationIdPhysicalInventoryNameTagTypeCode- At a glance
- 53 fields3 finders2 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/physicalInventories?fields=AllowAllSubinventories,AllowAllSubinventoriesCode,AllowDynamicTags,AllowDynamicTagsCode,ApprovalRequired&limit=25&onlyData=true
{
"items": [
{
"AllowAllSubinventories": "<string>",
"AllowAllSubinventoriesCode": "1",
"AllowDynamicTags": "<string>",
"AllowDynamicTagsCode": "<string, max 30>",
"ApprovalRequired": "<string>"
}
],
"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 26C REST specification.
Fields 53
| Attribute | Type | Use |
|---|---|---|
AllowAllSubinventories | text | Optional on createUpdatableSearchable |
AllowAllSubinventoriesCode | text · max 30 · default 1 | Optional on createUpdatableSearchable |
AllowDynamicTags | text | Optional on createUpdatableSearchable |
AllowDynamicTagsCode | text · max 30 | Required on createUpdatableSearchable |
ApprovalRequired | text | Optional on createUpdatableSearchable |
ApprovalRequiredCode | text · max 30 | Required on createUpdatableSearchable |
ApprovalToleranceNegative | number | Optional on createUpdatableSearchable |
ApprovalTolerancePositive | number | Optional on createUpdatableSearchable |
CostVarianceNegative | number | Optional on createUpdatableSearchable |
CostVariancePositive | number | Optional on createUpdatableSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
Description | text · max 50 | Optional on createUpdatableSearchable |
ExcludeNegativeBalance | text | Optional on createUpdatableSearchable |
ExcludeNegativeBalanceCode | text · max 30 | Optional on createUpdatableSearchable |
ExcludeZeroBalance | text | Optional on createUpdatableSearchable |
ExcludeZeroBalanceCode | text · max 30 | Optional on createUpdatableSearchable |
FifthTagGenerationSequence | text | Optional on createUpdatableSearchable |
FifthTagGenerationSequenceCode | text · max 30 | Optional on createUpdatableSearchable |
FirstTagGenerationSequence | text | Optional on createUpdatableSearchable |
FirstTagGenerationSequenceCode | text · max 30 | Optional on createUpdatableSearchable |
FlowSource | text · max 1 | Optional on createUpdatableSearchable |
FourthTagGenerationSequence | text | Optional on createUpdatableSearchable |
FourthTagGenerationSequenceCode | text · max 30 | Optional on createUpdatableSearchable |
FreezeDate | date-time | Optional on createUpdatableSearchable |
IncludedSubInventoriesCount | number | Read-only |
LastAdjustmentDate | date-time | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
NextTagNumber | text · max 40 | Optional on createUpdatableSearchable |
NumberBlankTags | number | Optional on createUpdatableSearchable |
NumberOfSkus | number | Optional on createUpdatableSearchable |
OrganizationCode | text | Optional on createUpdatableSearchable |
OrganizationId | number | Required on createSearchable |
PhysicalInventoryDate | date | Optional on createUpdatableSearchable |
PhysicalInventoryId | number | Optional on createSearchable |
PhysicalInventoryName | text · max 30 | Required on createSearchable |
SecondTagGenerationSequence | text | Optional on createUpdatableSearchable |
SecondTagGenerationSequenceCode | text · max 30 | Optional on createUpdatableSearchable |
SeventhTagGenerationSequence | text | Optional on createUpdatableSearchable |
SeventhTagGenerationSequenceCode | text · max 30 | Optional on createUpdatableSearchable |
ShowSerialNumbers | text | Optional on createUpdatableSearchable |
ShowSerialNumbersCode | text · max 1 | Optional on createUpdatableSearchable |
SixthTagGenerationSequence | text | Optional on createUpdatableSearchable |
SixthTagGenerationSequenceCode | text · max 30 | Optional on createUpdatableSearchable |
StartBlankTagNumber | text · max 40 | Optional on createUpdatableSearchable |
Status | text · max 255 | Read-onlySearchable |
StatusCode | text · max 255 | Read-onlySearchable |
TagType | text | Optional on createUpdatableSearchable |
TagTypeCode | text · max 30 | Required on createUpdatableSearchable |
ThirdTagGenerationSequence | text | Optional on createUpdatableSearchable |
ThirdTagGenerationSequenceCode | text · max 30 | Optional on createUpdatableSearchable |
TotalAdjustmentValue | number | Optional on createUpdatableSearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 3
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
findByPendingApprovalfindBySubinventory·pSubinventoryfindByTagsGenerated
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 2
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/physicalInventories/{physicalInventoriesUniqID}/child/<name>. Add them to a GET with expand.
physicalInventoryDFFsGET · POST · PATCH Flexfields · 4 fieldsOrganizationIdPhysicalInventoryId__FLEX_Context__FLEX_Context_DisplayValuephysicalInventorySubinventoriesGET · POST · DELETE Subinventories · 1 fieldsSubinventory
Actions 1
POST …/action/copyPhysicalInventory·organizationIdcopyFromPhysicalInventoryIdphysicalInventoryNamedescription
Actions use Content-Type: application/vnd.oracle.adf.action+json. A path with a {key} runs on one record.
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/physicalInventoriesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findByPendingApprovalfor 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:AllowAllSubinventories, notallowallsubinventories. - 7 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.