Channel Program Types
channelProgramTypes Based on 26C
Create, change, delete and look up Channel Program Types, with qualifiers.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
ProgramTypeId- Required on create
CustomerProgramFlagProgramCodePrefixProgramTemplateCodeProgramTypeCodeProgramTypeName- At a glance
- 47 fields3 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/channelProgramTypes?fields=AccrualNewCostBasis,AccrualNewCostBasisId,AccrualPercentBasis,AccrualPercentBasisId,AccrualPercentBasisOnImportedTrx&limit=25&onlyData=true
{
"items": [
{
"AccrualNewCostBasis": "<string>",
"AccrualNewCostBasisId": 0,
"AccrualPercentBasis": "<string>",
"AccrualPercentBasisId": 0,
"AccrualPercentBasisOnImportedTrx": "<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 47
| Attribute | Type | Use |
|---|---|---|
AccrualNewCostBasis | text | Optional on createUpdatableSearchable |
AccrualNewCostBasisId | number | Optional on createUpdatableSearchable |
AccrualPercentBasis | text | Optional on createUpdatableSearchable |
AccrualPercentBasisId | number | Optional on createUpdatableSearchable |
AccrualPercentBasisOnImportedTrx | text | Optional on createUpdatableSearchable |
AccrualPercentBasisOnImportedTrxCode | text · max 30 | Optional on createUpdatableSearchable |
AccrueBasedOnPointOfSalesDataFlag | yes/no · max 1 | Optional 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 |
CustomerProgramFlag | yes/no · max 1 | Required on createUpdatableSearchable |
DefaultApplyManuallyToOrderFlag | yes/no · max 1 | Optional on createUpdatable |
DefaultCalculationMethod | text | Optional on createUpdatable |
DefaultCalculationMethodCode | text · max 30 | Optional on createUpdatableSearchable |
DefaultCurrency | text | Optional on createUpdatable |
DefaultCurrencyCode | text · max 15 | Optional on createUpdatable |
DefaultDiscountType | text | Optional on createUpdatable |
DefaultDiscountTypeCode | text · max 30 | Optional on createUpdatable |
DefaultGroupAccrualsForClaimAccountingFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
DefaultOverrideProgramFlag | yes/no · max 1 | Optional on createUpdatable |
DefaultProductDistributionType | text | Optional on createUpdatableSearchable |
DefaultProductDistributionTypeCode | text · max 30 | Optional on createUpdatableSearchable |
DefaultSpecialPriceRequestType | text · max 255 | Optional on createUpdatableSearchable |
DefaultSpecialPriceRequestTypeCode | text · max 30 | Optional on createUpdatableSearchable |
DefaultTierType | text | Optional on createUpdatable |
DefaultTierTypeCode | text · max 30 | Optional on createUpdatableSearchable |
EffectiveDateType | text | Optional on createUpdatableSearchable |
EffectiveDateTypeCode | text · max 30 | Optional on createUpdatableSearchable |
EnableApprovalFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
EnableProgramBeneficiaryFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
ProgramCodePrefix | text · max 5 | Required on createUpdatable |
ProgramTemplate | text | Optional on createUpdatableSearchable |
ProgramTemplateCode | text · max 30 | Required on createUpdatableSearchable |
ProgramTemplateId | number | Optional on createUpdatableSearchable |
ProgramTypeCode | text · max 30 | Required on createSearchable |
ProgramTypeId | number | Optional on createUpdatableSearchable |
ProgramTypeName | text · max 240 | Required on createUpdatableSearchable |
SourceOfSales | text | Optional on createUpdatableSearchable |
SourceOfSalesCode | text · max 1 | Optional on createUpdatableSearchable |
Status | text | Optional on createUpdatableSearchable |
StatusCode | text · max 30 | Optional on createUpdatableSearchable |
StatusId | 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.
FindByProgramTemplate·bindProgramTemplateCodeFindBySupplierProgramTemplateProgramTypeCodeAltKey·ProgramTypeCode
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/channelProgramTypes/{ProgramTypeId}/child/<name>. Add them to a GET with expand.
qualifiersGET · POST · PATCH · DELETE Qualifiers · 10 fields · 1 findersCreatedByCreationDateDateQualifierFlagDefaultQualifierFlagLastUpdateDateLastUpdatedByProgramTypeIdQualifierIdQualifierTypeQualifierTypeCode
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/channelProgramTypesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
FindByProgramTemplatefor 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:AccrualNewCostBasis, notaccrualnewcostbasis. - 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.