Create a balance consumption criterion
post
/crmRestApi/resources/11.13.18.05/subscriptionBalanceRegisters/{BalanceRegisterNumber}/child/registerCriteria
Request
Path Parameters
-
BalanceRegisterNumber(required): string
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
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.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
BalanceCriteriaDescription: string
Title:
Description
Maximum Length:300
The description of subscription balance consumption criterion. -
BalanceCriteriaId: integer
(int64)
The unique identifier of the subscription balance consumption criterion.
-
BalanceCriteriaNumber(required): string
Title:
Criteria
Maximum Length:120
The unique number of the subscription balance consumption criterion. -
BalanceCriteriaStatus: string
Title:
Status
Maximum Length:30
Default Value:ORA_OSS_DRAFT
The status of the subscription balance consumption criterion. -
BalanceCriteriaUsage(required): string
Title:
Usage
Maximum Length:30
The usage condition of subscription balance consumption criterion. -
ObjectVersionNumber: integer
(int32)
The object version number updated after every update of a subscription balance consumption criterion.
-
subscriptionBalancePredicates: array
Subscription Balance Consumption Predicates
Title:
Subscription Balance Consumption Predicates
The subscription balance consumption predicates resource is used to view, create, update, and delete balance predicate.You can define the rules on how the allowance has to be consumed in the order or preference. For example if the rollover balance has to be consumed first or later.
Nested Schema : Subscription Balance Consumption Predicates
Type:
array
Title:
Subscription Balance Consumption Predicates
The subscription balance consumption predicates resource is used to view, create, update, and delete balance predicate.You can define the rules on how the allowance has to be consumed in the order or preference. For example if the rollover balance has to be consumed first or later.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
BalanceAttributeId: integer
(int64)
The unique identifier of the subscription balance consumption attribute.
-
BalanceAttributeName: string
Title:
Attribute Name
Maximum Length:240
The name of the subscription balance consumption attribute. -
BalanceCriteriaId: integer
(int64)
The balance criteria identifier of subscription balance consumption predicate.
-
BalanceObjectId: integer
(int64)
The balance object identifier of subscription balance consumption predicate.
-
BalanceObjectName: string
Title:
Object Name
Maximum Length:120
The balance object name of subscription balance consumption predicate. -
BalancePredicateCharacterValue: string
Title:
Value
Maximum Length:600
The balance predicate character value of subscription balance consumption predicate. -
BalancePredicateDateValue: string
(date)
Title:
Value
The balance predicate date value of subscription balance consumption predicate. -
BalancePredicateDecimalValue: number
Title:
Value
The balance predicate decimal value of subscription balance consumption predicate. -
BalancePredicateId: integer
(int64)
The unique identifier of the subscription balance consumption predicate.
-
BalancePredicateNumber: string
Title:
Number
Maximum Length:120
The unique number of the subscription balance consumption predicate. -
BalancePredicateNumberValue: integer
Title:
Value
The number value of the subscription balance consumption predicate. -
BalancePredicateOperator: string
Title:
Operator
Maximum Length:30
The operator value of the subscription balance consumption predicate. -
BalancePredicateSequence: integer
Title:
Sequence
The balance predicate sequence of the subscription balance consumption predicate. -
BalancePredicateSortBy: string
Title:
Sort Order
Maximum Length:30
The sort by criterion of the subscription balance consumption predicate. -
BalancePredicateTimeValue: string
(date-time)
Title:
Value
The time value of the subscription balance consumption predicate.
Response
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 : subscriptionBalanceRegisters-registerCriteria-item-response
Type:
Show Source
object
-
BalanceCriteriaDescription: string
Title:
Description
Maximum Length:300
The description of subscription balance consumption criterion. -
BalanceCriteriaId: integer
(int64)
The unique identifier of the subscription balance consumption criterion.
-
BalanceCriteriaNumber: string
Title:
Criteria
Maximum Length:120
The unique number of the subscription balance consumption criterion. -
BalanceCriteriaStatus: string
Title:
Status
Maximum Length:30
Default Value:ORA_OSS_DRAFT
The status of the subscription balance consumption criterion. -
BalanceCriteriaUsage: string
Title:
Usage
Maximum Length:30
The usage condition of subscription balance consumption criterion. -
CreatedBy: string
Read Only:
true
Maximum Length:64
The user who created the subscription balance consumption criterion. -
CreationDate: string
(date-time)
Read Only:
true
The date when the subscription balance consumption criterion was created. -
LastUpdateDate: string
(date-time)
Read Only:
true
The date when the subscription balance consumption criterion was last updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
The user who has last updated the subscription balance consumption criterion. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
The login of the user who last updated the subscription balance consumption criterion. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
The object version number updated after every update of a subscription balance consumption criterion.
-
subscriptionBalancePredicates: array
Subscription Balance Consumption Predicates
Title:
Subscription Balance Consumption Predicates
The subscription balance consumption predicates resource is used to view, create, update, and delete balance predicate.You can define the rules on how the allowance has to be consumed in the order or preference. For example if the rollover balance has to be consumed first or later.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Subscription Balance Consumption Predicates
Type:
array
Title:
Subscription Balance Consumption Predicates
The subscription balance consumption predicates resource is used to view, create, update, and delete balance predicate.You can define the rules on how the allowance has to be consumed in the order or preference. For example if the rollover balance has to be consumed first or later.
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.
Nested Schema : subscriptionBalanceRegisters-registerCriteria-subscriptionBalancePredicates-item-response
Type:
Show Source
object
-
BalanceAttributeId: integer
(int64)
The unique identifier of the subscription balance consumption attribute.
-
BalanceAttributeName: string
Title:
Attribute Name
Maximum Length:240
The name of the subscription balance consumption attribute. -
BalanceCriteriaId: integer
(int64)
The balance criteria identifier of subscription balance consumption predicate.
-
BalanceObjectId: integer
(int64)
The balance object identifier of subscription balance consumption predicate.
-
BalanceObjectName: string
Title:
Object Name
Maximum Length:120
The balance object name of subscription balance consumption predicate. -
BalancePredicateCharacterValue: string
Title:
Value
Maximum Length:600
The balance predicate character value of subscription balance consumption predicate. -
BalancePredicateDateValue: string
(date)
Title:
Value
The balance predicate date value of subscription balance consumption predicate. -
BalancePredicateDecimalValue: number
Title:
Value
The balance predicate decimal value of subscription balance consumption predicate. -
BalancePredicateId: integer
(int64)
The unique identifier of the subscription balance consumption predicate.
-
BalancePredicateNumber: string
Title:
Number
Maximum Length:120
The unique number of the subscription balance consumption predicate. -
BalancePredicateNumberValue: integer
Title:
Value
The number value of the subscription balance consumption predicate. -
BalancePredicateOperator: string
Title:
Operator
Maximum Length:30
The operator value of the subscription balance consumption predicate. -
BalancePredicateSequence: integer
Title:
Sequence
The balance predicate sequence of the subscription balance consumption predicate. -
BalancePredicateSortBy: string
Title:
Sort Order
Maximum Length:30
The sort by criterion of the subscription balance consumption predicate. -
BalancePredicateTimeValue: string
(date-time)
Title:
Value
The time value of the subscription balance consumption predicate. -
CreatedBy: string
Read Only:
true
Maximum Length:64
The user who created the subscription balance consumption predicate. -
CreationDate: string
(date-time)
Read Only:
true
The date when the subscription balance consumption predicate was created. -
LastUpdateDate: string
(date-time)
Read Only:
true
The date when the subscription balance consumption predicate was last updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
The user who has last updated the subscription balance consumption predicate. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
The login of the user who last updated the subscription balance consumption predicate. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Read Only:
true
The object version number of the subscription balance consumption predicate.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- BalanceCriteriaStatusVA
-
Parameters:
- finder:
LookupTypeIsActiveEnabledFinder%3BBindLookupType%3DORA_OSS_BALANCE_MGMT_SETUP_STS
The following properties are defined on the LOV link relation:- Source Attribute: BalanceCriteriaStatus; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- BalanceCriteriaUsageVA
-
Parameters:
- finder:
LookupTypeIsActiveEnabledFinder%3BBindLookupType%3DORA_OSS_BALNCE_CRITERIA_USAGE
The following properties are defined on the LOV link relation:- Source Attribute: BalanceCriteriaUsage; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- subscriptionBalancePredicates
-
Parameters:
- BalanceCriteriaNumber:
$request.path.BalanceCriteriaNumber
- BalanceRegisterNumber:
$request.path.BalanceRegisterNumber
The subscription balance consumption predicates resource is used to view, create, update, and delete balance predicate.You can define the rules on how the allowance has to be consumed in the order or preference. For example if the rollover balance has to be consumed first or later. - BalanceCriteriaNumber: