Discount Ranges
The discount range collection resource is used to view, create, update, and delete a collection of discount ranges.
Resource Plural Label |
Discount Ranges |
Resource Name |
__ORACO__DiscountRangeCollection_c |
Get All Discount Ranges
Request: GET
URI: //crmRestApi/resources/11.13.18.05/__ORACO__Promotion_c/{Id}/child/__ORACO__DiscountRangeCollection_c
Request Path Parameters
There are no request path parameters for this task.
Request Query Parameters
Use these finder parameters to query the resource:
Finder Name | Description |
---|---|
Primary Key |
Finds a Discount Range with the specified primary key. Finder Variables:
|
Request Body
There are no elements in the request body for this task.
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Create a Discount Range
Request: POST
URI: //crmRestApi/resources/11.13.18.05/__ORACO__Promotion_c/{id}/child/__ORACO__DiscountRangeCollection_c
Request Path Parameters
There are no request path parameters for this task.
Request Body
This table summarizes the supported request body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Get a Discount Range
Request: GET
URI: //crmRestApi/resources/11.13.18.05/__ORACO__Promotion_c/{Id}/child/__ORACO__DiscountRangeCollection_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the Discount Range. |
Request Body
There are no elements in the request body for this task.
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Update a Discount Range
Request: PATCH
URI: //crmRestApi/resources/11.13.18.05/__ORACO__Promotion_c/{Id}/child/__ORACO__DiscountRangeCollection_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the Discount Range. |
Request Body
This table summarizes the request body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Replace a Discount Range
Request: PUT
URI: //crmRestApi/resources/11.13.18.05/__ORACO__Promotion_c/{Id}/child/__ORACO__DiscountRangeCollection_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the Discount Range. |
Request Body
This table summarizes the request body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Delete a Discount Range
Request: DELETE
URI: //crmRestApi/resources/11.13.18.05/__ORACO__Promotion_c/{Id}/child/__ORACO__DiscountRangeCollection_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the Discount Range. |
Request Body
There are no elements in the request body for this task.
Response Body
There are no elements in the response body for this task.
List of Values
This table lists all the list of values of the resource.
LOV Name | Source Attribute in LOV | Target Attribute in Resource |
---|---|---|
ViewAccessor_CurrencyCode |
CurrencyCode |
CurrencyCode |
Resource Attributes
This table lists all the attributes of the resource.
Attribute Name | Attribute Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the discount range collection. UI Label: Record ID |
RowType |
string |
The type of the discount range collection. Properties: The maximum length is 80. |
RecordName |
string |
The name of the discount range collection. Properties: The maximum length is 80. UI Label: Range Index |
CreatedBy |
string |
The user who created the discount range collection. Properties: The maximum length is 32. UI Label: Created By |
CreationDate |
datetime |
The date when the discount range collection was created. UI Label: Creation Date |
LastUpdatedBy |
string |
The user who last updated the discount range collection. Properties: The maximum length is 32. UI Label: Last Updated By |
LastUpdateDate |
datetime |
The date when the discount range collection was last updated. UI Label: Last Update Date |
__ORACO__Promotion_Id_c |
integer |
The unique identifier of the promotion associated with the shopping cart item. |
LastUpdateLogin |
string |
The login of the user who last updated the record. Properties: The maximum length is 32. |
UserLastUpdateDate |
datetime |
The date and time of the last user update made from a personal device. This value is different from LAST_UPDATE_DATE if the record was originally updated in a different database (a different mobile database or the server). |
CurrencyCode |
string |
The currency code associated with the discount range collection. This attribute is used by CRM Extensibility framework. A list of valid values are defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. Properties: The maximum length is 15. UI Label: Currency Code |
CurcyConvRateType |
string |
The currency conversion rate type associated with the discount range collection. This attribute is used by CRM Extensibility framework. A list of valid values are defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. Properties: The maximum length is 15. |
CorpCurrencyCode |
string |
The corporate currency code of the discount range collection. This attribute is used by CRM Extensibility framework. A list of valid values are defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. Properties: The maximum length is 15. |
__ORACO__MinimumQuantity_c |
integer |
The minimum quantity in the discount range. UI Label: Minimum Quantity |
__ORACO__MaximumQuantity_c |
integer |
The maximum quantity in the discount range. UI Label: Maximum Quantity |
__ORACO__DiscountPercentage_c |
number |
The discount in percentage. UI Label: Discount Percentage |
__ORACO__DiscountAmount_c |
number |
The discount in Amount. This value is generated when the discount method is chosen as "Amount". UI Label: Discount Amount |