Get Eligible Program Rebate Types
For more information about how to use the getEligibleProgramRebateTypes action in Flow Builder, see Configure the Output Parameter for the Get Eligible Program Rebate Types Flow Action in Flow Builder in Salesforce Help.
This object is available in API version 52.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/getEligibleProgramRebateTypes
- Formats
- JSON
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
Input | Details |
---|---|
appliedRebateTypesLimit |
|
appliedRebateTypesOffsetInput |
|
limit |
|
measureTypeFilter |
|
offset |
|
queryOnlyIntegrableProgramRebateTypes |
|
referenceObjectIds |
|
searchByRebateTypeName |
|
Outputs
Output | Details |
---|---|
resultantRebateTypes |
|
resultantRebateTypesForFlow |
|
Usage
JSON Sample
Request
{
"inputs":[{
"referenceObjectIds":["0lcxx00004000002AAA","0lcxx00004000002AAB"],
"queryOnlyIntegratableProgramRebateTypes": true,
"limit": 10,
"offset": 5
}]
}
JSON Sample
Response
{
resultantRebateTypes: {
"isSuccess":true,
"programRebateTypeIDs":[
{ReferenceObjectID: "0lcxx00004000002AAA", eligibleRebateTypes: [0lcxx00004000003AAA,0lcxx00004000003AAB], appliedRebateTypes: [0lcxx00004000004AAA,0lcxx00004000004AAB]},
{ReferenceObjectID: "0lcxx00004000002AAB", eligibleRebateTypes: [0lcxx00004000003AAC,0lcxx00004000003AAD], appliedRebateTypes: [0lcxx00004000005AAA,0lcxx00004000005AAB]}
],
"limit": 10,
"offset": 13,
"appliedRebateTypesLimit": 5,
"appliedRebateTypesOffset" 9,
"errors":null
},
resultantRebateTypesV2:{
"isSuccess":true,
"programRebateTypeIDs":[
{ReferenceObjectID: "0lcxx00004000002AAA", eligibleRebateTypes: [0lcxx00004000003AAA,0lcxx00004000003AAB], appliedRebateTypes: [0lcxx00004000004AAA,0lcxx00004000004AAB]},
{ReferenceObjectID: "0lcxx00004000002AAB", eligibleRebateTypes: [0lcxx00004000003AAC,0lcxx00004000003AAD], appliedRebateTypes: [0lcxx00004000005AAA,0lcxx00004000005AAB]}
],
"limit": 10,
"offset": 13,
"appliedRebateTypesLimit": 5,
"appliedRebateTypesOffset": 9,
"errors":null
}
}