Get all programs
get
/fscmRestApi/resources/11.13.18.05/channelPrograms
Request
Query Parameters
-
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- PrimaryKey: Finds channel programs according to the primary key.
Finder Variables:- ProgramId; integer; Value that uniquely identifies the channel program.
- PrimaryKey: Finds channel programs according to the primary key.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2
You can use these queryable attributes to filter this collection resource using the q query parameter:- ApplyManuallyToOrderFlag; boolean; Contains one of the following values: true or false. If true, then the channel program is not automatically applied on sales orders even if the eligibility criteria is met. If false, then the channel program is automatically applied on sales orders upon eligibility evaluation. The value is defaulted from program type.
- AvailableAmount; number; Available amount in the channel program.
- BusinessUnit; string; Name of the business unit.
- BusinessUnitId; integer; Value that uniquely identifies the business unit.
- CalculationMethod; string; Method used for calculating accruals in the channel program. A list of accepted values is defined in the lookup type ORA_CJM_TIER_CALC_METHOD.
- CalculationMethodCode; string; Abbreviation that identifies the calculation method used for calculating accruals in the channel program.
- CreatedBy; string; User who created the record.
- CreationDate; string; Date and time when the user created the record.
- Currency; string; Name of the currency used for the channel program.
- CurrencyCode; string; Abbreviation that identifies the currency used for the channel program.
- EarnedAmount; number; Earned amount in the channel program.
- EffectiveDateType; string; Name of the effective date type used for evaluating supplier program eligibility. A list of accepted values is defined in the lookup type ORA_CJM_PRICING_APP_DATE_TYPE.
- FromDate; string; Date from when the program is applicable.
- InProgressAmount; number; In-progress amount in the channel program.
- InitiatedBy; string; Value that identifies if the program was created by the supplier contact or the internal distributor user.
- InitiatedByCode; string; Abbreviation that identifies if the program was created by the supplier contact or the internal distributor user.
- LastUpdateDate; string; Date and time when the user most recently updated the record.
- LastUpdatedBy; string; User who most recently updated the record.
- OpenAmount; number; Open amount in the channel program.
- OverrideProgramFlag; boolean; Contains one of the following values: true or false. If true, then the channel programs that are automatically applied on sales orders can be overridden. If false, then the channel programs applied on sales orders cannot be overridden. The value is defaulted from program type.
- Owner; string; Name of the person who owns the channel program. This attribute defaults to the name of the person who creates the program.
- OwnerId; integer; Value that uniquely identifies the person who owns the channel program.
- OwnerPersonNumber; string; Number that uniquely identifies the person who owns the channel program.
- PaidAmount; number; Paid amount in the channel program.
- ProgramCode; string; Abbreviation that uniquely identifies the channel program.
- ProgramId; integer; Value that uniquely identifies the channel program. It is a primary key that the application generates when it creates the program.
- ProgramName; string; Name of the channel program.
- ProgramTemplate; string; Name of the predefined program template on which the channel program is based. A list of accepted values is defined in the lookup type ORA_CJM_PROGRAM_TYPE.
- ProgramTemplateCode; string; Abbreviation that identifies the predefined program template on which the channel program is based.
- ProgramType; string; Type of program on which the channel program is based.
- ProgramTypeId; integer; Value that uniquely identifies the type of program on which the channel program is based.
- PurchasedAmount; number; Purchase amount in the channel program.
- Status; string; Status of the channel program.
- StatusId; integer; Value that uniquely identifies the status of the channel program.
- Supplier; string; Name of the supplier supporting the channel program.
- SupplierAuthorizationNumber; string; Number that identifies the authorization provided by supplier.
- SupplierContact; string; Person who represents the supplier when communicating with the buyer.
- SupplierContactId; integer; Value that uniquely identifies the supplier contact.
- SupplierId; integer; Value that uniquely identifies the supplier.
- SupplierNumber; string; Number that identifies the supplier.
- SupplierQuoteNumber; string; Number that indicates the quote provided by supplier.
- SupplierSite; string; Value that identifies the supplier site.
- SupplierSiteAddress; string; Address for the supplier site.
- SupplierSiteId; integer; Value that uniquely identifies the supplier site.
- SystemStatus; string; System status of the supplier program.
- SystemStatusCode; string; Abbreviation that identifies the system status of the supplier program.
- ToDate; string; Date until when the program is applicable.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : channelPrograms
Type:
Show Source
object-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
ItemsThe items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
LinksThe link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-item-response
Type:
Show Source
object-
alternateSupplierSites: array
Alternate Supplier Sites
Title:
Alternate Supplier SitesThe Alternate Supplier Sites resource manages alternate supplier sites of a supplier rebate program. -
ApplyManuallyToOrderFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the channel program is not automatically applied on sales orders even if the eligibility criteria is met. If false, then the channel program is automatically applied on sales orders upon eligibility evaluation. The value is defaulted from program type. -
attachments: array
Attachments
Title:
AttachmentsThe Attachments resource is used to view, create, and update attachments. -
AvailableAmount: number
Read Only:
trueAvailable amount in the channel program. -
BusinessUnit: string
Name of the business unit.
-
BusinessUnitId: integer
(int64)
Value that uniquely identifies the business unit.
-
CalculationMethod: string
Method used for calculating accruals in the channel program. A list of accepted values is defined in the lookup type ORA_CJM_TIER_CALC_METHOD.
-
CalculationMethodCode: string
Maximum Length:
30Abbreviation that identifies the calculation method used for calculating accruals in the channel program. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
Currency: string
Name of the currency used for the channel program.
-
CurrencyCode: string
Maximum Length:
15Abbreviation that identifies the currency used for the channel program. -
Description: string
Maximum Length:
1000Description of the channel program. -
DFF: array
Descriptive Flexfields for Channel Programs
Title:
Descriptive Flexfields for Channel ProgramsThe Descriptive Flexfields for Channel Programs resource manages additional details for a program. -
EarnedAmount: number
Read Only:
trueEarned amount in the channel program. -
EffectiveDateType: string
Maximum Length:
255Name of the effective date type used for evaluating supplier program eligibility. A list of accepted values is defined in the lookup type ORA_CJM_PRICING_APP_DATE_TYPE. -
EffectiveDateTypeCode: string
Maximum Length:
30Default Value:FROMAbbreviation that identifies the sales order date type used for evaluating channel program eligibility. A list of accepted values is defined in the lookup type ORA_CJM_PRICING_APP_DATE_TYPE. -
FromDate: string
(date)
Date from when the program is applicable.
-
InitiatedBy: string
Value that identifies if the program was created by the supplier contact or the internal distributor user.
-
InitiatedByCode: string
Maximum Length:
20Abbreviation that identifies if the program was created by the supplier contact or the internal distributor user. -
InProgressAmount: number
Read Only:
trueIn-progress amount in the channel program. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
marketRules: array
Market Rules
Title:
Market RulesThe Market Rules resource manages rules for identifying eligible customers for a program. This resource has been superseded by the marketRulesV2 resource. -
notes: array
Notes
Title:
NotesThe Notes resource captures comments, information, or instructions for a supplier program. -
OpenAmount: number
Read Only:
trueOpen amount in the channel program. -
OverrideProgramFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the channel programs that are automatically applied on sales orders can be overridden. If false, then the channel programs applied on sales orders cannot be overridden. The value is defaulted from program type. -
Owner: string
Name of the person who owns the channel program. This attribute defaults to the name of the person who creates the program.
-
OwnerId: integer
(int64)
Value that uniquely identifies the person who owns the channel program.
-
OwnerPersonNumber: string
Maximum Length:
255Number that uniquely identifies the person who owns the channel program. -
PaidAmount: number
Read Only:
truePaid amount in the channel program. -
productRules: array
Product Rules
Title:
Product RulesThe Product Rules resource manages rules for identifying eligible products for a program. -
ProgramCode: string
Maximum Length:
30Abbreviation that uniquely identifies the channel program. -
ProgramId: integer
(int64)
Value that uniquely identifies the channel program. It is a primary key that the application generates when it creates the program.
-
ProgramName: string
Title:
NameMaximum Length:240Name of the channel program. -
programRules: array
Program Rules
Title:
Program RulesThe Program Rules resource manages mandatory market rules for a program. -
ProgramTemplate: string
Name of the predefined program template on which the channel program is based. A list of accepted values is defined in the lookup type ORA_CJM_PROGRAM_TYPE.
-
ProgramTemplateCode: string
Maximum Length:
30Abbreviation that identifies the predefined program template on which the channel program is based. -
ProgramType: string
Type of program on which the channel program is based.
-
ProgramTypeId: integer
(int64)
Value that uniquely identifies the type of program on which the channel program is based.
-
PurchasedAmount: number
Read Only:
truePurchase amount in the channel program. -
Status: string
Status of the channel program.
-
StatusId: integer
(int64)
Value that uniquely identifies the status of the channel program.
-
Supplier: string
Name of the supplier supporting the channel program.
-
SupplierAuthorizationNumber: string
Maximum Length:
30Number that identifies the authorization provided by supplier. -
SupplierContact: string
Person who represents the supplier when communicating with the buyer.
-
SupplierContactId: integer
(int64)
Value that uniquely identifies the supplier contact.
-
SupplierId: integer
(int64)
Value that uniquely identifies the supplier.
-
SupplierNumber: string
Number that identifies the supplier.
-
SupplierQuoteNumber: string
Maximum Length:
30Number that indicates the quote provided by supplier. -
SupplierSite: string
Value that identifies the supplier site.
-
SupplierSiteAddress: string
Read Only:
trueMaximum Length:255Address for the supplier site. -
SupplierSiteId: integer
(int64)
Value that uniquely identifies the supplier site.
-
SystemStatus: string
Read Only:
trueMaximum Length:255System status of the supplier program. -
SystemStatusCode: string
Maximum Length:
30Abbreviation that identifies the system status of the supplier program. -
ToDate: string
(date)
Date until when the program is applicable.
-
volumeRules: array
Volume Rules
Title:
Volume RulesThe Volume Rules resource manages volume rules of a volume program.
Nested Schema : Alternate Supplier Sites
Type:
arrayTitle:
Alternate Supplier SitesThe Alternate Supplier Sites resource manages alternate supplier sites of a supplier rebate program.
Show Source
Nested Schema : Attachments
Type:
arrayTitle:
AttachmentsThe Attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : Descriptive Flexfields for Channel Programs
Type:
arrayTitle:
Descriptive Flexfields for Channel ProgramsThe Descriptive Flexfields for Channel Programs resource manages additional details for a program.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Market Rules
Type:
arrayTitle:
Market RulesThe Market Rules resource manages rules for identifying eligible customers for a program. This resource has been superseded by the marketRulesV2 resource.
Show Source
Nested Schema : Notes
Type:
arrayTitle:
NotesThe Notes resource captures comments, information, or instructions for a supplier program.
Show Source
Nested Schema : Product Rules
Type:
arrayTitle:
Product RulesThe Product Rules resource manages rules for identifying eligible products for a program.
Show Source
Nested Schema : Program Rules
Type:
arrayTitle:
Program RulesThe Program Rules resource manages mandatory market rules for a program.
Show Source
Nested Schema : Volume Rules
Type:
arrayTitle:
Volume RulesThe Volume Rules resource manages volume rules of a volume program.
Show Source
Nested Schema : channelPrograms-alternateSupplierSites-item-response
Type:
Show Source
object-
AlternateSupplierSiteId: integer
(int64)
Value that uniquely identifies the alternate supplier site.
-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProcurementBusinessUnit: string
Name of the procurement business unit.
-
ProcurementBusinessUnitId: integer
Value that uniquely identifies the procurement business unit.
-
Supplier: string
Name of the alternate supplier supporting the channel program.
-
SupplierId: integer
Value that uniquely identifies the alternate supplier.
-
SupplierNumber: string
Number that identifies the alternate supplier.
-
SupplierSite: string
Maximum Length:
240Name of the alternate supplier site. -
SupplierSiteAddress: string
Maximum Length:
4000Address of the alternate supplier site. -
SupplierSiteId: integer
(int64)
Value that identifies the alternate supplier site.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : channelPrograms-attachments-item-response
Type:
Show Source
object-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAttribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:255User who created the record. -
CreatedByUserName: string
Title:
Created By User NameRead Only:trueUser who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the record was created. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEValue that indicates the data type. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Document ID from which the attachment is created. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path from which the attachment is created. -
DmVersionNumber: string
Maximum Length:
255Document version number from which the attachment was created. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to retrieve a file attachment programmatically. -
ErrorStatusCode: string
Title:
Error Status CodeError code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageError message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateExpiration date of the contents in the attachment. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048File name of the attachment. -
FileUrl: string
Title:
File UrlURI of the file. -
FileWebImage: string
(byte)
Title:
File Web ImageRead Only:trueBase64 encoded image of the file displayed in .png format, if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:255User who last updated the record. -
LastUpdatedByUserName: string
Title:
Last Updated By UserRead Only:trueUser who most recently updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeSize of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameName to assign to a new attachment file. -
UploadedText: string
Title:
Uploaded TextText content for a new text attachment. -
Uri: string
Title:
UriMaximum Length:4000URI of a Topology Manager type attachment. -
Url: string
Title:
UrlMaximum Length:4000URL of a web page type attachment. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255Session login associated with the user who created the attachment.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-DFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:30Descriptive flexfield context name for product rule. -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentDescriptive flexfield context display value for product rule. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProgramHeaderId: integer
(int64)
Value that uniquely identifies the channel program.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-marketRules-item-response
Type:
Show Source
object-
ComparisonOperatorCode: string
Maximum Length:
30Abbreviation that identifies the comparison operator used in market rule. A list of accepted values is defined in the lookup type ORA_CJM_QUALIFIER_OPERATOR. -
conditions: array
Conditions
Title:
ConditionsThe Conditions resource manages additional conditions for a market rule of a program. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
FromDate: string
(date)
Date when the qualifier becomes applicable.
-
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProgramId: integer
(int64)
Value that uniquely identifies the channel program.
-
QualifierId: integer
(int64)
Value that uniquely identifies the market rule. It is a primary key that the application generates when it creates the market rule.
-
QualifierType: string
Maximum Length:
255Type of qualifier used to define the eligibility of the channel program. A list of accepted values is defined in the lookup type ORA_CJM_QUALIFIER_TYPE. -
QualifierTypeCode: string
Maximum Length:
30Abbreviation that identifies the type of qualifier used to define the eligibility of the channel program. -
QualifierValue: string
Read Only:
trueMaximum Length:255Name of the qualifier used in channel program qualification. -
QualifierValueCode: string
Maximum Length:
240Abbreviation that identifies the qualifier used in channel program qualification. -
ToDate: string
(date)
Date when the qualifier is no longer applicable.
Nested Schema : Conditions
Type:
arrayTitle:
ConditionsThe Conditions resource manages additional conditions for a market rule of a program.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-marketRules-conditions-item-response
Type:
Show Source
object-
ComparisonOperatorCode: string
Maximum Length:
30Abbreviation that identifies the comparison operator used in market rule condition. A list of accepted values is defined in the lookup type ORA_CJM_QUALIFIER_OPERATOR. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
QualifierConditionId: integer
(int64)
Value that uniquely identifies the market rule condition. It is a primary key that the application generates when it creates the market rule condition.
-
QualifierId: integer
(int64)
Value that uniquely identifies the market rule.
-
QualifierType: string
Type of qualifier used to define the eligibility of the channel program. A list of accepted values is defined in the lookup type ORA_CJM_QUALIFIER_TYPE.
-
QualifierTypeCode: string
Maximum Length:
30Abbreviation that identifies the type of qualifier used to define channel program eligibility. -
QualifierValue: string
Read Only:
trueMaximum Length:255Type of qualifier used in channel program qualification. -
QualifierValueCode: string
Maximum Length:
240Abbreviation that identifies the qualifier used in channel program qualification. -
QualifierValueToCode: string
Maximum Length:
240Abbreviation that identifies the qualifier used in channel program qualification. This attribute is required when comparison operator Between is selected.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-notes-item-response
Type:
Show Source
object-
ContactRelationshipId: integer
(int64)
Title:
Contact Relationship IDRelationship ID populated when the note is associated with a contact. -
CorpCurrencyCode: string
Title:
Corporate Currency CodeMaximum Length:15Corporate currency code for extensibility. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the record was created. -
CreatorPartyId: integer
(int64)
Title:
Creator Party IDParty ID for the note creator. -
CurcyConvRateType: string
Title:
Currency Conversion Rate TypeMaximum Length:30Currency conversion rate type for extensibility. -
CurrencyCode: string
Title:
CurrencyMaximum Length:15Currency code for extensibility. -
DeleteFlag: boolean
Title:
Delete IndicatorRead Only:trueIndicates whether the user has access to delete the note. -
EmailAddress: string
Read Only:
trueMaximum Length:320Email address of the user who created the note. -
FormattedAddress: string
Read Only:
trueAddress of the user who created the note. -
FormattedPhoneNumber: string
Read Only:
truePhone number of the user who created the note. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64User who most recently updated the record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32Session login associated with the user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NoteId: integer
(int64)
Title:
Note IDRead Only:trueValue that uniquely identifies the note. This is the primary key of the notes table. -
NoteNumber: string
Maximum Length:
30Alternate unique identifier of the note. This is a user key that is system-generated or imported from an external system. -
NoteTitle: string
Title:
TitleMaximum Length:500Title of the note entered by the user. -
NoteTxt: string
(byte)
Title:
NoteColumn that stores the actual note text. -
NoteTypeCode: string
Title:
TypeMaximum Length:30Note type code for categorization of note. -
ParentNoteId: integer
(int64)
Title:
Parent Note IDValue that uniquely identifies the parent source object associated with the note. -
PartyId: integer
(int64)
Read Only:
trueValue that uniquely identifies the party. -
PartyName: string
Title:
AuthorRead Only:trueMaximum Length:360Name of the party. -
SourceObjectCode: string
Title:
Related Object TypeMaximum Length:30Source object code for the source object as defined in the OBJECTS metadata. -
SourceObjectId: string
Title:
Related ObjectMaximum Length:64Value that uniquely identifies the parent source object associated to the note. -
SourceSystem: string
Title:
Source SystemMaximum Length:30This is the source object code for the source object as defined in OBJECTS Metadata. -
UpdateFlag: boolean
Title:
Update IndicatorRead Only:trueIndicates whether the user can update the note. -
VisibilityCode: string
Title:
PrivateMaximum Length:30Default Value:INTERNALAttribute to specify the visibility level of the note. It indicates whether the note is internal, external, or private.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-productRules-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
DFF: array
Descriptive Flexfields for Product Rules
Title:
Descriptive Flexfields for Product RulesThe Descriptive Flexfields for Product Rules resource manages additional details about a product rule of a program. -
DiscountType: string
Type of discount. A list of accepted values is defined in the lookup type ORA_CJM_LINE_DISCOUNT_TYPE.
-
DiscountTypeCode: string
Maximum Length:
30Abbreviation that identifies the type of discount. -
DiscountValue: number
Value of the discount.
-
FromDate: string
(date)
Date when the product rule becomes applicable.
-
Item: string
Name of the item in the inventory.
-
ItemDescription: string
Description of the item in the inventory.
-
ItemId: string
Maximum Length:
240Value that uniquely identifies the item in the inventory. -
ItemLevel: string
Level at which discounts are defined. Valid values include Item and All Items. A list of accepted values is defined in the lookup type ORA_CJM_ITEM_LEVEL.
-
ItemLevelCode: string
Maximum Length:
30Abbreviation that identifies the level at which discounts are defined. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MaximumQuantity: number
Maximum quantity allowed for each product rule.
-
ProgramId: integer
(int64)
Name that identifies the qualifier used in channel program qualification.
-
ProgramLineId: integer
Value that uniquely identifies the product rule. It is a primary key that the application generates when it creates the product rule.
-
SupplierItem: string
Maximum Length:
255Name of the supplier item. -
SupplierItemDescription: string
Maximum Length:
255Description of the supplier item. -
SupplierItemId: integer
(int64)
Value that uniquely identifies the supplier item.
-
ToDate: string
(date)
Date when the product rule is no longer applicable.
-
UnitOfMeasure: string
Unit of measure of the item for pricing.
-
UOMCode: string
Maximum Length:
30Abbreviation that identifies the unit of measure for pricing.
Nested Schema : Descriptive Flexfields for Product Rules
Type:
arrayTitle:
Descriptive Flexfields for Product RulesThe Descriptive Flexfields for Product Rules resource manages additional details about a product rule of a program.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-productRules-DFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:30Descriptive flexfield context name for product rule. -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentDescriptive flexfield context display value for product rule. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProgramLineId: integer
Value that uniquely identifies the product rule.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-programRules-item-response
Type:
Show Source
object-
AccountNumber: string
Read Only:
trueMaximum Length:255Number of the bill-to customer account. -
Address: string
Read Only:
trueMaximum Length:255Address for the customer. It applies if the qualifier type is Customer, Bill-to Account, or Ship To. -
ComparisonOperator: string
Maximum Length:
255Name of the comparison operator used in the program rule. A list of accepted values is defined in the lookup type ORA_CJM_QUALIFIER_OPERATOR. -
ComparisonOperatorCode: string
Maximum Length:
30Abbreviation that identifies the comparison operator used in program rule. A list of accepted values is defined in the lookup type ORA_CJM_QUALIFIER_OPERATOR. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
Customer: string
Read Only:
trueMaximum Length:255Name of the customer. -
CustomQualifierFlag: boolean
Read Only:
trueMaximum Length:255Contains one of the following values: true or false. If true, it's a custom qualifier; if false, it isn't. The default value is false. -
DomainDataTypeCode: string
Read Only:
trueMaximum Length:255Type of dimension data. Valid values include text, number, date, and timestamp. Accepted values are defined in the lookup type ORA_QP_MTRXR_DIMN_DATA_TYPES. -
DomainLookupTypeCode: string
Read Only:
trueMaximum Length:255Lookup type code for the dimension within the lookup domain type. -
DomainTypeCode: string
Read Only:
trueMaximum Length:255Type of domain. Valid values include lookup, view object query, and custom. Accepted values are defined in the lookup type ORA_QP_MTRXR_DIMN_DOMAIN_TYPES. -
LastUpdateDate: string
(date-time)
Read Only:
trueUser who most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64Login that the user used when updating the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MatrixDimensionId: integer
Read Only:
trueValue that uniquely identifies the dimension. -
ProgramId: integer
(int64)
Value that uniquely identifies the channel program.
-
QualifierId: integer
(int64)
Value that uniquely identifies the program rule.
-
QualifierNumberValueCode: integer
Read Only:
trueValue of the numeric qualifier used in the supplier program qualification. -
QualifierType: string
Type of qualifier used to define eligibility of the channel program. A list of accepted values is defined in the lookup type ORA_CJM_QUALIFIER_TYPE.
-
QualifierTypeCode: string
Maximum Length:
30Abbreviation that identifies the type of qualifier used to define channel program eligibility. -
QualifierValue: string
Maximum Length:
255Name of the qualifier used in channel program qualification. -
QualifierValueCode: string
Maximum Length:
240Abbreviation that identifies the qualifier used in channel program qualification. -
Site: string
Read Only:
trueMaximum Length:255Name of the bill-to customer account site or the ship-to site.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-volumeRules-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
DiscountType: string
Read Only:
trueType of discount. A list of accepted values is defined in the lookup type ORA_CJM_LINE_DISCOUNT_TYPE. -
DiscountTypeCode: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the type of discount. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Login credentials that the user used to update the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
products: array
Products
Title:
ProductsThe Products resource manages the eligible products for a volume program. -
ProgramId: integer
(int64)
Read Only:
trueValue that uniquely identifies the channel program. -
tiers: array
Tiers
Title:
TiersThe Tiers resource manages the tier definition of a volume program. -
TierType: string
Tier types supported in the channel program. A list of accepted values is defined in the lookup type ORA_CJM_TIER_TYPE.
-
TierTypeCode: string
Maximum Length:
30Abbreviation that identifies the tier type. -
UnitOfMeasure: string
Unit of measure of the item.
-
UOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measure. -
VolumeRuleId: integer
(int64)
Read Only:
trueValue that uniquely identifies the volume rule. -
VolumeRuleName: string
Maximum Length:
240Name of the volume rule.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Products
Type:
arrayTitle:
ProductsThe Products resource manages the eligible products for a volume program.
Show Source
Nested Schema : Tiers
Type:
arrayTitle:
TiersThe Tiers resource manages the tier definition of a volume program.
Show Source
Nested Schema : channelPrograms-volumeRules-products-item-response
Type:
Show Source
object-
Category: string
Name of the category.
-
CategoryCode: string
Abbreviation that identifies the category.
-
CategoryDescription: string
Description of the category.
-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
exclusions: array
Exclusions
Title:
ExclusionsThe Exclusions resource manages the product or category exclusions from the volume program. -
IncludeVolumeExcludeDiscountFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the product volume is considered for tier calculation but not for any discount. If false, then the product volume is considered for tier calculation and for discounts. The default value is false. -
Item: string
Name of the item in the inventory.
-
ItemDescription: string
Description of the item in the inventory.
-
ItemId: string
Maximum Length:
240Value that uniquely identifies the item in the inventory. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
LineLevel: string
Level at which discounts are defined. A list of accepted values is defined in the lookup type ORA_CJM_PROG_ITEM_LEVEL.
-
LineLevelCode: string
Maximum Length:
30Abbreviation that identifies the level at which discounts are defined. -
LineNumber: number
Number that identifies the product line.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProductId: integer
Value that uniquely identifies the product line.
-
SupplierItem: string
Name of the supplier item.
-
SupplierItemDescription: string
Description of the supplier item.
-
SupplierItemId: integer
(int64)
Value that uniquely identifies the supplier item.
-
VolumeRuleId: integer
(int64)
Value that uniquely identifies the volume rule.
Nested Schema : Exclusions
Type:
arrayTitle:
ExclusionsThe Exclusions resource manages the product or category exclusions from the volume program.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-volumeRules-products-exclusions-item-response
Type:
Show Source
object-
Category: string
Name of the category.
-
CategoryCode: string
Abbreviation that identifies the category.
-
CategoryDescription: string
Description of the category.
-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
ExclusionId: integer
(int64)
Value that uniquely identifies the exclusion.
-
Item: string
Name of the item in the inventory.
-
ItemDescription: string
Description of the item in the inventory.
-
ItemId: string
Maximum Length:
240Value that uniquely identifies the item in the inventory. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
LineLevel: string
Level at which discounts are defined. A list of accepted values is defined in the lookup type ORA_CJM_PROG_ITEM_LEVEL.
-
LineLevelCode: string
Maximum Length:
30Abbreviation that identifies the level at which discounts are defined. -
LineNumber: number
Number that identifies the product line.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProductId: integer
(int64)
Value that uniquely identifies the product line.
-
SupplierItem: string
Name of the supplier item.
-
SupplierItemDescription: string
Description of the supplier item.
-
SupplierItemId: integer
(int64)
Value that uniquely identifies the supplier item.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : channelPrograms-volumeRules-tiers-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PreQualifyingTierFlag: boolean
Maximum Length:
1Contains one of the following values: true or false. If true, then the tier calculation starts from the corresponding tier. If false, then the tier calculation starts from the first tier. The default value is false. -
TierDiscount: number
Value of the tier discount.
-
TierFrom: number
Value from which the tier is eligible.
-
TierId: integer
(int64)
Read Only:
trueValue that uniquely identifies the tier. -
TierName: string
Maximum Length:
240Name of the tier. -
TierNumber: number
Read Only:
trueNumber that identifies the tier. -
TierTo: number
Value till the tier is eligible.
-
VolumeRuleId: integer
(int64)
Read Only:
trueValue that uniquely identifies the volume rule.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Examples
This example describes how to get all programs.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -u username:password "https://servername/fscmRestApi/resources/version/channelPrograms"
Example Response Body
The following shows an example of the response body in JSON format.
{
"items": [
{
"ProgramId": 300100185773684,
"ProgramType": "Sales Initiated",
"ProgramTypeId": 300100185735482,
"ProgramTemplate": "Supplier Ship and Debit",
"ProgramTemplateCode": "SUPPLIER_SHIP_AND_DEBIT",
"BusinessUnit": "Vision Operations",
"BusinessUnitId": 204,
"ProgramName": "CA Vendor Rebate",
"ProgramCode": "SSD13001",
"Owner": "channel_user",
"OwnerId": 300100181693728,
"Status": "Active",
"StatusId": 300100183528749,
"Currency": "US Dollar",
"CurrencyCode": "USD",
"Description": null,
"CreatedBy": "channel_user",
"CreationDate": "2020-06-03T02:03:38+00:00",
"LastUpdatedBy": "channel_user",
"LastUpdateDate": "2020-06-03T02:03:38.628+00:00",
"Supplier": "CDS, Inc",
"SupplierId": 1178,
"SupplierNumber": "5102",
"SupplierSite": "PITTSBURGH",
"SupplierSiteId": 2854,
"SupplierAuthorizationNumber": null,
"SupplierQuoteNumber": null,
"EffectiveDateTypeCode": "REQ_SHIP_DATE",
"FromDate": "2020-06-03",
"ToDate": "2021-06-03",
"ApplyManuallyToOrderFlag": false,
"OverrideProgramFlag": true,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773684",
"name": "channelPrograms",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773684",
"name": "channelPrograms",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773684/child/DFF",
"name": "DFF",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773684/child/marketRules",
"name": "marketRules",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773684/child/productRules",
"name": "productRules",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773684/child/programRules",
"name": "programRules",
"kind": "collection"
}
]
},
{
"ProgramId": 300100185773659,
"ProgramType": "Sales Initiated",
"ProgramTypeId": 300100185735482,
"ProgramTemplate": "Supplier Ship and Debit",
"ProgramTemplateCode": "SUPPLIER_SHIP_AND_DEBIT",
"BusinessUnit": "Vision Operations",
"BusinessUnitId": 204,
"ProgramName": "NY Vendor Rebate",
"ProgramCode": "SSD13000",
"Owner": "channel_user",
"OwnerId": 300100181693728,
"Status": "Active",
"StatusId": 300100183528749,
"Currency": "US Dollar",
"CurrencyCode": "USD",
"Description": null,
"CreatedBy": "channel_user",
"CreationDate": "2020-06-03T01:58:33+00:00",
"LastUpdatedBy": "channel_user",
"LastUpdateDate": "2020-06-03T01:58:35.823+00:00",
"Supplier": "CDS, Inc",
"SupplierId": 1178,
"SupplierNumber": "5102",
"SupplierSite": "PITTSBURGH",
"SupplierSiteId": 2854,
"SupplierAuthorizationNumber": null,
"SupplierQuoteNumber": null,
"EffectiveDateTypeCode": "REQ_SHIP_DATE",
"FromDate": "2020-06-03",
"ToDate": "2021-06-03",
"ApplyManuallyToOrderFlag": false,
"OverrideProgramFlag": true,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773659",
"name": "channelPrograms",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773659",
"name": "channelPrograms",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773659/child/DFF",
"name": "DFF",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773659/child/marketRules",
"name": "marketRules",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773659/child/productRules",
"name": "productRules",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms/300100185773659/child/programRules",
"name": "programRules",
"kind": "collection"
}
]
}
],
"count": 2,
"hasMore": false,
"limit": 25,
"offset": 0,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/channelPrograms",
"name": "channelPrograms",
"kind": "collection"
}
]
}