Asset Warranty Contracts
assetWarrantyContracts Based on 26C
Create, change and look up Asset Warranty Contracts, with contract meters.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)
- Record key
ContractId- Required on create
AssetNumberContractNumberCoverageIdObjectIdObjectTypeCode- At a glance
- 27 fields4 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/assetWarrantyContracts?fields=AssetId,AssetNumber,AssetSerialNumber,CalculatedExpirationDate,ContractEndDate&limit=25&onlyData=true
{
"items": [
{
"AssetId": 0,
"AssetNumber": "<string, max 80>",
"AssetSerialNumber": "<string, max 80>",
"CalculatedExpirationDate": "2026-01-31",
"ContractEndDate": "2026-01-31"
}
],
"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 27
| Attribute | Type | Use |
|---|---|---|
AssetId | number | Read-onlySearchable |
AssetNumber | text · max 80 | Required on createSearchable |
AssetSerialNumber | text · max 80 | Read-onlySearchable |
CalculatedExpirationDate | date | Optional on createUpdatableSearchable |
ContractEndDate | date | Optional on createUpdatableSearchable |
ContractId | number | Read-onlySearchable |
ContractNotes | text · max 2000 | Optional on createUpdatableSearchable |
ContractNumber | text · max 80 | Required on createSearchable |
ContractStartDate | date | Optional on createUpdatableSearchable |
ContractStatus | text · max 80 | Read-onlySearchable |
ContractStatusCode | text · max 30 · default ORA_READY | Optional on createUpdatableSearchable |
CoverageCode | text · max 80 | Optional on createUpdatableSearchable |
CoverageDescription | text · max 240 | Read-onlySearchable |
CoverageId | number | Required on createSearchable |
CoverageName | text · max 120 | Read-onlySearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
ExternalReferenceNumber | text · max 80 | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
ObjectId | number | Required on createSearchable |
ObjectType | text · max 80 | Read-onlySearchable |
ObjectTypeCode | text · max 30 | Required on createSearchable |
RootAssetId | number | Read-onlySearchable |
RootAssetNumber | text · max 80 | Read-onlySearchable |
WarrantyProviderName | text · max 360 | Read-onlySearchable |
WarrantyProviderNumber | text · max 30 | Read-onlySearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 4
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
ContractsByAssetId·AssetIdContractsByRootAssetId·RootAssetIdContractsByRootAssetNumber·RootAssetNumberContractsByTransactionCode·BindRepairTransactionCodeBindRootAssetId
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: /fscmRestApi/resources/11.13.18.05/assetWarrantyContracts/{ContractId}/child/<name>. Add them to a GET with expand.
contractMetersGET · POST · PATCH Contract Meters · 18 fieldsActiveEndDateCalculatedDueDateContractIdContractMeterIdCreatedByCreationDateDisabledFlagLastUpdateDateLastUpdatedByMeterCodeMeterDescriptionMeterEndValueMeterIdMeterIntervalValueMeterNameMeterStartValueUOMCodeUnitOfMeasure
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/assetWarrantyContractsand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
ContractsByAssetIdfor 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:AssetNumber, notassetnumber. - 15 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
- 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.