Update a pricing logic algorithm specification

patch

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/pricingLogicAlgorithmSpecification/{id}

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : PricingLogicAlgorithmSpecification_Schemas
Type: object
Title: PricingLogicAlgorithmSpecification_Schemas
Discriminator: @type

Discriminator Values

Match One Schema
Show Source
  • PricingLogicAlgorithmSpecificationsOracle
    Title: PricingLogicAlgorithmSpecificationsOracle
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
  • OneTimePLASpecOracle
    Title: OneTimePLASpecOracle
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
  • UsagePLASpecOracle
    Title: UsagePLASpecOracle
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
  • RecurringPLASpecOracle
    Title: RecurringPLASpecOracle
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Nested Schema : PricingLogicAlgorithmSpecificationsOracle
Title: PricingLogicAlgorithmSpecificationsOracle
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Match All
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
  • PricingLogicAlgorithmSpecification
    Title: PricingLogicAlgorithmSpecification
    Discriminator: { "propertyName":"@type", "mapping":{ "PricingLogicAlgorithmSpec":"#/components/schemas/PricingLogicAlgorithmSpecification", "PricingLogicAlgorithmSpecOracle":"#/components/schemas/PricingLogicAlgorithmSpecificationOracle" } }
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
  • Discriminator: @type
    Discriminator: { "propertyName":"@type", "mapping":{ "OneTimePLASpecOracle":"#/components/schemas/OneTimePLASpecOracle", "UsagePLASpecOracle":"#/components/schemas/UsagePLASpecOracle", "RecurringPLASpecOracle":"#/components/schemas/RecurringPLASpecOracle", "PricingLogicAlgorithmSpecOracle":"#/components/schemas/PricingLogicAlgorithmSpecificationOracle" } }
Nested Schema : OneTimePLASpecOracle
Title: OneTimePLASpecOracle
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Match All
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
Nested Schema : UsagePLASpecOracle
Title: UsagePLASpecOracle
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Match All
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
Nested Schema : RecurringPLASpecOracle
Title: RecurringPLASpecOracle
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Match All
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
Nested Schema : PricingLogicAlgorithmSpecification
Type: object
Title: PricingLogicAlgorithmSpecification
Discriminator: @type

Discriminator Values

It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
Nested Schema : Discriminator: @type
Type: object
Discriminator: @type

Discriminator Values

Show Source
Nested Schema : OneTimePLASpecOracle-allOf[1]
Type: object
Nested Schema : UsagePLASpecOracle-allOf[1]
Type: object
Show Source
Nested Schema : UsageSpecificationRefOracle
Title: UsageSpecificationRefOracle
Match All
Show Source
  • UsageSpecificationRef
    Title: UsageSpecificationRef
    Discriminator: { "propertyName":"@type", "mapping":{ "UsageSpecificationRef":"#/components/schemas/UsageSpecificationRef", "UsageSpecificationRefOracle":"#/components/schemas/UsageSpecificationRefOracle" } }
    Usage specification reference: A ProductSpecification is a detailed description of a tangible or intangible object made available externally in the form of a ProductOffering to customers or other parties playing a party role.
  • UsageSpecificationRefOracle-allOf[1]
Nested Schema : UsageSpecificationRef
Type: object
Title: UsageSpecificationRef
Discriminator: @type

Discriminator Values

Usage specification reference: A ProductSpecification is a detailed description of a tangible or intangible object made available externally in the form of a ProductOffering to customers or other parties playing a party role.
Show Source
Nested Schema : UsageSpecificationRefOracle-allOf[1]
Type: object
Show Source
Nested Schema : RecurringPLASpecOracle-allOf[1]
Type: object
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : PricingLogicAlgorithmSpecification_Schemas
Type: object
Title: PricingLogicAlgorithmSpecification_Schemas
Discriminator: @type

Discriminator Values

Match One Schema
Show Source
  • PricingLogicAlgorithmSpecificationsOracle
    Title: PricingLogicAlgorithmSpecificationsOracle
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
  • OneTimePLASpecOracle
    Title: OneTimePLASpecOracle
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
  • UsagePLASpecOracle
    Title: UsagePLASpecOracle
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
  • RecurringPLASpecOracle
    Title: RecurringPLASpecOracle
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Nested Schema : PricingLogicAlgorithmSpecificationsOracle
Title: PricingLogicAlgorithmSpecificationsOracle
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Match All
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
  • PricingLogicAlgorithmSpecification
    Title: PricingLogicAlgorithmSpecification
    Discriminator: { "propertyName":"@type", "mapping":{ "PricingLogicAlgorithmSpec":"#/components/schemas/PricingLogicAlgorithmSpecification", "PricingLogicAlgorithmSpecOracle":"#/components/schemas/PricingLogicAlgorithmSpecificationOracle" } }
    It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
  • Discriminator: @type
    Discriminator: { "propertyName":"@type", "mapping":{ "OneTimePLASpecOracle":"#/components/schemas/OneTimePLASpecOracle", "UsagePLASpecOracle":"#/components/schemas/UsagePLASpecOracle", "RecurringPLASpecOracle":"#/components/schemas/RecurringPLASpecOracle", "PricingLogicAlgorithmSpecOracle":"#/components/schemas/PricingLogicAlgorithmSpecificationOracle" } }
Nested Schema : OneTimePLASpecOracle
Title: OneTimePLASpecOracle
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Match All
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
Nested Schema : UsagePLASpecOracle
Title: UsagePLASpecOracle
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Match All
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
Nested Schema : RecurringPLASpecOracle
Title: RecurringPLASpecOracle
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Match All
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
Nested Schema : PricingLogicAlgorithmSpecification
Type: object
Title: PricingLogicAlgorithmSpecification
Discriminator: @type

Discriminator Values

It is designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
Show Source
Nested Schema : Discriminator: @type
Type: object
Discriminator: @type

Discriminator Values

Show Source
Nested Schema : OneTimePLASpecOracle-allOf[1]
Type: object
Nested Schema : UsagePLASpecOracle-allOf[1]
Type: object
Show Source
Nested Schema : UsageSpecificationRefOracle
Title: UsageSpecificationRefOracle
Match All
Show Source
  • UsageSpecificationRef
    Title: UsageSpecificationRef
    Discriminator: { "propertyName":"@type", "mapping":{ "UsageSpecificationRef":"#/components/schemas/UsageSpecificationRef", "UsageSpecificationRefOracle":"#/components/schemas/UsageSpecificationRefOracle" } }
    Usage specification reference: A ProductSpecification is a detailed description of a tangible or intangible object made available externally in the form of a ProductOffering to customers or other parties playing a party role.
  • UsageSpecificationRefOracle-allOf[1]
Nested Schema : UsageSpecificationRef
Type: object
Title: UsageSpecificationRef
Discriminator: @type

Discriminator Values

Usage specification reference: A ProductSpecification is a detailed description of a tangible or intangible object made available externally in the form of a ProductOffering to customers or other parties playing a party role.
Show Source
Nested Schema : UsageSpecificationRefOracle-allOf[1]
Type: object
Show Source
Nested Schema : RecurringPLASpecOracle-allOf[1]
Type: object

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 does not 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

501 Response

The server does not support the functionality required to fulfill the request.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source
Back to Top

Examples

The following example shows how to update a pricing logic algorithm specification by submitting a PATCH request on the REST resource using cURL.

cURL Command

curl -u username:password -X PATCH https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/pricingLogicAlgorithmSpecification/PLAspec1 -H 'Content-Type: application/json' -D @update_plaspec1.json | json_pp

Example of Request Body

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

{
    "description" : "Pricing Logic Algorithm Specification 1",
    "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.
{
    "id": "PLAspec1",
    "name": "PLA Spec",
    "description" : "Pricing Logic Algorithm Specification 1",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/pricingLogicAlgorithmSpecification/PLAspec1",
    "version": "1.0",
    "lifecycleStatus": "In design",
    "created": "2025-02-17T12:53:28.000Z",
    "createdBy": "booth",
    "lastUpdate": "2025-02-17T12:53:28.047Z",
    "lastUpdatedBy": "booth",
    "@type": "PricingLogicAlgorithmSpecificationOracle",
    "@baseType": "PricingLogicAlgorithmSpecification",
    "@schemaLocation": "https://{FusionAppsHost}/CatalogManagement/schema/oracle/PricingLogicAlgorithmSpecificationOracle.yml",
    "versionState": 0,
    "validFor": {
        "startDateTime": "2024-08-09T00:00:00.000Z",
        "endDateTime": "2028-08-09T00:00:00.000Z"
    }
    "plaSpecCharacteristic": [
        {
            "name": "Colour",
            "description": "Phone Colour",
            "valueType": "STRING",
            "@type": "PLASpecCharacteristic",
            "extensible": false,
            "configurable": true,
            "isUnique": true,
            "minCardinality": 1,
            "maxCardinality": 1
        }
    ]
}
Back to Top