Create or update a promotion

put

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/promotionManagement/v4/promotion/{id}

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : PromotionOracle
Title: PromotionOracle
Match All
Show Source
  • Promotion
    Title: Promotion
    Discriminator: { "propertyName":"@type", "mapping":{ "Promotion":"#/components/schemas/Promotion", "PromotionOracle":"#/components/schemas/PromotionOracle" } }
    Promotion Resource is used to provide 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.
  • type
Nested Schema : Promotion
Type: object
Title: Promotion
Discriminator: @type

Discriminator Values

Promotion Resource is used to provide 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
Nested Schema : type
Type: object
Show Source
Nested Schema : agreement
Type: array
Show Source
  • Agreement
    Title: Agreement
    Agreement 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: array
Show Source
  • CategoryRef
    Title: CategoryRef
    Category reference. The category resource is used to group product offerings, service and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource or service candidates.
Nested Schema : customProfileSpec
Type: array
Show Source
Nested Schema : customProfSpecCharValueUse
Type: array
Show Source
  • CustomProfSpecCharValueUse
    Title: CustomProfSpecCharValueUse
    A 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 e.g. White and Blue in an associated product offering. It should be noted that the list of values in 'ProdSpecCharValueUse' is a strict subset of the list of values as defined in the corresponding product specification characteristics.
Nested Schema : priceList
Type: array
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
Show Source
Nested Schema : Agreement
Type: object
Title: Agreement
Agreement 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
Nested Schema : CategoryRef
Type: object
Title: CategoryRef
Category reference. The category resource is used to group product offerings, service and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource or service candidates.
Show Source
Nested Schema : CustomProfileSpecRefOracle
Type: object
Title: CustomProfileSpecRefOracle
Custom Profile specification reference.
Show Source
Nested Schema : CustomProfSpecCharValueUse
Type: object
Title: CustomProfSpecCharValueUse
A 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 e.g. White and Blue in an associated product offering. It should be noted that the list of values in 'ProdSpecCharValueUse' is a strict subset of the list of values as defined in the corresponding product specification characteristics.
Show Source
Nested Schema : customProfileSpecCharValue
Type: array
Show Source
Nested Schema : TimePeriodOracle
Type: object
Title: TimePeriodOracle
Validity period of the related party
Show Source
Nested Schema : CustomProfileSpecCharValue
Type: object
Title: CustomProfileSpecCharValue
A number or text that can be assigned to a CustomProfileSpecCharacteristic.
Show Source
  • base class type (immediate parent) of the ProductSpecCharacteristic
  • Hyperlink reference to schema describing this object
  • The class type of the characteristic value
  • A string. A word, term, or phrase by which can be displyed for user experience.
  • A field which used to enable or disable the value selection
  • Indicates if the value is the default value for a characteristic
  • 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".
  • Regular expression to define constraint on the allowed value
  • Order sequence for the values input
  • Allowed Values: [ "NONE", "SECOND", "MINUTE", "HOUR", "DAY", "MONTH", "BYTE", "KILOBYTE", "MEGABYTE", "GIGABYTE", "PAGES", "MOVIES", "TIME_INTERVAL", "QUANTITY", "MBPS", "GBPS" ]
    Could be minutes, GB...
  • TimePeriodOracle
    Title: TimePeriodOracle
    Validity period of the related party
  • value
    A discrete value that the characteristic can take on. the value type is defined by 'valueType' characteristic
  • The low range value that a characteristic can take on
  • Id of the resource referenced in the specification
  • Allowed Values: [ "SERVICE_SPEC" ]
    Type of the resource referenced in the specification
  • The upper range value that a characteristic can take on
  • Allowed Values: [ "STRING", "NUMBER", "OBJECT", "ARRAY", "DECIMAL", "BOOLEAN", "DATE", "DATETIME", "PRODUCT_OFFER", "PRODUCT_SPEC", "PRODUCT_LINE" ]
    A kind of value that the characteristic can take on, such as numeric, text, and so forth
Nested Schema : value
A discrete value that the characteristic can take on. the value type is defined by 'valueType' characteristic
Match One Schema
Show Source
Nested Schema : value-oneOf[1]
Type: object
Nested Schema : value-oneOf[4]
Type: array
Nested Schema : PriceListRefOracle
Type: object
Title: PriceListRefOracle
Pricelist reference.
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : PromotionOracle
Title: PromotionOracle
Match All
Show Source
  • Promotion
    Title: Promotion
    Discriminator: { "propertyName":"@type", "mapping":{ "Promotion":"#/components/schemas/Promotion", "PromotionOracle":"#/components/schemas/PromotionOracle" } }
    Promotion Resource is used to provide 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.
  • type
Nested Schema : Promotion
Type: object
Title: Promotion
Discriminator: @type

Discriminator Values

Promotion Resource is used to provide 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
Nested Schema : type
Type: object
Show Source
Nested Schema : agreement
Type: array
Show Source
  • Agreement
    Title: Agreement
    Agreement 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: array
Show Source
  • CategoryRef
    Title: CategoryRef
    Category reference. The category resource is used to group product offerings, service and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource or service candidates.
Nested Schema : customProfileSpec
Type: array
Show Source
Nested Schema : customProfSpecCharValueUse
Type: array
Show Source
  • CustomProfSpecCharValueUse
    Title: CustomProfSpecCharValueUse
    A 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 e.g. White and Blue in an associated product offering. It should be noted that the list of values in 'ProdSpecCharValueUse' is a strict subset of the list of values as defined in the corresponding product specification characteristics.
Nested Schema : priceList
Type: array
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
Show Source
Nested Schema : Agreement
Type: object
Title: Agreement
Agreement 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
Nested Schema : CategoryRef
Type: object
Title: CategoryRef
Category reference. The category resource is used to group product offerings, service and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource or service candidates.
Show Source
Nested Schema : CustomProfileSpecRefOracle
Type: object
Title: CustomProfileSpecRefOracle
Custom Profile specification reference.
Show Source
Nested Schema : CustomProfSpecCharValueUse
Type: object
Title: CustomProfSpecCharValueUse
A 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 e.g. White and Blue in an associated product offering. It should be noted that the list of values in 'ProdSpecCharValueUse' is a strict subset of the list of values as defined in the corresponding product specification characteristics.
Show Source
Nested Schema : customProfileSpecCharValue
Type: array
Show Source
Nested Schema : TimePeriodOracle
Type: object
Title: TimePeriodOracle
Validity period of the related party
Show Source
Nested Schema : CustomProfileSpecCharValue
Type: object
Title: CustomProfileSpecCharValue
A number or text that can be assigned to a CustomProfileSpecCharacteristic.
Show Source
  • base class type (immediate parent) of the ProductSpecCharacteristic
  • Hyperlink reference to schema describing this object
  • The class type of the characteristic value
  • A string. A word, term, or phrase by which can be displyed for user experience.
  • A field which used to enable or disable the value selection
  • Indicates if the value is the default value for a characteristic
  • 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".
  • Regular expression to define constraint on the allowed value
  • Order sequence for the values input
  • Allowed Values: [ "NONE", "SECOND", "MINUTE", "HOUR", "DAY", "MONTH", "BYTE", "KILOBYTE", "MEGABYTE", "GIGABYTE", "PAGES", "MOVIES", "TIME_INTERVAL", "QUANTITY", "MBPS", "GBPS" ]
    Could be minutes, GB...
  • TimePeriodOracle
    Title: TimePeriodOracle
    Validity period of the related party
  • value
    A discrete value that the characteristic can take on. the value type is defined by 'valueType' characteristic
  • The low range value that a characteristic can take on
  • Id of the resource referenced in the specification
  • Allowed Values: [ "SERVICE_SPEC" ]
    Type of the resource referenced in the specification
  • The upper range value that a characteristic can take on
  • Allowed Values: [ "STRING", "NUMBER", "OBJECT", "ARRAY", "DECIMAL", "BOOLEAN", "DATE", "DATETIME", "PRODUCT_OFFER", "PRODUCT_SPEC", "PRODUCT_LINE" ]
    A kind of value that the characteristic can take on, such as numeric, text, and so forth
Nested Schema : value
A discrete value that the characteristic can take on. the value type is defined by 'valueType' characteristic
Match One Schema
Show Source
Nested Schema : value-oneOf[1]
Type: object
Nested Schema : value-oneOf[4]
Type: array
Nested Schema : PriceListRefOracle
Type: object
Title: PriceListRefOracle
Pricelist reference.
Show Source

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.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

401 Response

Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

404 Response

Your request includes a resource URI that doesn't exist.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

405 Response

HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

500 Response

The server encountered something unexpected that prevented it from completing the request.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source
Back to Top

Examples

The following example shows how to create or update a promotion by submitting a PUT request on the REST resource using cURL.

Update a promotion

cURL Command

curl -u username:password -X PUT https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/promotion/v4/promotion/{id} \
-H 'Content-Type: application/json' -D @put_promotion_v4.json | json_pp

Example of Request Body

The following shows an example of the request header.

{
    "lastUpdate": "2023-03-02T12:25:19.584Z",
    "lastUpdatedBy": "booth",
    "created": "2023-03-01T08:26:52.000Z",
    "createdBy": "booth",
    "versionState": 0,
    "id": "PROMO_10008K",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/promotionManagement/v4/promotion/PROMO_10008K",
    "name": "New location promo for kids",
    "@type": "PromotionOracle",
    "version": "1.0",
    "validFor": {
        "startDateTime": "2022-09-02T00:00:00.000Z"
    },
    "project": {
        "id": "ProjQZNHYKGY6DB",
        "name": "AutoProjQZNHYKGY6DB",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/ProjQZNHYKGY6DB"
    },
    "lifecycleStatus": "In design",
    "promotionType": "DISCOUNT",
    "pattern": [
        {
            "id": "pattern-404696233-166211715071",
            "name": "Mobile offer for kids",
            "priority": 1,
            "criteriaGroupLogicalRelationship": "AND",
            "criteriaGroup": [
                {
                    "id": "CG-1932535019-1662116959477",
                    "groupName": "New Mobile offer",
                    "criteriaLogicalRelationship": "AND",
                    "criteria": [
                        {
                            "id": "criteria-1556266441-1662116959",
                            "valueType": "PRODUCT_OFFER",
                            "criteriaValue": "PO_10059",
                            "criteriaOperator": "EQUALS",
                            "criteriaParameter": "Product Offering"
                        },
                        {
                            "id": "criteria-1835686338-1662361421",
                            "valueType": "STRING",
                            "criteriaValue": "NY",
                            "criteriaOperator": "EQUALS",
                            "criteriaParameter": "State"
                        },
                        {
                            "versionState": 0,
                            "id": "criteria-59256234-166211700341",
                            "valueType": "PRODUCT_LINE",
                            "criteriaValue": "PL_1001",
                            "criteriaOperator": "EQUALS",
                            "criteriaParameter": "Product Line"
                        }
                    ]
                }
            ],
            "action": [
                {
                    "id": "action-2667852764-166211712640",
                    "actionType": [
                        "DISCOUNT"
                    ],
                    "actionValue": "0.05",
                    "actionValueObj": [
                        {
                            "versionState": 0,
                            "id": "pricealt-1910196940-1662117152",
                            "name": "pricealt-1910196940-1662117152",
                            "actionObjectType": "PRODUCT_OFFERING_PRICE",
                            "@referredType": "ProductOfferPriceAlterationOracle",
                            "appliesTo": "ALL",
                            "maxQuantity": 1
                        }
                    ],
                    "eligibility": [
                        {
                            "versionState": 0,
                            "id": "PL_1001",
                            "name": "Mobile Phones",
                            "actionObjectType": "PRODUCTLINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ]
                }
            ]
        }
    ],
    "priceList": [
        {
            "id": "US_PL_1",
            "name": "DX4C NA Pricelist",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/pricelist/US_PL_1",
            "version": "1.0",
            "versionState": 0,
            "@referredType": "PricelistOracle"
        }
    ],
    "customProfileSpec": [
        {
            "id": "DX4CCustomProfileSpec",
            "name": "DX4CCustomProfileSpec",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/DX4CCustomProfileSpec",
            "version": "1.0",
            "versionState": 0,
            "@referredType": "CustomProfileSpecificationOracle",
            "profileType": "DEVICE_SPEC"
        }
    ]
}

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
    "lastUpdate": "2023-09-25T15:05:53.624Z",
    "lastUpdatedBy": "booth",
    "created": "2023-09-21T10:19:20.000Z",
    "createdBy": "booth",
    "id": "PROMO_10008K",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/promotionManagement/v4/promotion/PROMO_10008K",
    "name": "New location promo for kids",
    "@type": "PromotionOracle",
    "version": "1.0",
    "validFor": {
        "startDateTime": "2022-09-02T00:00:00.000Z"
    },
    "project": {
        "id": "ProjQZNHYKGY6DB",
        "name": "AutoProjQZNHYKGY6DB",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/ProjQZNHYKGY6DB"
    },
    "lifecycleStatus": "In design",
    "promotionType": "DISCOUNT",
    "pattern": [
        {
            "id": "pattern-404696233-166211715071",
            "name": "Mobile offer for kids",
            "priority": 1,
            "criteriaGroupLogicalRelationship": "AND",
            "criteriaGroup": [
                {
                    "id": "CG-1932535019-1662116959477",
                    "groupName": "New Mobile offer",
                    "criteriaLogicalRelationship": "AND",
                    "criteria": [
                        {
                            "id": "criteria-1556266441-1662116959",
                            "valueType": "PRODUCT_OFFER",
                            "criteriaValue": "PO_10059",
                            "criteriaOperator": "EQUALS",
                            "criteriaParameter": "Product Offering"
                        },
                        {
                            "id": "criteria-1835686338-1662361421",
                            "valueType": "STRING",
                            "criteriaValue": "NY",
                            "criteriaOperator": "EQUALS",
                            "criteriaParameter": "State"
                        },
                        {
                            "versionState": 0,
                            "id": "criteria-59256234-166211700341",
                            "valueType": "PRODUCT_LINE",
                            "criteriaValue": "PL_1001",
                            "criteriaOperator": "EQUALS",
                            "criteriaParameter": "Product Line"
                        }
                    ]
                }
            ],
            "action": [
                {
                    "id": "action-2667852764-166211712640",
                    "actionType": [
                        "DISCOUNT"
                    ],
                    "actionValue": "0.05",
                    "actionValueObj": [
                        {
                            "versionState": 0,
                            "id": "pricealt-1910196940-1662117152",
                            "name": "pricealt-1910196940-1662117152",
                            "actionObjectType": "PRODUCT_OFFERING_PRICE",
                            "@referredType": "ProductOfferPriceAlterationOracle",
                            "appliesTo": "ALL",
                            "maxQuantity": 1
                        }
                    ],
                    "eligibility": [
                        {
                            "versionState": 0,
                            "id": "PL_1001",
                            "name": "Mobile Phones",
                            "actionObjectType": "PRODUCTLINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ]
                }
            ],
            "active": true
        }
    ],
    "priceList": [
        {
            "id": "US_PL_1",
            "name": "DX4C NA Pricelist",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/pricelist/US_PL_1",
            "version": "1.0",
            "versionState": 0,
            "@referredType": "PricelistOracle"
        }
    ],
    "customProfileSpec": [
        {
            "id": "DX4CCustomProfileSpec",
            "name": "DX4CCustomProfileSpec",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/DX4CCustomProfileSpec",
            "version": "1.0",
            "versionState": 0,
            "@referredType": "CustomProfileSpecificationOracle"
        }
    ],
    "active": true
}

Create promotion with multiple action type

cURL Command

curl  -u username:password -H POST https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/promotion/v2/promotion/{PromotionId} -H "Content-Type: application/json" -D @put_promotion.json | json_pp

Example of Request Body

The following shows an example of the request body.

{
   "id": "myTradein00025",
   "name": "My Tradein00025",
   "description": "This is new trade-in program for Premium Phones.",
   "version": "1.0",
   "validFor": {
       "startDateTime": "2020-09-14T00:00:00.000Z",
       "endDateTime": "2021-01-25T00:00:00.000Z"
   },
   "project": {
       "id": "christmasInitiative",
       "name": "Christmas Initiative",
   },
   "lifecycleStatus": "In design",
   "promotionType": "TRADE_IN",
   "pattern": [
       {
           "id": "10percentPattern",
           "name": "10 percent discount Price Pattern",
           "description": "trade-in value with 10 percent discount indevice",
           "validFor": {
               "startDateTime": "2020-09-14T00:00:00.000Z",
               "endDateTime": "2021-01-25T00:00:00.000Z"
           },
           "priority": 5,
           "criteriaGroup": [
               {
                   "id": "CriteriaGroup1",
                   "groupName": "trade-in value with 10 percent discountGroup",
                   "relationTypeInGroup": "OR",
                   "criteria": [
                       {
                           "id": "Question 4",
                           "description": "Activation Lock turned on,Screenhas bruised/dead pixels, Device is Unlocked.",
                           "criteriaPara": "Is the activation lock turnedoff?",
                           "criteriaOperator": "EQUALS",
                           "@type": "PromotionCriteria"
                       }
                   ],
                   "@type": "PromotionCriteriaGroupOracle"
               }
           ],
           "action": [
               {
                   "id": "10PercentDiscountPriceAction",
                   "actionType": [
                       "DISCOUNT",
                       "VOUCHER"
                   ],
                   "actionValueObj": [
                       {
                           "id": "PriceWith10PercentageDiscount",
                           "name": "Price with 10 percent discount",
                           "actionObjectType": "PRODUCT_OFFERING_PRICE",
                           "@referredType": "ProductOfferPriceAlterationOracle",
                           "@type": "ActionObjectRefOracle"
                       }
                   ],
                   "eligibility": [
                       {
                           "id": "ProductLine1",
                           "name": "ProductLine 1",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "ProductLine2",
                           "name": "ProductLine 2",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "TelecomProductlinexx22",
                           "name": "TelecomProductlinexx22",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "SwissCommCategory_Y2021_001",
                           "name": "SwissCommCategory_Y2021_001",
                           "actionObjectType": "CATEGORY",
                           "@referredType": "CategoryOracle",
                           "@type": "ActionObjectRefOracle"
                       }
                   ],
                   "@type": "PromotionActionOracle"
               }
           ],
           "@type": "PromotionPattern"
       },
       {
           "id": "15percentPattern",
           "name": "15 percent discount Price Pattern",
           "description": "trade-in value with 15 percent discount indevice",
           "validFor": {
               "startDateTime": "2020-09-14T00:00:00.000Z",
               "endDateTime": "2021-01-25T00:00:00.000Z"
           },
           "priority": 4,
           "criteriaGroup": [
               {
                   "id": "CriteriaGroup1",
                   "groupName": "trade-in value with 15 percent discountGroup",
                   "relationTypeInGroup": "OR",
                   "criteria": [
                       {
                           "id": "Question 3",
                           "description": "Screen doesn't functionproperly,Screen has bruised/dead pixels, Device is Unlocked.",
                           "criteriaPara": "Is the screen Functioningcorrectly and intact, free of any chips, bruised/dead pixels or burn-in?",
                           "criteriaOperator": "EQUALS",
                           "@type": "PromotionCriteria"
                       }
                   ],
                   "@type": "PromotionCriteriaGroupOracle"
               }
           ],
           "action": [
               {
                   "id": "15PercentDiscountPriceAction",
                   "actionType": [
                       "DISCOUNT",
                       "VOUCHER"
                   ],
                   "actionValueObj": [
                       {
                           "id": "PriceWith15PercentageDiscount",
                           "name": "Price with 15 percent discount",
                           "actionObjectType": "PRODUCT_OFFERING_PRICE",
                           "@referredType": "ProductOfferPriceAlterationOracle",
                           "@type": "ActionObjectRefOracle"
                       }
                   ],
                   "eligibility": [
                       {
                           "id": "ProductLine1",
                           "name": "ProductLine 1",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "ProductLine2",
                           "name": "ProductLine 2",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "TelecomProductlinexx22",
                           "name": "TelecomProductlinexx22",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "SwissCommCategory_Y2021_001",
                           "name": "SwissCommCategory_Y2021_001",
                           "actionObjectType": "CATEGORY",
                           "@referredType": "CategoryOracle",
                           "@type": "ActionObjectRefOracle"
                       }
                   ],
                   "@type": "PromotionActionOracle"
               }
           ],
           "@type": "PromotionPattern"
       },
       {
           "id": "25percentPattern",
           "name": "25 percent discount Price Pattern",
           "description": "trade-in value with 25 percent discount indevice",
           "validFor": {
               "startDateTime": "2020-09-14T00:00:00.000Z",
               "endDateTime": "2021-01-25T00:00:00.000Z"
           },
           "priority": 3,
           "criteriaGroup": [
               {
                   "id": "CriteriaGroup1",
                   "groupName": "trade-in value with 25 percent discountGroup",
                   "relationTypeInGroup": "OR",
                   "criteria": [
                       {
                           "id": "Question 2",
                           "description": "Device have physicalDamages,Device is Unlocked.",
                           "criteriaPara": "Does the device have physicaldamages?",
                           "criteriaOperator": "EQUALS",
                           "@type": "PromotionCriteria"
                       }
                   ],
                   "@type": "PromotionCriteriaGroupOracle"
               }
           ],
           "action": [
               {
                   "id": "25PercentDiscountPriceAction",
                   "actionType": [
                       "DISCOUNT",
                       "VOUCHER"
                   ],
                   "actionValueObj": [
                       {
                           "id": "PriceWith25PercentageDiscount",
                           "name": "Price with 25 percent discount",
                           "actionObjectType": "PRODUCT_OFFERING_PRICE",
                           "@referredType": "ProductOfferPriceAlterationOracle",
                           "@type": "ActionObjectRefOracle"
                       }
                   ],
                   "eligibility": [
                       {
                           "id": "ProductLine1",
                           "name": "ProductLine 1",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "ProductLine2",
                           "name": "ProductLine 2",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "TelecomProductlinexx22",
                           "name": "TelecomProductlinexx22",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "SwissCommCategory_Y2021_001",
                           "name": "SwissCommCategory_Y2021_001",
                           "actionObjectType": "CATEGORY",
                           "@referredType": "CategoryOracle",
                           "@type": "ActionObjectRefOracle"
                       }
                   ],
                   "@type": "PromotionActionOracle"
               }
           ],
           "@type": "PromotionPattern"
       },
       {
           "id": "MinPricePattern",
           "name": "Minimum Price Pattern",
           "description": "Minimum value for trade-in device",
           "validFor": {
               "startDateTime": "2020-09-14T00:00:00.000Z",
               "endDateTime": "2021-01-25T00:00:00.000Z"
           },
           "priority": 2,
           "criteriaGroup": [
               {
                   "id": "CriteriaGroup1",
                   "groupName": "Minimum trade-in value Group",
                   "relationTypeInGroup": "OR",
                   "criteria": [
                       {
                           "id": "Question 1",
                           "description": "Device doesn't Turns On,There areScreen Damages,Device is locked.",
                           "criteriaPara": "Does the device turns on?",
                           "criteriaOperator": "EQUALS",
                           "@type": "PromotionCriteria"
                       }
                   ],
                   "@type": "PromotionCriteriaGroupOracle"
               }
           ],
           "action": [
               {
                   "id": "MinPriceAction",
                   "actionType": [
                       "DISCOUNT",
                       "VOUCHER"
                   ],
                   "actionValue": -1,
                   "eligibility": [
                       {
                           "id": "ProductLine1",
                           "name": "ProductLine 1",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "ProductLine2",
                           "name": "ProductLine 2",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "TelecomProductlinexx22",
                           "name": "TelecomProductlinexx22",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "SwissCommCategory_Y2021_001",
                           "name": "SwissCommCategory_Y2021_001",
                           "actionObjectType": "CATEGORY",
                           "@referredType": "CategoryOracle",
                           "@type": "ActionObjectRefOracle"
                       }
                   ],
                   "@type": "PromotionAction"
               }
           ],
           "@type": "PromotionPattern"
       },
       {
           "id": "NoReductionPattern",
           "name": "NoReductionPattern",
           "description": "No Reduction for trade-in device",
           "validFor": {
               "startDateTime": "2020-09-14T00:00:00.000Z",
               "endDateTime": "2021-01-25T00:00:00.000Z"
           },
           "priority": 1,
           "criteriaGroup": [
               {
                   "id": "CriteriaGroup1",
                   "groupName": "No Reduction Group",
                   "relationTypeInGroup": "OR",
                   "criteria": [
                       {
                           "id": "Question 1",
                           "description": "Device Turns On,No ScreenDamage,Device is Unlocked.",
                           "criteriaPara": "Does the device turns on?",
                           "criteriaOperator": "EQUALS",
                           "@type": "PromotionCriteria"
                       },
                       {
                           "id": "Question 2",
                           "description": "No physical Damages,Device TurnsOn,Device is Unlocked.",
                           "criteriaPara": "Does the device have physicaldamages?",
                           "criteriaOperator": "EQUALS",
                           "@type": "PromotionCriteria"
                       },
                       {
                           "id": "Question 3",
                           "description": "Sceen Functioning correctly,Nobruised/dead pixels on the screen,No burn-in on the screen.",
                           "criteriaPara": "Is the screen Functioningcorrectly and intact, free of any chips, bruised/dead pixels or burn-in?",
                           "criteriaOperator": "EQUALS",
                           "@type": "PromotionCriteria"
                       },
                       {
                           "id": "Question 4",
                           "description": "Activation lock turned off,NoScreen Damage,Device is Unlocked.",
                           "criteriaPara": "Is the activation lock turnedoff?",
                           "criteriaOperator": "EQUALS",
                           "@type": "PromotionCriteria"
                       }
                   ],
                   "@type": "PromotionCriteriaGroupOracle"
               }
           ],
           "action": [
               {
                   "id": "NoReductionAction",
                   "actionType": [
                       "DISCOUNT",
                       "VOUCHER"
                   ],
                   "actionValueObj": [
                       {
                           "id": "noReductionPrice",
                           "name": "No Reduction Price",
                           "actionObjectType": "PRODUCT_OFFERING_PRICE",
                           "@referredType": "ProductOfferPriceAlterationOracle",
                           "@type": "ActionObjectRefOracle"
                       }
                   ],
                   "eligibility": [
                       {
                           "id": "ProductLine1",
                           "name": "ProductLine 1",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "ProductLine2",
                           "name": "ProductLine 2",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "TelecomProductlinexx22",
                           "name": "TelecomProductlinexx22",
                           "actionObjectType": "PRODUCT_LINE",
                           "@referredType": "ProductLineOracle",
                           "@type": "ActionObjectRefOracle"
                       },
                       {
                           "id": "SwissCommCategory_Y2021_001",
                           "name": "SwissCommCategory_Y2021_001",
                           "actionObjectType": "CATEGORY",
                           "@referredType": "CategoryOracle",
                           "@type": "ActionObjectRefOracle"
                       }
                   ],
                   "@type": "PromotionActionOracle"
               }
           ],
           "@type": "PromotionPattern"
       }
   ],
   "customProfileSpec": [
       {
           "id": "mycustomSpecification",
           "name": "Premium Phones Specification",
           "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/mycustomSpecification",
           "version": "1.0",
           "@referredType": "CustomProfileSpecificationOracle",
           "profileType": "TRADE_IN"
       }
   ],
   "@type": "PromotionOracle",
   "attachment": [
       {
           "description": "document",
           "id": "ReturnPolicy.docx",
           "url": "https://{FusionAppsHost}",
           "name": "ReturnPolicy.docx",
           "@type": "AttachmentOracle"
       },
       {
           "description": "document",
           "id": "Terms_trade-in.pdf",
           "url": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/v1/attachment/Terms_and_Conditions.docx?path=CatalogManagement/docs",
           "name": "Terms_trade-in.pdf",
           "@type": "AttachmentOracle"
       }
   ],
   "category": [
       {
           "id": "SwissCommCategory_Y2021_001",
           "name": "SwissCommCategory_Y2021_001",
           "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/SwissCommCategory_Y2021_001",
           "version": "1.0"
       }
   ]
}

Example of Response Body

The following shows an example of the response body.

{
    "lastUpdate": "2021-10-06T09:33:13.220Z",
    "lastUpdatedBy": "booth",
    "created": "2021-10-06T09:32:42.000Z",
    "createdBy": "booth",
    "id": "myTradein00025",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/promotion/v2/promotion/myTradein00025",
    "name": "My Tradein00025",
    "description": "This is new trade-in program for Premium Phones.",
    "version": "1.0",
    "validFor": {
        "startDateTime": "2020-09-14T00:00:00.000Z",
        "endDateTime": "2021-01-25T00:00:00.000Z"
    },
    "project": {
        "id": "christmasInitiative",
        "name": "Christmas Initiative",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/christmasInitiative"
    },
    "lifecycleStatus": "In design",
    "promotionType": "TRADE_IN",
    "pattern": [
        {
            "id": "10percentPattern",
            "name": "10 percent discount Price Pattern",
            "description": "trade-in value with 10 percent discount indevice",
            "validFor": {
                "startDateTime": "2020-09-14T00:00:00.000Z",
                "endDateTime": "2021-01-25T00:00:00.000Z"
            },
            "priority": 5,
            "criteriaGroup": [
                {
                    "id": "CriteriaGroup1",
                    "groupName": "trade-in value with 10 percent discountGroup",
                    "relationTypeInGroup": "OR",
                    "criteria": [
                        {
                            "id": "Question 4",
                            "description": "Activation Lock turned on,Screenhas bruised/dead pixels, Device is Unlocked.",
                            "criteriaPara": "Is the activation lock turnedoff?",
                            "criteriaOperator": "EQUALS",
                            "@type": "PromotionCriteria"
                        }
                    ],
                    "@type": "PromotionCriteriaGroupOracle"
                }
            ],
            "action": [
                {
                    "id": "10PercentDiscountPriceAction",
                    "actionType": [
                        "DISCOUNT",
                        "VOUCHER"
                    ],
                    "actionValueObj": [
                        {
                            "id": "PriceWith10PercentageDiscount",
                            "name": "Price with 10 percent discount",
                            "actionObjectType": "PRODUCT_OFFERING_PRICE",
                            "@referredType": "ProductOfferPriceAlterationOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ],
                    "eligibility": [
                        {
                            "id": "ProductLine1",
                            "name": "ProductLine 1",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "ProductLine2",
                            "name": "ProductLine 2",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "TelecomProductlinexx22",
                            "name": "TelecomProductlinexx22",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "SwissCommCategory_Y2021_001",
                            "name": "SwissCommCategory_Y2021_001",
                            "actionObjectType": "CATEGORY",
                            "@referredType": "CategoryOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ],
                    "@type": "PromotionActionOracle"
                }
            ],
            "@type": "PromotionPattern"
        },
        {
            "id": "15percentPattern",
            "name": "15 percent discount Price Pattern",
            "description": "trade-in value with 15 percent discount indevice",
            "validFor": {
                "startDateTime": "2020-09-14T00:00:00.000Z",
                "endDateTime": "2021-01-25T00:00:00.000Z"
            },
            "priority": 4,
            "criteriaGroup": [
                {
                    "id": "CriteriaGroup1",
                    "groupName": "trade-in value with 15 percent discountGroup",
                    "relationTypeInGroup": "OR",
                    "criteria": [
                        {
                            "id": "Question 3",
                            "description": "Screen doesn't functionproperly,Screen has bruised/dead pixels, Device is Unlocked.",
                            "criteriaPara": "Is the screen Functioningcorrectly and intact, free of any chips, bruised/dead pixels or burn-in?",
                            "criteriaOperator": "EQUALS",
                            "@type": "PromotionCriteria"
                        }
                    ],
                    "@type": "PromotionCriteriaGroupOracle"
                }
            ],
            "action": [
                {
                    "id": "15PercentDiscountPriceAction",
                    "actionType": [
                        "DISCOUNT",
                        "VOUCHER"
                    ],
                    "actionValueObj": [
                        {
                            "id": "PriceWith15PercentageDiscount",
                            "name": "Price with 15 percent discount",
                            "actionObjectType": "PRODUCT_OFFERING_PRICE",
                            "@referredType": "ProductOfferPriceAlterationOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ],
                    "eligibility": [
                        {
                            "id": "ProductLine1",
                            "name": "ProductLine 1",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "ProductLine2",
                            "name": "ProductLine 2",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "TelecomProductlinexx22",
                            "name": "TelecomProductlinexx22",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "SwissCommCategory_Y2021_001",
                            "name": "SwissCommCategory_Y2021_001",
                            "actionObjectType": "CATEGORY",
                            "@referredType": "CategoryOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ],
                    "@type": "PromotionActionOracle"
                }
            ],
            "@type": "PromotionPattern"
        },
        {
            "id": "25percentPattern",
            "name": "25 percent discount Price Pattern",
            "description": "trade-in value with 25 percent discount indevice",
            "validFor": {
                "startDateTime": "2020-09-14T00:00:00.000Z",
                "endDateTime": "2021-01-25T00:00:00.000Z"
            },
            "priority": 3,
            "criteriaGroup": [
                {
                    "id": "CriteriaGroup1",
                    "groupName": "trade-in value with 25 percent discountGroup",
                    "relationTypeInGroup": "OR",
                    "criteria": [
                        {
                            "id": "Question 2",
                            "description": "Device have physicalDamages,Device is Unlocked.",
                            "criteriaPara": "Does the device have physicaldamages?",
                            "criteriaOperator": "EQUALS",
                            "@type": "PromotionCriteria"
                        }
                    ],
                    "@type": "PromotionCriteriaGroupOracle"
                }
            ],
            "action": [
                {
                    "id": "25PercentDiscountPriceAction",
                    "actionType": [
                        "DISCOUNT",
                        "VOUCHER"
                    ],
                    "actionValueObj": [
                        {
                            "id": "PriceWith25PercentageDiscount",
                            "name": "Price with 25 percent discount",
                            "actionObjectType": "PRODUCT_OFFERING_PRICE",
                            "@referredType": "ProductOfferPriceAlterationOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ],
                    "eligibility": [
                        {
                            "id": "ProductLine1",
                            "name": "ProductLine 1",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "ProductLine2",
                            "name": "ProductLine 2",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "TelecomProductlinexx22",
                            "name": "TelecomProductlinexx22",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "SwissCommCategory_Y2021_001",
                            "name": "SwissCommCategory_Y2021_001",
                            "actionObjectType": "CATEGORY",
                            "@referredType": "CategoryOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ],
                    "@type": "PromotionActionOracle"
                }
            ],
            "@type": "PromotionPattern"
        },
        {
            "id": "MinPricePattern",
            "name": "Minimum Price Pattern",
            "description": "Minimum value for trade-in device",
            "validFor": {
                "startDateTime": "2020-09-14T00:00:00.000Z",
                "endDateTime": "2021-01-25T00:00:00.000Z"
            },
            "priority": 2,
            "criteriaGroup": [
                {
                    "id": "CriteriaGroup1",
                    "groupName": "Minimum trade-in value Group",
                    "relationTypeInGroup": "OR",
                    "criteria": [
                        {
                            "id": "Question 1",
                            "description": "Device doesn't Turns On,There areScreen Damages,Device is locked.",
                            "criteriaPara": "Does the device turns on?",
                            "criteriaOperator": "EQUALS",
                            "@type": "PromotionCriteria"
                        }
                    ],
                    "@type": "PromotionCriteriaGroupOracle"
                }
            ],
            "action": [
                {
                    "id": "MinPriceAction",
                    "actionType": [
                        "DISCOUNT",
                        "VOUCHER"
                    ],
                    "actionValue": -1,
                    "eligibility": [
                        {
                            "id": "ProductLine1",
                            "name": "ProductLine 1",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "ProductLine2",
                            "name": "ProductLine 2",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "TelecomProductlinexx22",
                            "name": "TelecomProductlinexx22",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "SwissCommCategory_Y2021_001",
                            "name": "SwissCommCategory_Y2021_001",
                            "actionObjectType": "CATEGORY",
                            "@referredType": "CategoryOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ],
                    "@type": "PromotionAction"
                }
            ],
            "@type": "PromotionPattern"
        },
        {
            "id": "NoReductionPattern",
            "name": "NoReductionPattern",
            "description": "No Reduction for trade-in device",
            "validFor": {
                "startDateTime": "2020-09-14T00:00:00.000Z",
                "endDateTime": "2021-01-25T00:00:00.000Z"
            },
            "priority": 1,
            "criteriaGroup": [
                {
                    "id": "CriteriaGroup1",
                    "groupName": "No Reduction Group",
                    "relationTypeInGroup": "OR",
                    "criteria": [
                        {
                            "id": "Question 1",
                            "description": "Device Turns On,No ScreenDamage,Device is Unlocked.",
                            "criteriaPara": "Does the device turns on?",
                            "criteriaOperator": "EQUALS",
                            "@type": "PromotionCriteria"
                        },
                        {
                            "id": "Question 2",
                            "description": "No physical Damages,Device TurnsOn,Device is Unlocked.",
                            "criteriaPara": "Does the device have physicaldamages?",
                            "criteriaOperator": "EQUALS",
                            "@type": "PromotionCriteria"
                        },
                        {
                            "id": "Question 3",
                            "description": "Sceen Functioning correctly,Nobruised/dead pixels on the screen,No burn-in on the screen.",
                            "criteriaPara": "Is the screen Functioningcorrectly and intact, free of any chips, bruised/dead pixels or burn-in?",
                            "criteriaOperator": "EQUALS",
                            "@type": "PromotionCriteria"
                        },
                        {
                            "id": "Question 4",
                            "description": "Activation lock turned off,NoScreen Damage,Device is Unlocked.",
                            "criteriaPara": "Is the activation lock turnedoff?",
                            "criteriaOperator": "EQUALS",
                            "@type": "PromotionCriteria"
                        }
                    ],
                    "@type": "PromotionCriteriaGroupOracle"
                }
            ],
            "action": [
                {
                    "id": "NoReductionAction",
                    "actionType": [
                        "DISCOUNT",
                        "VOUCHER"
                    ],
                    "actionValueObj": [
                        {
                            "id": "noReductionPrice",
                            "name": "No Reduction Price",
                            "actionObjectType": "PRODUCT_OFFERING_PRICE",
                            "@referredType": "ProductOfferPriceAlterationOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ],
                    "eligibility": [
                        {
                            "id": "ProductLine1",
                            "name": "ProductLine 1",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "ProductLine2",
                            "name": "ProductLine 2",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "TelecomProductlinexx22",
                            "name": "TelecomProductlinexx22",
                            "actionObjectType": "PRODUCT_LINE",
                            "@referredType": "ProductLineOracle",
                            "@type": "ActionObjectRefOracle"
                        },
                        {
                            "id": "SwissCommCategory_Y2021_001",
                            "name": "SwissCommCategory_Y2021_001",
                            "actionObjectType": "CATEGORY",
                            "@referredType": "CategoryOracle",
                            "@type": "ActionObjectRefOracle"
                        }
                    ],
                    "@type": "PromotionActionOracle"
                }
            ],
            "@type": "PromotionPattern"
        }
    ],
    "customProfileSpec": [
        {
            "id": "mycustomSpecification",
            "name": "Premium Phones Specification",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/mycustomSpecification",
            "version": "1.0",
            "@referredType": "CustomProfileSpecificationOracle",
            "profileType": "TRADE_IN"
        }
    ],
    "@type": "PromotionOracle",
    "attachment": [
        {
            "description": "document",
            "id": "ReturnPolicy.docx",
            "url": "https://{FusionAppsHost}",
            "name": "ReturnPolicy.docx",
            "@type": "AttachmentOracle"
        },
        {
            "description": "document",
            "id": "Terms_trade-in.pdf",
            "url": "https://{FusionAppsHost}/https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/v1/attachment/Terms_and_Conditions.docx?path=CatalogManagement/docs",
            "name": "Terms_trade-in.pdf",
            "@type": "AttachmentOracle"
        }
    ],
    "category": [
        {
            "id": "SwissCommCategory_Y2021_001",
            "name": "SwissCommCategory_Y2021_001",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/SwissCommCategory_Y2021_001",
            "version": "1.0"
        }
    ]
}
Back to Top