Create a pricing logic algorithm specification
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/pricingLogicAlgorithmSpecification
Request
There are no request parameters for this operation.
- application/json
objectPricingLogicAlgorithmSpecification_SchemasDiscriminator Values
- PricingLogicAlgorithmSpecificationOracle
- OneTimePLASpecOracle
- UsagePLASpecOracle
- RecurringPLASpecOracle
-
PricingLogicAlgorithmSpecificationsOracle
Title:
PricingLogicAlgorithmSpecificationsOracle -
OneTimePLASpecOracle
Title:
OneTimePLASpecOracle -
UsagePLASpecOracle
Title:
UsagePLASpecOracle -
RecurringPLASpecOracle
Title:
RecurringPLASpecOracle
PricingLogicAlgorithmSpecificationsOracle-
object
PricingLogicAlgorithmSpecification
Title:
PricingLogicAlgorithmSpecificationDiscriminator:{ "propertyName":"@type", "mapping":{ "PricingLogicAlgorithmSpecification":"#/components/schemas/PricingLogicAlgorithmSpecification", "PricingLogicAlgorithmSpecificationOracle":"#/components/schemas/PricingLogicAlgorithmSpecificationOracle" } }The specification models flexible interface definitions to support reuse by existing rating algorithms. -
object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "OneTimePLASpecOracle":"#/components/schemas/OneTimePLASpecOracle", "UsagePLASpecOracle":"#/components/schemas/UsagePLASpecOracle", "RecurringPLASpecOracle":"#/components/schemas/RecurringPLASpecOracle", "PricingLogicAlgorithmSpecificationOracle":"#/components/schemas/PricingLogicAlgorithmSpecificationOracle" } }
OneTimePLASpecOracle-
allOf
PricingLogicAlgorithmSpecificationsOracle
Title:
PricingLogicAlgorithmSpecificationsOracle -
object
OneTimePLASpecOracle-allOf[1]
UsagePLASpecOracle-
allOf
PricingLogicAlgorithmSpecificationsOracle
Title:
PricingLogicAlgorithmSpecificationsOracle -
object
UsagePLASpecOracle-allOf[1]
RecurringPLASpecOracle-
allOf
PricingLogicAlgorithmSpecificationsOracle
Title:
PricingLogicAlgorithmSpecificationsOracle -
object
RecurringPLASpecOracle-allOf[1]
objectPricingLogicAlgorithmSpecificationDiscriminator Values
-
@baseType: string
The base type of the pricing logic algorithm specification.
-
@schemaLocation: string
The URI of the schema that defines the pricing logic algorithm specification.
-
@type(required): string
The class type of the pricing logic algorithm specification.
-
description: string
A narrative that explains in detail what the pricing logic algorithm specification is.
-
href: string
The hyperlink reference to the pricing logic algorithm specification.
-
id: string
Maximum Length:
30The ID of the pricing logic algorithm specification. -
lastUpdate: string
(date-time)
The date and time when the pricing logic algorithm specification was last updated.
-
lifecycleStatus: string
The status of the pricing logic algorithm specification.
-
name(required): string
The name of the pricing logic algorithm specification.
-
plaSpecCharacteristic: array
plaSpecCharacteristic
A list of pla specification characteristics associated with the pricing logic algorithm specification.
-
targetProductSchema: object
TargetProductSchema
Title:
TargetProductSchemaThe reference object to the schema and type of target product which is described by product specification. -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid. -
version: string
The pricing logic algorithm specification version.
objectDiscriminator Values
- OneTimePLASpecOracle
- UsagePLASpecOracle
- RecurringPLASpecOracle
- PricingLogicAlgorithmSpecificationOracle
-
applicationName: string
The name of the application associated with the pricing logic algorithm specification.
-
created: string
(date-time)
The date and time of the creation.
-
createdBy: string
The name of the person who created item.
-
externalId: string
The ID of the external associated with the pricing logic algorithm specification.
-
lastUpdatedBy: string
The name of the person who updated item.
-
plaSpecificationRelationship: array
plaSpecificationRelationship
A list of pla specification relationships associated with the pricing logic algorithm specification.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
versionState: number
The version state of the Pricing Logic Algorithm Specification.
objectobject-
usageSpecification:
UsageSpecificationRefOracle
Title:
UsageSpecificationRefOracle
UsageSpecificationRefOracle-
object
UsageSpecificationRef
Title:
UsageSpecificationRefDiscriminator:{ "propertyName":"@type", "mapping":{ "UsageSpecificationRef":"#/components/schemas/UsageSpecificationRef", "UsageSpecificationRefOracle":"#/components/schemas/UsageSpecificationRefOracle" } }The 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. -
object
UsageSpecificationRefOracle-allOf[1]
objectUsageSpecificationRefDiscriminator Values
-
@baseType: string
The base type of the usage specification reference.
-
@referredType(required): string
The type of the referred usage specification reference.
-
@schemaLocation: string
The URI of the schema that defines the usage specification reference.
-
@type(required): string
The class type of the usage specification reference.
-
href: string
The hyperlink reference to the usage specification reference.
-
id(required): string
The ID of the usage specification reference.
-
name: string
The name of the usage specification reference.
-
version: string
The version of the usage specification.
-
versionState: number
The version state of the reference.
object-
usageCode: string
The usage code associated with the usage specification reference.
objectResponse
- application/json
201 Response
objectPricingLogicAlgorithmSpecification_SchemasDiscriminator Values
- PricingLogicAlgorithmSpecificationOracle
- OneTimePLASpecOracle
- UsagePLASpecOracle
- RecurringPLASpecOracle
-
PricingLogicAlgorithmSpecificationsOracle
Title:
PricingLogicAlgorithmSpecificationsOracle -
OneTimePLASpecOracle
Title:
OneTimePLASpecOracle -
UsagePLASpecOracle
Title:
UsagePLASpecOracle -
RecurringPLASpecOracle
Title:
RecurringPLASpecOracle
PricingLogicAlgorithmSpecificationsOracle-
object
PricingLogicAlgorithmSpecification
Title:
PricingLogicAlgorithmSpecificationDiscriminator:{ "propertyName":"@type", "mapping":{ "PricingLogicAlgorithmSpecification":"#/components/schemas/PricingLogicAlgorithmSpecification", "PricingLogicAlgorithmSpecificationOracle":"#/components/schemas/PricingLogicAlgorithmSpecificationOracle" } }The specification models flexible interface definitions to support reuse by existing rating algorithms. -
object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "OneTimePLASpecOracle":"#/components/schemas/OneTimePLASpecOracle", "UsagePLASpecOracle":"#/components/schemas/UsagePLASpecOracle", "RecurringPLASpecOracle":"#/components/schemas/RecurringPLASpecOracle", "PricingLogicAlgorithmSpecificationOracle":"#/components/schemas/PricingLogicAlgorithmSpecificationOracle" } }
OneTimePLASpecOracle-
allOf
PricingLogicAlgorithmSpecificationsOracle
Title:
PricingLogicAlgorithmSpecificationsOracle -
object
OneTimePLASpecOracle-allOf[1]
UsagePLASpecOracle-
allOf
PricingLogicAlgorithmSpecificationsOracle
Title:
PricingLogicAlgorithmSpecificationsOracle -
object
UsagePLASpecOracle-allOf[1]
RecurringPLASpecOracle-
allOf
PricingLogicAlgorithmSpecificationsOracle
Title:
PricingLogicAlgorithmSpecificationsOracle -
object
RecurringPLASpecOracle-allOf[1]
objectPricingLogicAlgorithmSpecificationDiscriminator Values
-
@baseType: string
The base type of the pricing logic algorithm specification.
-
@schemaLocation: string
The URI of the schema that defines the pricing logic algorithm specification.
-
@type(required): string
The class type of the pricing logic algorithm specification.
-
description: string
A narrative that explains in detail what the pricing logic algorithm specification is.
-
href: string
The hyperlink reference to the pricing logic algorithm specification.
-
id: string
Maximum Length:
30The ID of the pricing logic algorithm specification. -
lastUpdate: string
(date-time)
The date and time when the pricing logic algorithm specification was last updated.
-
lifecycleStatus: string
The status of the pricing logic algorithm specification.
-
name(required): string
The name of the pricing logic algorithm specification.
-
plaSpecCharacteristic: array
plaSpecCharacteristic
A list of pla specification characteristics associated with the pricing logic algorithm specification.
-
targetProductSchema: object
TargetProductSchema
Title:
TargetProductSchemaThe reference object to the schema and type of target product which is described by product specification. -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid. -
version: string
The pricing logic algorithm specification version.
objectDiscriminator Values
- OneTimePLASpecOracle
- UsagePLASpecOracle
- RecurringPLASpecOracle
- PricingLogicAlgorithmSpecificationOracle
-
applicationName: string
The name of the application associated with the pricing logic algorithm specification.
-
created: string
(date-time)
The date and time of the creation.
-
createdBy: string
The name of the person who created item.
-
externalId: string
The ID of the external associated with the pricing logic algorithm specification.
-
lastUpdatedBy: string
The name of the person who updated item.
-
plaSpecificationRelationship: array
plaSpecificationRelationship
A list of pla specification relationships associated with the pricing logic algorithm specification.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
versionState: number
The version state of the Pricing Logic Algorithm Specification.
objectobject-
usageSpecification:
UsageSpecificationRefOracle
Title:
UsageSpecificationRefOracle
UsageSpecificationRefOracle-
object
UsageSpecificationRef
Title:
UsageSpecificationRefDiscriminator:{ "propertyName":"@type", "mapping":{ "UsageSpecificationRef":"#/components/schemas/UsageSpecificationRef", "UsageSpecificationRefOracle":"#/components/schemas/UsageSpecificationRefOracle" } }The 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. -
object
UsageSpecificationRefOracle-allOf[1]
objectUsageSpecificationRefDiscriminator Values
-
@baseType: string
The base type of the usage specification reference.
-
@referredType(required): string
The type of the referred usage specification reference.
-
@schemaLocation: string
The URI of the schema that defines the usage specification reference.
-
@type(required): string
The class type of the usage specification reference.
-
href: string
The hyperlink reference to the usage specification reference.
-
id(required): string
The ID of the usage specification reference.
-
name: string
The name of the usage specification reference.
-
version: string
The version of the usage specification.
-
versionState: number
The version state of the reference.
object-
usageCode: string
The usage code associated with the usage specification reference.
object400 Response
objectError-
@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
objectError-
@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
objectError-
@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
objectError-
@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
objectError-
@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 create a pricing logic algorithm specification by submitting a POST request on the REST resource using cURL.
cURL Command
curl -u username:password -X POST
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/pricingLogicAlgorithmSpecification
\ -H 'Content-Type: application/json' -D @create_pricinglogicalgorithmspec.json
| json_pp
Example of Request Body
The following example shows the contents of the request body in JSON format.
{
"id": "PLAspec1",
"name": "PLA Spec",
"description": "Description of PLAspec",
"version": "1.0",
"lifecycleStatus": "In design",
"@type": "PricingLogicAlgorithmSpecificationOracle",
"@baseType": "PricingLogicAlgorithmSpecification",
"plaSpecCharacteristic": [
{
"name": "Colour",
"description": "Phone Colour",
"valueType": "STRING",
"configurable": true,
"minCardinality": 1,
"maxCardinality": 1,
"isUnique": true,
"extensible": false,
"@type": "PLASpecCharacteristic"
}
]
}Example of Response Body
{
"id": "PLAspec1",
"name": "PLA Spec",
"description": "Description of PLAspec",
"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,
"plaSpecCharacteristic": [
{
"name": "Colour",
"description": "Phone Colour",
"valueType": "STRING",
"@type": "PLASpecCharacteristic",
"extensible": false,
"configurable": true,
"isUnique": true,
"minCardinality": 1,
"maxCardinality": 1
}
]
}