Create a subscription price adjustment variable
post
/crmRestApi/resources/11.13.18.05/subscriptionPriceAdjustmentVariables
Request
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-
ActiveFlag: boolean
Title:
ActiveMaximum Length:1Default Value:trueIndicates whether the subscription price adjustment variable is active or not. -
ObjectVersionNumber: integer
(int32)
The object version number of the subscription price adjustment variable.
-
priceAdjustmentVariableValues: array
Subscription Price Adjustment Variable Values
Title:
Subscription Price Adjustment Variable ValuesThe price adjustment variable values resource stores values for subscription price adjustment variables. -
VariableDescription: string
Title:
DescriptionMaximum Length:240Description -
VariableId: integer
(int64)
The unique identifier of the subscription price adjustment variable.
-
VariableName(required): string
Title:
NameMaximum Length:100The name of the subscription price adjustment variable. -
VariableNumber: string
Title:
IdentifierMaximum Length:120The number of the subscription price adjustment variable.
Nested Schema : Subscription Price Adjustment Variable Values
Type:
arrayTitle:
Subscription Price Adjustment Variable ValuesThe price adjustment variable values resource stores values for subscription price adjustment variables.
Show Source
Nested Schema : schema
Type:
Show Source
object-
EndDate: string
(date)
Title:
End DateThe end date of the price adjustment variable value. -
ObjectVersionNumber: integer
(int32)
The object version number of the price adjustment variable value.
-
StartDate: string
(date)
Title:
Start DateThe start date of the price adjustment variable value. -
VariableId: integer
(int64)
The identifier of the related subscription price adjustment variable.
-
VariableValue: number
Title:
ValueThe value of the price adjustment variable. -
VariableValueId: integer
(int64)
The unique identifier of the price adjustment variable value.
-
VariableValuePuid: string
Title:
IdentifierMaximum Length:120The public unique identifier of the price adjustment variable value.
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 : subscriptionPriceAdjustmentVariables-item-response
Type:
Show Source
object-
ActiveFlag: boolean
Title:
ActiveMaximum Length:1Default Value:trueIndicates whether the subscription price adjustment variable is active or not. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the subscription price adjustment variable. -
CreationDate: string
(date-time)
Read Only:
trueThe creation date of the subscription price adjustment variable. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe last update date of the subscription price adjustment variable. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the subscription price adjustment variable. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The login of the user who last updated the subscription price adjustment variable. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
The object version number of the subscription price adjustment variable.
-
priceAdjustmentVariableValues: array
Subscription Price Adjustment Variable Values
Title:
Subscription Price Adjustment Variable ValuesThe price adjustment variable values resource stores values for subscription price adjustment variables. -
VariableDescription: string
Title:
DescriptionMaximum Length:240Description -
VariableId: integer
(int64)
The unique identifier of the subscription price adjustment variable.
-
VariableName: string
Title:
NameMaximum Length:100The name of the subscription price adjustment variable. -
VariableNumber: string
Title:
IdentifierMaximum Length:120The number of the subscription price adjustment variable.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Subscription Price Adjustment Variable Values
Type:
arrayTitle:
Subscription Price Adjustment Variable ValuesThe price adjustment variable values resource stores values for subscription price adjustment variables.
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.
Nested Schema : subscriptionPriceAdjustmentVariables-priceAdjustmentVariableValues-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the price adjustment variable value. -
CreationDate: string
(date-time)
Read Only:
trueThe creation date of the price adjustment variable value. -
EndDate: string
(date)
Title:
End DateThe end date of the price adjustment variable value. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe last update date of the price adjustment variable value. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the price adjustment variable value. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The login of the user who last updated the price adjustment variable value. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
The object version number of the price adjustment variable value.
-
StartDate: string
(date)
Title:
Start DateThe start date of the price adjustment variable value. -
VariableId: integer
(int64)
The identifier of the related subscription price adjustment variable.
-
VariableValue: number
Title:
ValueThe value of the price adjustment variable. -
VariableValueId: integer
(int64)
The unique identifier of the price adjustment variable value.
-
VariableValuePuid: string
Title:
IdentifierMaximum Length:120The public unique identifier of the price adjustment variable value.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- priceAdjustmentVariableValues
-
Parameters:
- VariableNumber:
$request.path.VariableNumber
The price adjustment variable values resource stores values for subscription price adjustment variables. - VariableNumber: