Create a subscription balance register adjustment
post
/crmRestApi/resources/11.13.18.05/subscriptionBalanceRegisters/{BalanceRegisterNumber}/child/registerAllowances/{AllowanceGrantNumber}/child/SubscriptionBalanceRegisterAdjustments
Request
Path Parameters
-
AllowanceGrantNumber(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=
-
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: 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.
-
Upsert-Mode: string
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-
AdjustedAmount: number
Title:
Adjusted AmountThe calculated adjusted amount for the subscription balance register adjustment. -
AdjustedQuantity: number
Title:
Adjusted QuantityThe calculated adjusted quantity for the subscription balance register adjustment. -
AdjustmentDescription: string
Title:
DescriptionMaximum Length:120The description of the subscription balance register adjustment. -
AdjustmentName: string
Title:
NameMaximum Length:30The name of the subscription balance register adjustment. -
AdjustmentReasonCode: string
Title:
Adjustment ReasonMaximum Length:30The reason of the subscription balance register adjustment. -
AdjustmentType: string
Title:
Adjustment TypeMaximum Length:30The type of the subscription balance register adjustment. -
AdjustmentValue: number
Title:
ValueThe adjustment value provided by the user of the subscription balance register adjustment. -
BalanceAdjustmentId: integer
(int64)
Title:
Balance Adjustment IDThe identifier of the subscription balance register adjustments. -
BalanceAdjustmentNumber: string
Title:
Balance Adjustment NumberMaximum Length:120The balance adjustment number of the subscription balance register adjustments. -
BalanceAdjustmentPartialPeriodOption: string
Title:
Partial Period OptionMaximum Length:30The balance partial period option of the balance register adjustments. -
BalanceAdjustmentTerminatedPartialPeriodOption: string
Title:
Terminated Partial Period OptionMaximum Length:30The balance terminated partial period option of the balance register adjustments. -
BalanceCodeId: integer
(int64)
Title:
Balance Code IDThe identifier of the balance code associated to the subscription balance register adjustments. -
BalanceCodeType: string
Title:
Balance Code TypeMaximum Length:30The type of balance code for the subscription balance register adjustments. -
BalanceRegisterId: integer
(int64)
Title:
Balance Register IDThe identifier of balance register of the subscription balance register adjustments. -
BalanceRegisterPeriodId: integer
(int64)
Title:
Balance Register Period IDThe identifier of balance register period of the subscription balance register adjustments. -
CurrencyCode: string
Title:
Currency CodeMaximum Length:30The currency code of the subscription balance register adjustment. -
EntitlementId: integer
(int64)
Title:
Entitlement IDThe identifier of entitlement for which the balance register adjustment is created. -
EntitlementType: string
Title:
Entitlement TypesMaximum Length:120The type of entitlement for which the balance register adjustment is created. -
NetAdjustedAmount: number
Title:
Net Adjusted AmountThe net adjusted amount of the subscription balance register adjustment. -
NetAdjustedQuantity: number
Title:
Net Adjusted QuantityThe net adjusted quantity of the subscription balance register adjustment. -
SequenceNumber: number
Title:
Sequence NumberThe sequence number in which subscription balance register adjustment is created. -
SubscriptionProductId: integer
(int64)
Title:
Subscription Product IDThe identifier of the subscription product associated to the subscription balance register adjustment. -
TerminatedAmount: number
Title:
Terminated Adjusted AmountThe adjusted amount of the balance register adjustment that got terminated because the product was close. -
TerminatedQuantity: number
Title:
Terminated Adjusted QuantityThe adjusted quantity of the balance register adjustment that got terminated because the product was close.
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-registerAllowances-SubscriptionBalanceRegisterAdjustments-item-response
Type:
Show Source
object-
AdjustedAmount: number
Title:
Adjusted AmountThe calculated adjusted amount for the subscription balance register adjustment. -
AdjustedQuantity: number
Title:
Adjusted QuantityThe calculated adjusted quantity for the subscription balance register adjustment. -
AdjustmentDescription: string
Title:
DescriptionMaximum Length:120The description of the subscription balance register adjustment. -
AdjustmentName: string
Title:
NameMaximum Length:30The name of the subscription balance register adjustment. -
AdjustmentReasonCode: string
Title:
Adjustment ReasonMaximum Length:30The reason of the subscription balance register adjustment. -
AdjustmentType: string
Title:
Adjustment TypeMaximum Length:30The type of the subscription balance register adjustment. -
AdjustmentValue: number
Title:
ValueThe adjustment value provided by the user of the subscription balance register adjustment. -
BalanceAdjustmentId: integer
(int64)
Title:
Balance Adjustment IDThe identifier of the subscription balance register adjustments. -
BalanceAdjustmentNumber: string
Title:
Balance Adjustment NumberMaximum Length:120The balance adjustment number of the subscription balance register adjustments. -
BalanceAdjustmentPartialPeriodOption: string
Title:
Partial Period OptionMaximum Length:30The balance partial period option of the balance register adjustments. -
BalanceAdjustmentTerminatedPartialPeriodOption: string
Title:
Terminated Partial Period OptionMaximum Length:30The balance terminated partial period option of the balance register adjustments. -
BalanceCodeId: integer
(int64)
Title:
Balance Code IDThe identifier of the balance code associated to the subscription balance register adjustments. -
BalanceCodeMaxPrecision: integer
(int32)
Title:
Maximum PrecisionRead Only:trueThe maximum precision of balance code for the subscription balance register adjustments. -
BalanceCodeType: string
Title:
Balance Code TypeMaximum Length:30The type of balance code for the subscription balance register adjustments. -
BalanceFirstPartialPeriodOption: string
Title:
Balance First Partial Period OptionRead Only:trueMaximum Length:30The first balance partial period option of the product line of the balance register adjustments. -
BalanceLastPartialPeriodOption: string
Title:
Balance Last Partial Period OptionRead Only:trueMaximum Length:30The last balance partial period option of the product line of the balance register adjustments. -
BalanceRegisterId: integer
(int64)
Title:
Balance Register IDThe identifier of balance register of the subscription balance register adjustments. -
BalanceRegisterPeriodId: integer
(int64)
Title:
Balance Register Period IDThe identifier of balance register period of the subscription balance register adjustments. -
BalanceTerminatedPartialPeriodOption: string
Title:
Balance Terminated Partial Period OptionRead Only:trueMaximum Length:30The terminated balance partial period option of the product line of the balance register adjustments. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the subscription balance register adjustment. -
CreationDate: string
(date-time)
Read Only:
trueThe date when the subscription balance register adjustment was created. -
CurrencyCode: string
Title:
Currency CodeMaximum Length:30The currency code of the subscription balance register adjustment. -
EntitlementId: integer
(int64)
Title:
Entitlement IDThe identifier of entitlement for which the balance register adjustment is created. -
EntitlementType: string
Title:
Entitlement TypesMaximum Length:120The type of entitlement for which the balance register adjustment is created. -
ExtendedPrecision: integer
(int32)
Title:
Extended PrecisionRead Only:trueThe actual extended precision of the subscription balance register adjustment. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe date when the subscription balance register adjustment was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the subscription balance register adjustment. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The login of the user who last updated the subscription register adjustment. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NetAdjustedAmount: number
Title:
Net Adjusted AmountThe net adjusted amount of the subscription balance register adjustment. -
NetAdjustedQuantity: number
Title:
Net Adjusted QuantityThe net adjusted quantity of the subscription balance register adjustment. -
ObjectVersionNumber: integer
(int32)
Read Only:
trueThe object version number updated after every update of a subscription balance register adjustment. -
SequenceNumber: number
Title:
Sequence NumberThe sequence number in which subscription balance register adjustment is created. -
SubscriptionProductId: integer
(int64)
Title:
Subscription Product IDThe identifier of the subscription product associated to the subscription balance register adjustment. -
TerminatedAmount: number
Title:
Terminated Adjusted AmountThe adjusted amount of the balance register adjustment that got terminated because the product was close. -
TerminatedQuantity: number
Title:
Terminated Adjusted QuantityThe adjusted quantity of the balance register adjustment that got terminated because the product was close.
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.
Links
- BalanceAdjustmentModeVA
-
Parameters:
- finder:
LookupTypeIsActiveEnabledFinder%3BBindLookupType%3DORA_OSS_BALANCE_ADJ_MODE
The following properties are defined on the LOV link relation:- Source Attribute: AdjustmentType; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- BalanceAdjustmentReasonCodeVA
-
Parameters:
- finder:
LookupTypeIsActiveEnabledFinder%3BBindLookupType%3DORA_OSS_BALNC_ADJ_REASON_CODE
The following properties are defined on the LOV link relation:- Source Attribute: AdjustmentReasonCode; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- BalanceCodeTypeVA
-
Parameters:
- finder:
LookupTypeIsActiveEnabledFinder%3BBindLookupType%3DORA_OSS_BALANCE_CODE_TYPES
The following properties are defined on the LOV link relation:- Source Attribute: BalanceCodeType; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- EntitlementTypeVA
-
Parameters:
- finder:
LookupTypeIsActiveEnabledFinder%3BBindLookupType%3DORA_OSS_ENTITLEMENT_TYPES
The following properties are defined on the LOV link relation:- Source Attribute: EntitlementType; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder: