Get a point type
get
/crmRestApi/resources/11.13.18.05/loyPointTypesLOV/{LoyAttrdefnBId}
Request
Path Parameters
-
LoyAttrdefnBId(required): integer(int64)
The primary key of loyalty attributes. Oracle Loyalty Cloud generates this attribute value. There is no default value, dependency, or limitation associated with this attribute.
Query Parameters
-
dependency: string
This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2
Format: <attr1>=<val1>,<attr2>=<value2> -
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 -
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 -
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
-
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.
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(required):
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(required):
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 : loyPointTypesLOV-item-response
Type:
Show Source
object
-
AccntActCode: string
Title:
Activity
Maximum Length:30
The point type account activity code. If this option is specified, then points expire if there is no activity of the type within the period specified for the point type. There is no default value, dependency, or limitation associated with this attribute. -
ActiveFlag: boolean
Title:
Active
Maximum Length:1
Default Value:false
The boolean attribute that specifies whether the created point type attribute is enabled for use or not. The default value is N. There is no dependency or limitation associated with this attribute. -
AttrDefnId: integer
(int64)
Title:
Attribute Definition ID
The primary key value of the loyalty attribute definitions corresponding to attribute types such as pointType, Member, Transaction, and so on. There is no default value, dependency, or limitation associated with this attribute. -
AttrTypeCode: string
Title:
Attribute Type Code
Maximum Length:30
The point type attribute type code. This attribute reflects the type of the attribute, for example, Field, Point Total, and so on. There is no default value, dependency, or limitation associated with this attribute. -
BusSvcName: string
Title:
Business Service Name
Maximum Length:75
The external business service that can be called in a promotion for the evaluation of business criteria. There is no default value, dependency, or limitation associated with this attribute. -
CancelActnCode: string
Title:
Cancel Action Code
Maximum Length:30
The specification of which action must be applied during a transaction cancellation. The accepted values are Leave As Is (if selected, the value of the attribute remains the same when a transaction is cancelled), Revert, and so on. There is no default value, dependency, or limitation associated with this attribute. -
CostPERPoint: number
Title:
Cost per Point
The cost for each point. If you want to allow the product to be redeemed for a combination of points and currency, then enter the amount of money assigned as the cash value of one point. There is no default value, dependency, or limitation associated with this attribute. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
The loyalty user that created the promotion attribute. Oracle Loyalty Cloud generates this attribute value during the creation of a new promotion attribute. There is no default value, dependency, or limitation associated with this attribute. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
The date when the point type attribute is created. Oracle Loyalty Cloud generates this attribute value during the creation of a new point type attribute. There is no default value, dependency, or limitation associated with this attribute. -
CurrencyCode: integer
(int64)
Title:
Currency
The currency used in the transaction. The accepted values are INR, USD, and GBP. There is no default value, dependency, or limitation associated with this attribute. -
CurrencyExchDt: string
(date)
Title:
Currency Exchange Date
The date when the point type attribute currency exchange takes place. This attribute displays the date of the currency exchange during the creation of the point type attribute. There is no default value, dependency, or limitation associated with this attribute. -
DataTypeCode: string
Title:
Data Type
Maximum Length:30
The point type attribute data type code indicates whether the attribute is a string, or number, and so on. During transaction cancellation, Oracle Loyalty Cloud determines whether certain cancel actions must be applied or not, based on the data type name. For example, the Cancel Change action is available only for the Number data type. The Revert action is only available for the String and Number data types, and the Leave As Is action is available for all data types. There is no default value, dependency, or limitation associated with this attribute. -
DataTypeMeaning: string
Title:
Data Type Meaning
Read Only:true
The data type meaning attribute indicates whether the attribute is a string, or a number, and so on. During transaction cancellation, Oracle Loyalty Cloud determines whether certain cancel actions must be applied or not, based on the data type name. For example, the Cancel Change action is available only for the Number data type. The Revert action is only available for the String and Number data types, and the Leave As Is action is available for all data types. There is no default value, dependency, or limitation associated with this attribute. -
DefaultValue: string
Title:
Default Value
Maximum Length:75
The default value that is used when the attribute is created for a member for the first time. There is no dependency or limitation associated with this attribute. -
DescriptionText: string
Title:
Description
Maximum Length:1000
The additional details that pertain to the point type. There is no default value, dependency associated with this attribute. -
DisplayFlag: boolean
Title:
Display
Maximum Length:1
Default Value:true
The boolean attribute that indicates whether the point type attribute should be displayed or not, so that it can be used in the promotion criteria. The default value is Y. There is no dependency or limitation associated with this attribute. -
DisplayName: string
Title:
Name
Maximum Length:30
The point types attribute display name that is displayed to the user. There is no default value, dependency, or limitation associated with this attribute. -
DynamicFlag: boolean
Title:
Dynamic
Maximum Length:1
Default Value:false
The boolean attribute that indicates whether the attribute value is calculated dynamically based on another attribute, which is used by the promotion criteria. The criteria can compare an attribute to a value or compare an attribute to another attribute. The default value is N. There is no dependency or limitation associated with this attribute. -
ExpiryAdjustmentMeaning: string
Read Only:
true
The blocks of points having different expiration dates and sales prices that are created at the time of credit. When members accrue points, these point blocks are debited based on a pricing rule, with the earliest expiration dates debited first. These point blocks require adjustment if there are errors in crediting or debiting point balances. There is no default value, dependency, or limitation associated with this attribute. -
ExpiryBasisCode: string
Title:
Expiry Basis
Maximum Length:30
The basis code for point type expiry. The accepted values are ORA_PT_EX_ACC_ACT, ORA_PT_EX_PERIOD. There is no default value, dependency, or limitation associated with this attribute. -
ExpiryBasisMeaning: string
Read Only:
true
The basis for point type expiry. The accepted values are Account Activity (points expire if there is no activity of the type and in the period specified for the point type), Period (expires after a period of time), Fixed Day or Fixed Month (specify the day and month when points expire). There is no default value, dependency, or limitation associated with this attribute. -
ExpiryDayCode: string
Title:
Expiration Day Code
Maximum Length:30
The expiry day attribute specifies the day of the month when the points expire if the expiry basis is Date. This attribute is dependent on Expiry Basis Code. There is no default value or limitation associated with this attribute. -
ExpiryMonthCode: string
Title:
Expiration Month Code
Maximum Length:30
The expiry month attribute specifies the month when the points expire if the expiry basis is Month. This attribute is dependent on Expiry Basis Code. There is no default value or limitation associated with this attribute. -
ExpPeriodLen: integer
Title:
Period Quantity
The expiry period length attribute is used to specify a length of time after when points expire. For example, if the points expire two years after they are earned, then the length is set to 2. After the points expire, the member can no longer exchange them for rewards. There is no default value, dependency, or limitation associated with this attribute. -
InternalName: string
Title:
Internal Name
Maximum Length:75
The point type attribute internal name. The accepted values are Date1 or Number1. There is no default value, dependency, or limitation associated with this attribute. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
The date when the point type attribute is last updated. Oracle Loyalty Cloud generates this attribute value and updates it whenever changes to the promotion attributes occur. There is no default value, dependency, or limitation associated with this attribute. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
The user that last updated the attribute. Oracle Loyalty Cloud generates this attribute value and updates it whenever changes to the point type attributes occur. There is no default value, dependency, or limitation associated with this attribute. -
LastUpdateLogin: string
Title:
Last Update Login
Read Only:true
Maximum Length:32
The login details of the user that last updated the attribute. Oracle Loyalty Cloud generates this attribute value and updates it whenever changes to the point type attributes occur. There is no default value, dependency, or limitation associated with this attribute. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LoyAttrdefnBId: integer
(int64)
Title:
Attribute Definition ID
The primary key of loyalty attributes. Oracle Loyalty Cloud generates this attribute value. There is no default value, dependency, or limitation associated with this attribute. -
MergeActionCode: string
Title:
Merge Action
Maximum Length:30
The attribute merge action specifies how the program handles the attribute during a member merge. There is no default value, dependency, or limitation associated with this attribute. -
MethodName: string
Title:
Method Name
Maximum Length:75
The method that is used in the calculation of the point type attribute value that can be used in a promotion criteria. For example, the ORA_CAL_METHOD_MONTH_NAME method returns the month name. There is no default value, dependency, or limitation associated with this attribute. -
MinimumReactivationQuantity: number
Title:
Minimum Reactivation Quantity
The minimum points required to reactivate the expired points so that they can be used for redemption. There is no default value, dependency, or limitation associated with this attribute. -
MonthsLength: number
Title:
Months Length
The numeric value that corresponds to the number of months during which points will expire. There is no default value, dependency, or limitation associated with this attribute. -
ObjectCode: string
Title:
Object Code
Maximum Length:30
The option to select values from entities such as Transaction, Member, Promotion and so on, when defining a promotion. There is no default value, dependency, or limitation associated with this attribute. -
PeriodUOMMeaning: string
Read Only:
true
The point type period unit of measure. Period type options are Days, Months, Quarters, Years, and so on. There is no default value, dependency, or limitation associated with this attribute. -
PickApplet: string
Title:
Pick Applet
Maximum Length:75
The point type pick applet attribute is a field whose values are entered using a dialog box. When defining criteria and actions, the dialog box with the values for this field is displayed. There is no default value, dependency, or limitation associated with this attribute. -
PickField: string
Title:
Pick Field
Maximum Length:75
The pick field whose value the user sees in the UI after selecting from the pick applet. There is no default value, dependency, or limitation associated with this attribute. -
PickFieldName: string
Title:
Pick Field Name
Maximum Length:75
The pick field name attribute is the user readable string of the attribute PickField. There is no default value, dependency, or limitation associated with this attribute. -
PickList: string
Title:
Pick List
Maximum Length:75
The pick list attribute is enabled if the attribute is a field whose values are entered using a picklist. When defining criteria and actions, the picklist with the values for this field is displayed. There is no default value, dependency, or limitation associated with this attribute. -
PointActivityMeaning: string
Read Only:
true
The point type activity options are Accrual, Redemption, or Accrual/Redemption. This field is activated only if the point expiry basis is account activity. There is no default value, dependency, or limitation associated with this attribute. -
PrgFormulaId: integer
(int64)
Title:
Program Formula ID
The program formula identifier that is available for use by a promotion, but only if it is associated with the same program as the program for the promotion. The formula can be used in criteria for comparisons and in actions for assigning values or updating attributes with the formula value. There is no default value, dependency, or limitation associated with this attribute. -
ProgramName: string
Read Only:
true
The program for which the point type is created. There is no default value, dependency, or limitation associated with this attribute. -
PromotionId: integer
(int64)
Title:
Promotion ID
The primary key of loyalty promotions. Oracle Loyalty Cloud generates this attribute value. There is no default value, dependency, or limitation associated with this attribute. -
PromotionName: string
Read Only:
true
The name of the promotion corresponding to the promotionId attribute. There is no default value, dependency, or limitation associated with this attribute. -
QualPointFlag: boolean
Title:
Qualifying
Maximum Length:1
Default Value:false
The point type qualifying point attribute is a boolean attribute that indicates that the points accrued when the promotion gets applied count toward earning tier status, but cannot be redeemed for rewards. The default value is N. There is no dependency or limitation associated with this attribute. -
ReactivateFlag: boolean
Title:
Reactivate
Maximum Length:1
Default Value:false
The reactivate flag attribute reactivates members points after they have expired. The default value is N. There is no dependency or limitation associated with this attribute. -
ReadonlyFlag: boolean
Title:
Read Only
Maximum Length:1
Default Value:false
The boolean attribute that specifies whether the point type attribute is editable or not. The default value is N. There is no dependency or limitation associated with this attribute. -
RetEffFlag: boolean
Maximum Length:
1
Default Value:false
The point type effective start date attribute indicates the date when the attribute can be used in promotions. There is no default value, dependency, or limitation associated with this attribute. -
RptExpPdUOMCode: string
Maximum Length:
30
The unit of measure (UOM) for the time period when the expired points can be reactivated. The accepted values are Years, Months, Days, and so on. For example, if the reactivation expiry period is one year then the UOM is Year and the expired points can be reactivated after a period of one year from the date of expiry. There is no default value or limitation associated with this attribute. -
RptExpPeriodLength: number
The time period when the expired points can be reactivated. For example, if the reactivation expiry period is one year, then the time period length is 1 and the expired points can be reactivated after a period of one year from the date of expiry. There is no default value or limitation associated with this attribute.
-
TierClassId: integer
(int64)
Title:
Tier Class ID
The primary attribute of the loyalty tier class, which indicates the class to which a specific tier belongs. There is no default value, dependency, or limitation associated with this attribute. -
TierClassName: string
Read Only:
true
The attribute indicates the name of the tier class corresponding to tierClassId attribute. There is no default value, dependency, or limitation associated with this attribute. -
WeightFactor: number
Title:
Weight Factor
The point type weight factor attribute is used to determine which promotion must be applied to the transaction, if multiple promotions qualify. There is no default value, dependency, or limitation associated with this attribute. -
WeightFactorNq: number
Title:
Weight Factor
The weight factor non-qualifying attribute is used to determine whether to generate qualifying or non-qualifying points of each type when the weight factor attribute is specified. This attribute has a dependency on the Weight Factor attribute. There is no default value or limitation associated with this attribute.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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.