Discount Lists
discountLists Based on 26C
Create, change, delete and look up Discount Lists, with access sets, items and referenced entities. Actions include copy.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE1 action
- Record key
DiscountListId- Required on create
BusinessUnitIdCurrencyCodeDiscountListNameStartDate- At a glance
- 25 fields0 finders18 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/discountLists?fields=BusinessUnit,BusinessUnitId,ChargeSubtype,ChargeSubtypeCode,ChargeType&limit=25&onlyData=true
{
"items": [
{
"BusinessUnit": "<string>",
"BusinessUnitId": 0,
"ChargeSubtype": "<string>",
"ChargeSubtypeCode": "<string, max 30>",
"ChargeType": "<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 25
| Attribute | Type | Use |
|---|---|---|
BusinessUnit | text | Optional on createSearchable |
BusinessUnitId | number | Required on createUpdatableSearchable |
ChargeSubtype | text | Optional on createUpdatableSearchable |
ChargeSubtypeCode | text · max 30 | Optional on createUpdatableSearchable |
ChargeType | text | Optional on createUpdatableSearchable |
ChargeTypeCode | text · max 30 | Optional on createUpdatableSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
Currency | text | Optional on createUpdatableSearchable |
CurrencyCode | text · max 15 | Required on createUpdatableSearchable |
DiscountListDescription | text · max 1000 | Optional on createUpdatableSearchable |
DiscountListId | number | Optional on createUpdatableSearchable |
DiscountListName | text · max 80 | Required on createSearchable |
EndDate | date-time | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
LineType | text | Optional on createUpdatableSearchable |
LineTypeCode | text · max 30 | Optional on createUpdatableSearchable |
PricePeriodicity | text | Optional on createUpdatableSearchable |
PricePeriodicityCode | text · max 3 | Optional on createUpdatableSearchable |
PriceType | text | Optional on createUpdatableSearchable |
PriceTypeCode | text · max 30 | Optional on createUpdatableSearchable |
StartDate | date-time | Required on createUpdatableSearchable |
Status | text | Optional on createUpdatableSearchable |
StatusCode | text · max 30 · default IN_PROGRESS | 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.
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 18
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/discountLists/{DiscountListId}/child/<name>. Add them to a GET with expand.
accessSetsGET · POST · DELETE Discount List Access Sets · 10 fieldsAccessSetCodeAccessSetDescriptionAccessSetIdAccessSetNameCreatedByCreationDateDiscountListIdDiscountListSetIdLastUpdateDateLastUpdatedByheaderDFFGET · POST · PATCH Flexfields for Discount List Header · 3 fieldsDiscountListId__FLEX_Context__FLEX_Context_DisplayValueitemsGET · POST · DELETE Discount List Items · 18 fieldsCreatedByCreationDateDiscountListIdDiscountListItemIdInventoryItemIdItemItemDescriptionItemLevelItemLevelCodeLastUpdateDateLastUpdatedByLineTypeLineTypeCodePricingUOMPricingUOMCodeServiceDurationServiceDurationPeriodServiceDurationPeriodCodeattributeRulesGET · POST · PATCH · DELETE Discount List Attribute Rules · 22 fieldsApplyToRollupChargeSubtypeChargeSubtypeCodeChargeTypeChargeTypeCodeCreatedByCreationDateDiscountListIdDiscountListItemIdEndDateLastUpdateDateLastUpdatedByMatrixIdNamePricePeriodicityPricePeriodicityCodePriceTypePriceTypeCodePricingCurrencyPricingCurrencyCodePricingTermIdStartDatepricingMatrixesGET · POST · PATCH · DELETE Pricing Matrixes · 10 fieldsChangeTypeChangeTypeCodeCreatedByCreationDateEntityApprovalStatusEntityApprovalStatusCodeLastUpdateDateLastUpdatedByMatrixIdMatrixNamedimensionsGET · POST · PATCH · DELETE Matrix Dimensions · 28 fieldsChangeTypeChangeTypeCodeCompareToAttributeComparisonOperatorCodeCreatedByCreationDateDataTypeDefaultIsFixedValueDefaultValueDateDefaultValueNumberDefaultValueStringDefaultValueTimestampDimensionIdDimensionNameDimensionTypeDisplaySequenceDomainTypeEntityApprovalStatusEntityApprovalStatusCodeIsNullableLastUpdateDateLastUpdatedByMatrixDimensionIdMatrixIdNullasWildCardRequiredDimensionForClassShowDefaultValueDimensionInRulesSourceCodeNamerulesGET · POST · PATCH · DELETE Matrix Rules · 87 fields · 1 findersChangeTypeChangeTypeCodeCreatedByCreationDateDimension1Dimension10Dimension10KeyValueDimension10ValueDimension11Dimension11KeyValueDimension11ValueDimension12Dimension12KeyValueDimension12ValueDimension13Dimension13KeyValueDimension13ValueDimension14Dimension14KeyValueDimension14ValueDimension15Dimension15KeyValueDimension15ValueDimension16Dimension16KeyValueDimension16ValueDimension17Dimension17KeyValueDimension17ValueDimension18Dimension18KeyValueDimension18ValueDimension19Dimension19KeyValueDimension19ValueDimension1KeyValueDimension1ValueDimension2Dimension20Dimension20KeyValueDimension20ValueDimension21Dimension21KeyValueDimension21ValueDimension22Dimension22KeyValueDimension22ValueDimension23Dimension23KeyValueDimension23ValueDimension24Dimension24KeyValueDimension24ValueDimension25Dimension25KeyValueDimension25ValueDimension2KeyValueDimension2ValueDimension3Dimension3KeyValueDimension3ValueDimension4Dimension4KeyValueDimension4ValueDimension5Dimension5KeyValueDimension5ValueDimension6Dimension6KeyValueDimension6ValueDimension7Dimension7KeyValueDimension7ValueDimension8Dimension8KeyValueDimension8ValueDimension9Dimension9KeyValueDimension9ValueEntityApprovalStatusEntityApprovalStatusCodeLastUpdateDateLastUpdatedByMatrixIdMatrixRuleIdRuleEndDateRuleStartDaterulesDFFGET · POST · PATCH Pricing Terms Descriptive Flexfields · 3 fieldsPricingTermId__FLEX_Context__FLEX_Context_DisplayValueitemsDFFGET · POST · PATCH Flexfields for Discount List Items · 3 fieldsDiscountListItemId__FLEX_Context__FLEX_Context_DisplayValuesimpleRulesGET · POST · PATCH · DELETE Discount List Simple Rules · 26 fieldsAdjustmentAmountAdjustmentBasisAdjustmentBasisIdAdjustmentTypeAdjustmentTypeCodeApplyToRollupChargeSubtypeChargeSubtypeCodeChargeTypeChargeTypeCodeCreatedByCreationDateDiscountListIdDiscountListItemIdEndDateLastUpdateDateLastUpdatedByNamePricePeriodicityPricePeriodicityCodePriceTypePriceTypeCodePricingCurrencyPricingCurrencyCodePricingTermIdStartDaterulesDFFGET · POST · PATCH Pricing Terms Descriptive Flexfields · 3 fieldsPricingTermId__FLEX_Context__FLEX_Context_DisplayValuetieredRulesGET · POST · PATCH · DELETE Discount List Tiered Rules · 22 fieldsApplyToRollupChargeSubtypeChargeSubtypeCodeChargeTypeChargeTypeCodeCreatedByCreationDateDiscountListIdDiscountListItemIdEndDateLastUpdateDateLastUpdatedByNamePricePeriodicityPricePeriodicityCodePriceTypePriceTypeCodePricingCurrencyPricingCurrencyCodePricingTermIdStartDateTierHeaderIdpricingTiersGET · POST · PATCH · DELETE Tier Headers · 29 fieldsAdjustmentBasisAdjustmentBasisIdAdjustmentTypeAdjustmentTypeCodeAggregationMethodAggregationMethodCodeApplicationMethodApplicationMethodCodeAppliesToAppliesToCodeChangeTypeChangeTypeCodeCreatedByCreationDateEnforceAdjustmentCalculationEntityApprovalStatusEntityApprovalStatusCodeLastUpdateDateLastUpdatedByParentEntityIdParentEntityTypeParentEntityTypeCodePartialBlockActionPartialBlockActionCodeTierBasisTierBasisIdTierBasisTypeTierBasisTypeCodeTierHeaderIdheaderDFFGET · POST · PATCH Tier Headers Descriptive Flexfields · 3 fieldsTieredPricingHeaderId__FLEX_Context__FLEX_Context_DisplayValuelinesGET · POST · PATCH · DELETE Tier Lines · 21 fieldsAdjustmentAmountAdjustmentBasisAdjustmentBasisIdAdjustmentTypeAdjustmentTypeCodeApplicationMethodApplicationMethodCodeChangeTypeChangeTypeCodeCreatedByCreationDateEntityApprovalStatusEntityApprovalStatusCodeIncrementValueLastUpdateDateLastUpdatedByMaximumMinimumTierHeaderIdTierLineIdTierLineNumberlinesDFFGET · POST · PATCH Tier Lines Descriptive Flexfields · 3 fieldsTieredPricingLineId__FLEX_Context__FLEX_Context_DisplayValuerulesDFFGET · POST · PATCH Pricing Terms Descriptive Flexfields · 3 fieldsPricingTermId__FLEX_Context__FLEX_Context_DisplayValuereferencedEntitiesGET · POST · PATCH Referenced Entities · 5 fieldsEntityIdReferenceEntityIdReferenceEntityNameReferenceEntityTypeReferenceEntityTypeCode
Actions 1
POST …/{DiscountListId}/action/copy·copyParams
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/discountListsand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - 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:BusinessUnit, notbusinessunit. - 4 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.