Update a promotion
patch
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/promotionManagement/v4/promotion/{id}
Updates the promotion that matches the specified ID using the supplied request payload.
Request
Path Parameters
-
id(required): string
The ID of the resource item.
Supported Media Types
- application/json
Root Schema : PromotionOracle
Title:
PromotionOracleMatch All
Show Source
-
object
Promotion
Title:
PromotionDiscriminator:{ "propertyName":"@type", "mapping":{ "Promotion":"#/components/schemas/Promotion", "PromotionOracle":"#/components/schemas/PromotionOracle" } }Promotion Resource provides the additional discount, voucher, bonus or gift to the customer who meets the pre-defined criteria. Using promotion, the enterprise is able to attract the users and encourage more consumption, especially continuous purchases. Normally Promotion is not regarded as one type of product or product offering. It is often applied when the customer buys the product offerings with the price or amount surpassing the certain limit. -
object
type
Nested Schema : Promotion
Type:
objectTitle:
PromotionDiscriminator: @type
Discriminator Values
Promotion Resource provides the additional discount, voucher, bonus or gift to the customer who meets the pre-defined criteria. Using promotion, the enterprise is able to attract the users and encourage more consumption, especially continuous purchases. Normally Promotion is not regarded as one type of product or product offering. It is often applied when the customer buys the product offerings with the price or amount surpassing the certain limit.
Show Source
-
@baseType: string
The base type of the promotion.
-
@schemaLocation: string
The URI of the schema that defines the promotion.
-
@type(required): string
The class type of the promotion.
-
attachment: array
attachment
A list of attachments associated with the promotion.
-
description: string
The description of promotion.
-
href: string
The hyperlink reference to the promotion.
-
id: string
Maximum Length:
30The ID of the promotion. -
lastUpdate: string
(date-time)
The date and time when the promotion was last updated.
-
lifecycleStatus: string
The status of the promotion.
-
name: string
The name of the promotion.
-
pattern: array
pattern
A list of patterns associated with the promotion.
-
promotionType: string
Allowed Values:
[ "AWARD", "DISCOUNT", "TRADE_IN", "CROSS_PRODUCT_DISCOUNT" ]The type or classification of the promotion. Valid values are AWARD, DISCOUNT, TRADE_IN, and CROSS_PRODUCT_DISCOUNT. -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid.
Nested Schema : type
Type:
Show Source
object-
active: boolean
Whether the promotion has active.
-
agreement: array
agreement
A list of agreements associated with the promotion.
-
applicationName: string
The name of the application associated with the promotion.
-
category: array
category
A list of categories associated with the promotion.
-
created: string
(date-time)
The date and time of the creation.
-
createdBy: string
The name of the person who created item.
-
customProfileSpec: array
customProfileSpec
A list of custom profile specifications associated with the promotion.
-
customProfSpecCharValueUse: array
customProfSpecCharValueUse
A list of custom prof specification characteristic value uses associated with the promotion.
-
externalId: string
The ID of the external associated with the promotion.
-
lastUpdatedBy: string
The name of the person who updated item.
-
priceList: array
priceList
A list of price lists associated with the promotion.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
version: string
The promotion version.
-
versionState: number
The version state of the promotion.
Nested Schema : agreement
Type:
arrayA list of agreements associated with the promotion.
Show Source
-
Array of:
object AgreementRef
Title:
AgreementRefAgreement reference. An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.
Nested Schema : category
Type:
arrayA list of categories associated with the promotion.
Show Source
-
Array of:
object CategoryRef
Title:
CategoryRefThe category reference. The category resource groups product offerings, service candidates, and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource candidates, or service candidates.
Nested Schema : customProfileSpec
Type:
arrayA list of custom profile specifications associated with the promotion.
Show Source
-
Array of:
object CustomProfileSpecRefOracle
Title:
CustomProfileSpecRefOracleThe custom Profile specification reference.
Nested Schema : customProfSpecCharValueUse
Type:
arrayA list of custom prof specification characteristic value uses associated with the promotion.
Show Source
-
Array of:
object CustomProfSpecCharValueUse
Title:
CustomProfSpecCharValueUseA use of the CustomProfSpecCharValue by an entity to which additional properties (attributes) apply or override the properties of similar properties contained in ProdSpecCharacteristicValue. It should be noted that characteristics which their value(s) addressed by this object must exist in corresponding product specification. The available characteristic values for a ProductSpecCharacteristic in a Product specification can be modified at the ProductOffering level. For example, a characteristic 'Color' might have values White, Blue, Green, and Red. But, the list of values can be restricted to for example White and Blue in an associated product offering. It should be noted that the list of values in 'ProductSpecificationCharacteristicValueUse' is a strict subset of the list of values as defined in the corresponding product specification characteristics.
Nested Schema : priceList
Type:
arrayA list of price lists associated with the promotion.
Show Source
-
Array of:
object PriceListRefOracle
Title:
PriceListRefOracleThe pricelist reference.
Nested Schema : ProjectRef
Type:
objectTitle:
ProjectRefThe project reference resource.
Show Source
-
href: string
The hyperlink reference to the project reference.
-
id(required): string
The ID of the project reference.
-
name: string
The name of the project reference.
-
version: string
The version of the project.
Nested Schema : AgreementRef
Type:
objectTitle:
AgreementRefAgreement reference. An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.
Show Source
-
@referredType(required): string
The type of the referred agreement reference.
-
href: string
The hyperlink reference to the agreement reference.
-
id(required): string
The ID of the agreement reference.
-
name: string
The name of the agreement reference.
Nested Schema : CategoryRef
Type:
objectTitle:
CategoryRefThe category reference. The category resource groups product offerings, service candidates, and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource candidates, or service candidates.
Show Source
-
@baseType: string
The base type of the category reference.
-
@referredType(required): string
The type of the referred category reference.
-
@schemaLocation: string
The URI of the schema that defines the category reference.
-
@type(required): string
The class type of the category reference.
-
href: string
The hyperlink reference to the category reference.
-
id(required): string
The ID of the category reference.
-
name: string
The name of the category reference.
-
version: string
The category version.
-
versionState: number
The version state of the reference.
Nested Schema : CustomProfileSpecRefOracle
Type:
objectTitle:
CustomProfileSpecRefOracleThe custom Profile specification reference.
Show Source
-
@baseType: string
The base type of the custom profile specification reference.
-
@referredType(required): string
The type of the referred custom profile specification reference.
-
@schemaLocation: string
The URI of the schema that defines the custom profile specification reference.
-
@type(required): string
The class type of the custom profile specification reference.
-
href: string
The hyperlink reference to the custom profile specification reference.
-
id(required): string
The ID of the custom profile specification reference.
-
name: string
The name of the custom profile specification reference.
-
version: string
The version of the custom specification.
-
versionState: number
The version state of the reference.
Nested Schema : CustomProfSpecCharValueUse
Type:
objectTitle:
CustomProfSpecCharValueUseA use of the CustomProfSpecCharValue by an entity to which additional properties (attributes) apply or override the properties of similar properties contained in ProdSpecCharacteristicValue. It should be noted that characteristics which their value(s) addressed by this object must exist in corresponding product specification. The available characteristic values for a ProductSpecCharacteristic in a Product specification can be modified at the ProductOffering level. For example, a characteristic 'Color' might have values White, Blue, Green, and Red. But, the list of values can be restricted to for example White and Blue in an associated product offering. It should be noted that the list of values in 'ProductSpecificationCharacteristicValueUse' is a strict subset of the list of values as defined in the corresponding product specification characteristics.
Show Source
-
customProfileSpec(required): object
CustomProfileSpecRefOracle
Title:
CustomProfileSpecRefOracleThe custom Profile specification reference. -
customProfileSpecCharValue(required): array
customProfileSpecCharValue
A list of custom profile specification characteristic values associated with the custom prof specification characteristic value use.
-
description: string
A narrative that explains in detail what the customProfileSpecCharacteristic is.
-
maxCardinality: integer
The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
-
minCardinality: integer
The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
-
name(required): string
The name of the custom prof specification characteristic value use.
-
validFor: object
TimePeriodOracle
Title:
TimePeriodOracleThe validity period of the related party. -
valueType: string
Allowed Values:
[ "STRING", "NUMBER", "OBJECT", "ARRAY", "DECIMAL", "BOOLEAN", "DATE", "DATETIME" ]The type or classification of the custom prof specification characteristic value use. Valid values are STRING, NUMBER, OBJECT, ARRAY, DECIMAL, BOOLEAN, DATE, and DATETIME.
Nested Schema : customProfileSpecCharValue
Type:
arrayA list of custom profile specification characteristic values associated with the custom prof specification characteristic value use.
Show Source
-
Array of:
object CustomProfileSpecCharValue
Title:
CustomProfileSpecCharValueA number or text that can be assigned to a CustomProfileSpecCharacteristic.
Nested Schema : TimePeriodOracle
Type:
objectTitle:
TimePeriodOracleThe validity period of the related party.
Show Source
-
endDateTime: string
(date-time)
The end date and time of the time period.
-
startDateTime: string
(date-time)
The start date and time of the time period.
Nested Schema : CustomProfileSpecCharValue
Type:
objectTitle:
CustomProfileSpecCharValueA number or text that can be assigned to a CustomProfileSpecCharacteristic.
Show Source
-
@baseType: string
The base type of the custom profile specification characteristic value.
-
@schemaLocation: string
The URI of the schema that defines the custom profile specification characteristic value.
-
@type(required): string
The class type of the custom profile specification characteristic value.
-
displayText: string
A string. A word, term, or phrase by which can be displyed for user experience.
-
enabled: boolean
Whether the custom profile specification characteristic value has enabled.
-
isDefault: boolean
Whether the custom profile specification characteristic value is default.
-
rangeInterval: string
Allowed Values:
[ "OPEN", "CLOSED", "CLOSED_BOTTOM", "CLOSED_TOP" ]An indicator that specifies the inclusion or exclusion of the valueFrom and valueTo attributes. If applicable, possible values are "open", "closed", "closedBottom" and "closedTop". Valid values are OPEN, CLOSED, CLOSED_BOTTOM, and CLOSED_TOP. -
regex: string
The regular expression to define constraint on the allowed value.
-
sequence: integer
The order sequence for the values input.
-
unitOfMeasure: string
Allowed Values:
[ "NONE", "SECOND", "MINUTE", "HOUR", "DAY", "MONTH", "BYTE", "KILOBYTE", "MEGABYTE", "GIGABYTE", "PAGES", "MOVIES", "TIME_INTERVAL", "QUANTITY", "MBPS", "GBPS" ]The unit can be minutes or GB. -
validFor: object
TimePeriodOracle
Title:
TimePeriodOracleThe validity period of the related party. -
value(required):
value
A discrete value that the characteristic can take on. The value type is defined by the valueType characteristic.
-
valueFrom: string
The low range value that a characteristic can take on.
-
valueReferenceId: string
The ID of the value reference associated with the custom profile specification characteristic value.
-
valueReferenceType: string
Allowed Values:
[ "SERVICE_SPEC" ]The type or classification of the custom profile specification characteristic value. Valid values are SERVICE_SPEC. -
valueTo: string
The upper range value that a characteristic can take on.
-
valueType: string
Allowed Values:
[ "STRING", "NUMBER", "OBJECT", "ARRAY", "DECIMAL", "BOOLEAN", "DATE", "DATETIME", "PRODUCT_OFFER", "PRODUCT_SPEC", "PRODUCT_LINE", "SPEC_CHAR" ]The type or classification of the custom profile specification characteristic value. Valid values are STRING, NUMBER, OBJECT, ARRAY, DECIMAL, BOOLEAN, DATE, DATETIME, PRODUCT_OFFER, PRODUCT_SPEC, PRODUCT_LINE, and SPEC_CHAR.
Nested Schema : value
A discrete value that the characteristic can take on. The value type is defined by the valueType characteristic.
Match One Schema
Show Source
Nested Schema : value-oneOf[1]
Type:
objectNested Schema : value-oneOf[4]
Type:
arrayNested Schema : PriceListRefOracle
Type:
objectTitle:
PriceListRefOracleThe pricelist reference.
Show Source
-
@baseType: string
The base type of the price list reference.
-
@referredType(required): string
The type of the referred price list reference.
-
@schemaLocation: string
The URI of the schema that defines the price list reference.
-
@type(required): string
The class type of the price list reference.
-
href: string
The hyperlink reference to the price list reference.
-
id(required): string
The ID of the price list reference.
-
name: string
The name of the price list reference.
-
version: string
The version of the pricelist.
-
versionState: number
The version state of the reference.
Response
Supported Media Types
- application/json
200 Response
The promotion was updated successfully.
Root Schema : PromotionOracle
Title:
PromotionOracleMatch All
Show Source
-
object
Promotion
Title:
PromotionDiscriminator:{ "propertyName":"@type", "mapping":{ "Promotion":"#/components/schemas/Promotion", "PromotionOracle":"#/components/schemas/PromotionOracle" } }Promotion Resource provides the additional discount, voucher, bonus or gift to the customer who meets the pre-defined criteria. Using promotion, the enterprise is able to attract the users and encourage more consumption, especially continuous purchases. Normally Promotion is not regarded as one type of product or product offering. It is often applied when the customer buys the product offerings with the price or amount surpassing the certain limit. -
object
type
Nested Schema : Promotion
Type:
objectTitle:
PromotionDiscriminator: @type
Discriminator Values
Promotion Resource provides the additional discount, voucher, bonus or gift to the customer who meets the pre-defined criteria. Using promotion, the enterprise is able to attract the users and encourage more consumption, especially continuous purchases. Normally Promotion is not regarded as one type of product or product offering. It is often applied when the customer buys the product offerings with the price or amount surpassing the certain limit.
Show Source
-
@baseType: string
The base type of the promotion.
-
@schemaLocation: string
The URI of the schema that defines the promotion.
-
@type(required): string
The class type of the promotion.
-
attachment: array
attachment
A list of attachments associated with the promotion.
-
description: string
The description of promotion.
-
href: string
The hyperlink reference to the promotion.
-
id: string
Maximum Length:
30The ID of the promotion. -
lastUpdate: string
(date-time)
The date and time when the promotion was last updated.
-
lifecycleStatus: string
The status of the promotion.
-
name: string
The name of the promotion.
-
pattern: array
pattern
A list of patterns associated with the promotion.
-
promotionType: string
Allowed Values:
[ "AWARD", "DISCOUNT", "TRADE_IN", "CROSS_PRODUCT_DISCOUNT" ]The type or classification of the promotion. Valid values are AWARD, DISCOUNT, TRADE_IN, and CROSS_PRODUCT_DISCOUNT. -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid.
Nested Schema : type
Type:
Show Source
object-
active: boolean
Whether the promotion has active.
-
agreement: array
agreement
A list of agreements associated with the promotion.
-
applicationName: string
The name of the application associated with the promotion.
-
category: array
category
A list of categories associated with the promotion.
-
created: string
(date-time)
The date and time of the creation.
-
createdBy: string
The name of the person who created item.
-
customProfileSpec: array
customProfileSpec
A list of custom profile specifications associated with the promotion.
-
customProfSpecCharValueUse: array
customProfSpecCharValueUse
A list of custom prof specification characteristic value uses associated with the promotion.
-
externalId: string
The ID of the external associated with the promotion.
-
lastUpdatedBy: string
The name of the person who updated item.
-
priceList: array
priceList
A list of price lists associated with the promotion.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
version: string
The promotion version.
-
versionState: number
The version state of the promotion.
Nested Schema : agreement
Type:
arrayA list of agreements associated with the promotion.
Show Source
-
Array of:
object AgreementRef
Title:
AgreementRefAgreement reference. An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.
Nested Schema : category
Type:
arrayA list of categories associated with the promotion.
Show Source
-
Array of:
object CategoryRef
Title:
CategoryRefThe category reference. The category resource groups product offerings, service candidates, and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource candidates, or service candidates.
Nested Schema : customProfileSpec
Type:
arrayA list of custom profile specifications associated with the promotion.
Show Source
-
Array of:
object CustomProfileSpecRefOracle
Title:
CustomProfileSpecRefOracleThe custom Profile specification reference.
Nested Schema : customProfSpecCharValueUse
Type:
arrayA list of custom prof specification characteristic value uses associated with the promotion.
Show Source
-
Array of:
object CustomProfSpecCharValueUse
Title:
CustomProfSpecCharValueUseA use of the CustomProfSpecCharValue by an entity to which additional properties (attributes) apply or override the properties of similar properties contained in ProdSpecCharacteristicValue. It should be noted that characteristics which their value(s) addressed by this object must exist in corresponding product specification. The available characteristic values for a ProductSpecCharacteristic in a Product specification can be modified at the ProductOffering level. For example, a characteristic 'Color' might have values White, Blue, Green, and Red. But, the list of values can be restricted to for example White and Blue in an associated product offering. It should be noted that the list of values in 'ProductSpecificationCharacteristicValueUse' is a strict subset of the list of values as defined in the corresponding product specification characteristics.
Nested Schema : priceList
Type:
arrayA list of price lists associated with the promotion.
Show Source
-
Array of:
object PriceListRefOracle
Title:
PriceListRefOracleThe pricelist reference.
Nested Schema : ProjectRef
Type:
objectTitle:
ProjectRefThe project reference resource.
Show Source
-
href: string
The hyperlink reference to the project reference.
-
id(required): string
The ID of the project reference.
-
name: string
The name of the project reference.
-
version: string
The version of the project.
Nested Schema : AgreementRef
Type:
objectTitle:
AgreementRefAgreement reference. An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.
Show Source
-
@referredType(required): string
The type of the referred agreement reference.
-
href: string
The hyperlink reference to the agreement reference.
-
id(required): string
The ID of the agreement reference.
-
name: string
The name of the agreement reference.
Nested Schema : CategoryRef
Type:
objectTitle:
CategoryRefThe category reference. The category resource groups product offerings, service candidates, and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource candidates, or service candidates.
Show Source
-
@baseType: string
The base type of the category reference.
-
@referredType(required): string
The type of the referred category reference.
-
@schemaLocation: string
The URI of the schema that defines the category reference.
-
@type(required): string
The class type of the category reference.
-
href: string
The hyperlink reference to the category reference.
-
id(required): string
The ID of the category reference.
-
name: string
The name of the category reference.
-
version: string
The category version.
-
versionState: number
The version state of the reference.
Nested Schema : CustomProfileSpecRefOracle
Type:
objectTitle:
CustomProfileSpecRefOracleThe custom Profile specification reference.
Show Source
-
@baseType: string
The base type of the custom profile specification reference.
-
@referredType(required): string
The type of the referred custom profile specification reference.
-
@schemaLocation: string
The URI of the schema that defines the custom profile specification reference.
-
@type(required): string
The class type of the custom profile specification reference.
-
href: string
The hyperlink reference to the custom profile specification reference.
-
id(required): string
The ID of the custom profile specification reference.
-
name: string
The name of the custom profile specification reference.
-
version: string
The version of the custom specification.
-
versionState: number
The version state of the reference.
Nested Schema : CustomProfSpecCharValueUse
Type:
objectTitle:
CustomProfSpecCharValueUseA use of the CustomProfSpecCharValue by an entity to which additional properties (attributes) apply or override the properties of similar properties contained in ProdSpecCharacteristicValue. It should be noted that characteristics which their value(s) addressed by this object must exist in corresponding product specification. The available characteristic values for a ProductSpecCharacteristic in a Product specification can be modified at the ProductOffering level. For example, a characteristic 'Color' might have values White, Blue, Green, and Red. But, the list of values can be restricted to for example White and Blue in an associated product offering. It should be noted that the list of values in 'ProductSpecificationCharacteristicValueUse' is a strict subset of the list of values as defined in the corresponding product specification characteristics.
Show Source
-
customProfileSpec(required): object
CustomProfileSpecRefOracle
Title:
CustomProfileSpecRefOracleThe custom Profile specification reference. -
customProfileSpecCharValue(required): array
customProfileSpecCharValue
A list of custom profile specification characteristic values associated with the custom prof specification characteristic value use.
-
description: string
A narrative that explains in detail what the customProfileSpecCharacteristic is.
-
maxCardinality: integer
The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
-
minCardinality: integer
The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
-
name(required): string
The name of the custom prof specification characteristic value use.
-
validFor: object
TimePeriodOracle
Title:
TimePeriodOracleThe validity period of the related party. -
valueType: string
Allowed Values:
[ "STRING", "NUMBER", "OBJECT", "ARRAY", "DECIMAL", "BOOLEAN", "DATE", "DATETIME" ]The type or classification of the custom prof specification characteristic value use. Valid values are STRING, NUMBER, OBJECT, ARRAY, DECIMAL, BOOLEAN, DATE, and DATETIME.
Nested Schema : customProfileSpecCharValue
Type:
arrayA list of custom profile specification characteristic values associated with the custom prof specification characteristic value use.
Show Source
-
Array of:
object CustomProfileSpecCharValue
Title:
CustomProfileSpecCharValueA number or text that can be assigned to a CustomProfileSpecCharacteristic.
Nested Schema : TimePeriodOracle
Type:
objectTitle:
TimePeriodOracleThe validity period of the related party.
Show Source
-
endDateTime: string
(date-time)
The end date and time of the time period.
-
startDateTime: string
(date-time)
The start date and time of the time period.
Nested Schema : CustomProfileSpecCharValue
Type:
objectTitle:
CustomProfileSpecCharValueA number or text that can be assigned to a CustomProfileSpecCharacteristic.
Show Source
-
@baseType: string
The base type of the custom profile specification characteristic value.
-
@schemaLocation: string
The URI of the schema that defines the custom profile specification characteristic value.
-
@type(required): string
The class type of the custom profile specification characteristic value.
-
displayText: string
A string. A word, term, or phrase by which can be displyed for user experience.
-
enabled: boolean
Whether the custom profile specification characteristic value has enabled.
-
isDefault: boolean
Whether the custom profile specification characteristic value is default.
-
rangeInterval: string
Allowed Values:
[ "OPEN", "CLOSED", "CLOSED_BOTTOM", "CLOSED_TOP" ]An indicator that specifies the inclusion or exclusion of the valueFrom and valueTo attributes. If applicable, possible values are "open", "closed", "closedBottom" and "closedTop". Valid values are OPEN, CLOSED, CLOSED_BOTTOM, and CLOSED_TOP. -
regex: string
The regular expression to define constraint on the allowed value.
-
sequence: integer
The order sequence for the values input.
-
unitOfMeasure: string
Allowed Values:
[ "NONE", "SECOND", "MINUTE", "HOUR", "DAY", "MONTH", "BYTE", "KILOBYTE", "MEGABYTE", "GIGABYTE", "PAGES", "MOVIES", "TIME_INTERVAL", "QUANTITY", "MBPS", "GBPS" ]The unit can be minutes or GB. -
validFor: object
TimePeriodOracle
Title:
TimePeriodOracleThe validity period of the related party. -
value(required):
value
A discrete value that the characteristic can take on. The value type is defined by the valueType characteristic.
-
valueFrom: string
The low range value that a characteristic can take on.
-
valueReferenceId: string
The ID of the value reference associated with the custom profile specification characteristic value.
-
valueReferenceType: string
Allowed Values:
[ "SERVICE_SPEC" ]The type or classification of the custom profile specification characteristic value. Valid values are SERVICE_SPEC. -
valueTo: string
The upper range value that a characteristic can take on.
-
valueType: string
Allowed Values:
[ "STRING", "NUMBER", "OBJECT", "ARRAY", "DECIMAL", "BOOLEAN", "DATE", "DATETIME", "PRODUCT_OFFER", "PRODUCT_SPEC", "PRODUCT_LINE", "SPEC_CHAR" ]The type or classification of the custom profile specification characteristic value. Valid values are STRING, NUMBER, OBJECT, ARRAY, DECIMAL, BOOLEAN, DATE, DATETIME, PRODUCT_OFFER, PRODUCT_SPEC, PRODUCT_LINE, and SPEC_CHAR.
Nested Schema : value
A discrete value that the characteristic can take on. The value type is defined by the valueType characteristic.
Match One Schema
Show Source
Nested Schema : value-oneOf[1]
Type:
objectNested Schema : value-oneOf[4]
Type:
arrayNested Schema : PriceListRefOracle
Type:
objectTitle:
PriceListRefOracleThe pricelist reference.
Show Source
-
@baseType: string
The base type of the price list reference.
-
@referredType(required): string
The type of the referred price list reference.
-
@schemaLocation: string
The URI of the schema that defines the price list reference.
-
@type(required): string
The class type of the price list reference.
-
href: string
The hyperlink reference to the price list reference.
-
id(required): string
The ID of the price list reference.
-
name: string
The name of the price list reference.
-
version: string
The version of the pricelist.
-
versionState: number
The version state of the reference.
400 Response
Your request couldn't be processed because it contains missing or invalid information, such as a validation error on an input field, a missing required value, and so forth.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
401 Response
Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
404 Response
The resource with the specified URI couldn't be found.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
405 Response
HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
500 Response
The server encountered something unexpected that prevented it from completing the request.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
Examples
The following example shows how to update a promotion by submitting a patch request on the REST resource using cURL.
curl -H 'Authorization: Bearer <accessToken> -H PATCH https://{FusionAppsHost}/crmRestApi/actProductCatalog/11.13.18.05/tmf-api/promotion/v4/promotion/{id} -H "Content-Type: application/json" -D @update_promotion.json | json_pp
Example of Request Header
The following shows an example of the request header.
{
"description" : "Promotion for Maximo",
"validFor": {
"startDateTime": "2024-08-09T00:00:00.000Z",
"endDateTime": "2028-08-09T00:00:00.000Z"
}
}
Example of Response Body
The following example shows the contents of the response body in JSON format.
{
"lastUpdate": "2025-02-17T13:17:45.452Z",
"lastUpdatedBy": "booth",
"created": "2025-01-06T11:48:59.000Z",
"createdBy": "booth",
"id": "PR-375956038-1736163967522",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/promotionManagement/v4/promotion/PR-375956038-1736163967522",
"name": "MaximPromo",
"@type": "PromotionOracle",
"version": "1.0",
"description" : "Promotion for Maximo",
"validFor": {
"startDateTime": "2024-08-09T00:00:00.000Z",
"endDateTime": "2028-08-09T00:00:00.000Z"
}
"project": {
"id": "P-187012819-1736135169885",
"name": "Maxim25BRevise",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/P-187012819-1736135169885",
"version": "1.0",
"@referredType": "ProjectOracle",
"@type": "ProjectRef"
},
"lifecycleStatus": "In design",
"promotionType": "DISCOUNT",
"pattern": [
{
"id": "pattern-3497866394-17361641333",
"name": "MaximEvent",
"@type": "PromotionPatternOracle",
"validFor": {
"startDateTime": "2025-01-06T00:00:00.000Z"
},
"isRoot": true,
"priority": 1,
"criteriaGroupLogicalRelationship": "AND",
"criteriaGroup": [
{
"id": "CG-391486807-1736163999769",
"groupName": "Mcg1",
"@type": "PromotionCriteriaGroupOracle",
"criteriaLogicalRelationship": "AND",
"criteria": [
{
"id": "criteria-1474770635-1736164028",
"@type": "PromotionCriteriaOracle",
"valueType": "STRING",
"criteriaValue": "BC",
"criteriaOperator": "EQUALS",
"criteriaParameter": "PROVINCE"
},
{
"id": "criteria-2866709542-1736163999",
"@type": "PromotionCriteriaOracle",
"valueType": "STRING",
"criteriaValue": "CA",
"criteriaOperator": "EQUALS",
"criteriaParameter": "COUNTRY"
},
{
"id": "criteria-3639632569-1736164091",
"@type": "PromotionCriteriaOracle",
"valueType": "STRING",
"criteriaValue": "Aldergrove",
"criteriaOperator": "EQUALS",
"criteriaParameter": "CITY"
}
]
}
],
"action": [
{
"id": "action-3463403600-173616412981",
"@type": "PromotionActionOracle",
"actionType": [
"DISCOUNT"
],
"actionValue": "0.01",
"actionValueObj": [
{
"versionState": 0,
"id": "PRICEALT-3671965284-1736164106",
"name": "ALtermaxim",
"actionObjectType": "PRODUCT_OFFERING_PRICE",
"@referredType": "ProductOfferPricePlanOracle",
"@type": "ActionObjectRefOracle",
"appliesTo": "ALL",
"maxQuantity": 1
}
],
"eligibility": [
{
"versionState": 0,
"id": "ID-2602795941-1736134584060",
"name": "MaximPkgOffer",
"actionObjectType": "PRODUCT_OFFERING",
"@referredType": "ProductOfferingOracle",
"@type": "ActionObjectRefOracle"
}
]
}
],
"patternRelationship": [
{
"relationshipType": "TRUE_STATE",
"@type": "PatternRelationshipOracle"
},
{
"relationshipType": "FALSE_STATE",
"@type": "PatternRelationshipOracle"
}
],
"active": true
}
],
"priceList": [
{
"id": "DBE_NA_PL",
"name": "DBE NA Pricelist",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/pricelist/DBE_NA_PL",
"version": "1.0",
"@referredType": "PricelistOracle",
"@type": "PriceListRefOracle"
}
],
"active": true
}