Create an adjustment
post
/crmRestApi/resources/11.13.18.05/subscriptionCoverageHeaders/{CoverageHeaderPuid}/child/CoverageChargeDiscounts
Request
Path Parameters
-
CoverageHeaderPuid(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
-
AdjustmentAmount: number
Title:
Value
The amount entered for an adjustment type. -
AdjustmentTypeCode: string
Maximum Length:
30
The unique code for adjustment type lookup. Valid values include discount percent or markup percent. A list of accepted values is defined in the lookup type ORA_QP_LINE_ADJ_TYPES. -
AdjustmentTypeMeaning: string
Title:
Adjustment Type
The display value for the adjustment type lookup. The alternate valid values include discount percent or markup percent. A list of accepted values is defined in the lookup type ORA_QP_LINE_ADJ_TYPES. -
AllowCustomAdjustmentsFlag: boolean
Title:
Allow custom adjustments
Maximum Length:1
Indicates whether custom adjustments are allowed. The Default value is True. -
AllowPricingDiscountsFlag: boolean
Title:
Allow pricing discounts
Maximum Length:1
Indicates whether pricing discounts are allowed. The default value is False. -
BillingTypeCode: string
Maximum Length:
30
The unique code for billing type lookup. A list of accepted values is defined in the lookup type EGP_MATERIAL_BILLABLE_TYPE for billing type code. Review and update the list of values using the Setup and Maintenance work area, and the Manage Service Logistics Lookups task. -
BillingTypeMeaning: string
Title:
Billing Type
The display value for the billing type lookup code. A list of accepted values is defined in the lookup type EGP_MATERIAL_BILLABLE_TYPE for billing type meaning. Review and update the list of values using the Setup and Maintenance work area, and the Manage Service Logistics Lookups task. -
BusinessProcessCode: string
Maximum Length:
30
The unique code for the business process type lookup. A list of accepted values is defined in the lookup type ORA_RCL_BUSINESS_PROCESS for business process code. Review and update the list of values using the Setup and Maintenance work area, and the Manage Service Logistics Lookups task. -
BusinessProcessMeaning: string
Title:
Business Process
The display value for the business process type lookup. A list of accepted values is defined in the lookup type ORA_RCL_BUSINESS_PROCESS for business process meaning. Review and update the list of values using the Setup and Maintenance work area, and the Manage Service Logistics Lookups task. -
ChargeDiscountId: integer
(int64)
The unique identifier of the adjustment.
-
CoverageDiscountPuid: string
Maximum Length:
120
The value that uniquely identifies the adjustments. -
CoverageHeaderId: integer
(int64)
The unique identifier of the parent coverage header against an adjustment.
-
EndDate: string
(date)
Title:
End Date
The date when the coverage adjustment ends. -
PricingBasisId: integer
The unique identifier of the pricing basis. A list of accepted values is defined in the view qp_pricing_basis_vl for pricing basis ID.
-
PricingBasisName: string
Title:
Adjustment Basis
The name of the pricing basis. A list of accepted values is defined in the view qp_pricing_basis_vl for pricing basis name. -
PricingTermId: integer
The unique identifier of the pricing term.
-
ServiceActivityId: integer
(int64)
The unique identifier of the service activity. A list of accepted values is defined in the view RCL_SERVICE_ACTIVITIES_VL for service activity ID.
-
ServiceActivityName: string
Title:
Service Activity
Maximum Length:80
The name of the service activity. A list of accepted values is defined in the view RCL_SERVICE_ACTIVITIES_VL for service activity name. -
StartDate: string
(date)
Title:
Start Date
The date when the adjustment starts.
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 : subscriptionCoverageHeaders-CoverageChargeDiscounts-item-response
Type:
Show Source
object
-
AdjustmentAmount: number
Title:
Value
The amount entered for an adjustment type. -
AdjustmentTypeCode: string
Maximum Length:
30
The unique code for adjustment type lookup. Valid values include discount percent or markup percent. A list of accepted values is defined in the lookup type ORA_QP_LINE_ADJ_TYPES. -
AdjustmentTypeMeaning: string
Title:
Adjustment Type
The display value for the adjustment type lookup. The alternate valid values include discount percent or markup percent. A list of accepted values is defined in the lookup type ORA_QP_LINE_ADJ_TYPES. -
AllowCustomAdjustmentsFlag: boolean
Title:
Allow custom adjustments
Maximum Length:1
Indicates whether custom adjustments are allowed. The Default value is True. -
AllowPricingDiscountsFlag: boolean
Title:
Allow pricing discounts
Maximum Length:1
Indicates whether pricing discounts are allowed. The default value is False. -
BillingTypeCode: string
Maximum Length:
30
The unique code for billing type lookup. A list of accepted values is defined in the lookup type EGP_MATERIAL_BILLABLE_TYPE for billing type code. Review and update the list of values using the Setup and Maintenance work area, and the Manage Service Logistics Lookups task. -
BillingTypeMeaning: string
Title:
Billing Type
The display value for the billing type lookup code. A list of accepted values is defined in the lookup type EGP_MATERIAL_BILLABLE_TYPE for billing type meaning. Review and update the list of values using the Setup and Maintenance work area, and the Manage Service Logistics Lookups task. -
BusinessProcessCode: string
Maximum Length:
30
The unique code for the business process type lookup. A list of accepted values is defined in the lookup type ORA_RCL_BUSINESS_PROCESS for business process code. Review and update the list of values using the Setup and Maintenance work area, and the Manage Service Logistics Lookups task. -
BusinessProcessMeaning: string
Title:
Business Process
The display value for the business process type lookup. A list of accepted values is defined in the lookup type ORA_RCL_BUSINESS_PROCESS for business process meaning. Review and update the list of values using the Setup and Maintenance work area, and the Manage Service Logistics Lookups task. -
ChargeDiscountId: integer
(int64)
The unique identifier of the adjustment.
-
CoverageDiscountPuid: string
Maximum Length:
120
The value that uniquely identifies the adjustments. -
CoverageHeaderId: integer
(int64)
The unique identifier of the parent coverage header against an adjustment.
-
CreatedBy: string
Read Only:
true
Maximum Length:64
The user who created the adjustment. -
CreationDate: string
(date-time)
Read Only:
true
The date when the adjustment was created. -
EndDate: string
(date)
Title:
End Date
The date when the coverage adjustment ends. -
LastUpdateDate: string
(date-time)
Read Only:
true
The date when the adjustment was last updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
The user who last updated the adjustment. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
The name of the user who has last updated the adjustment. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PricingBasisId: integer
The unique identifier of the pricing basis. A list of accepted values is defined in the view qp_pricing_basis_vl for pricing basis ID.
-
PricingBasisName: string
Title:
Adjustment Basis
The name of the pricing basis. A list of accepted values is defined in the view qp_pricing_basis_vl for pricing basis name. -
PricingTermId: integer
The unique identifier of the pricing term.
-
ServiceActivityId: integer
(int64)
The unique identifier of the service activity. A list of accepted values is defined in the view RCL_SERVICE_ACTIVITIES_VL for service activity ID.
-
ServiceActivityName: string
Title:
Service Activity
Maximum Length:80
The name of the service activity. A list of accepted values is defined in the view RCL_SERVICE_ACTIVITIES_VL for service activity name. -
StartDate: string
(date)
Title:
Start Date
The date when the adjustment starts.
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.