Create a custom profile specification

post

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : CustomProfileSpecificationOracle
Type: object
Title: CustomProfileSpecificationOracle
CustomProfileSpecificationOracle
Show Source
Nested Schema : charValueObject
Type: array
Show Source
Nested Schema : customProfileSpecChar
Type: array
Show Source
Nested Schema : customProfileSpecRel
Type: array
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
Show Source
Nested Schema : relatedParty
Type: array
Show Source
Nested Schema : TargetProductSchemaOracle
Type: object
Title: TargetProductSchemaOracle
The reference object to the schema and type of target product which is described by product specification
Match All
The reference object to the schema and type of target product which is described by product specification
The reference object to the schema and type of target product which is described by product specification
Show Source
Nested Schema : TimePeriod
Type: object
Title: TimePeriod
The period for which the productOffering is valid
Show Source
Nested Schema : CharValueObjectRefOracle
Type: object
Title: CharValueObjectRefOracle
The Reference of the resource referred in CharValue of custom profile specification
Show Source
Nested Schema : CustomProfileSpecRel
Type: object
Title: CustomProfileSpecRel
A migration, substitution, dependency or exclusivity relationship between/among custom profile specifications.
Show Source
Nested Schema : TimePeriodOracle
Type: object
Title: TimePeriodOracle
Validity period of the related party
Show Source
Nested Schema : RelatedParty
Type: object
Title: RelatedParty
RelatedParty reference. A related party defines party or party role linked to a specific entity.
Show Source
Nested Schema : TargetProductSchema
Type: object
Title: TargetProductSchema
The reference object to the schema and type of target product which is described by product specification
Show Source
Nested Schema : TargetProductSchemaOracle-allOf[1]
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Your request is successful and a new resource has been created.
Body ()
Root Schema : CustomProfileSpecificationOracle
Type: object
Title: CustomProfileSpecificationOracle
CustomProfileSpecificationOracle
Show Source
Nested Schema : charValueObject
Type: array
Show Source
Nested Schema : customProfileSpecChar
Type: array
Show Source
Nested Schema : customProfileSpecRel
Type: array
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
Show Source
Nested Schema : relatedParty
Type: array
Show Source
Nested Schema : TargetProductSchemaOracle
Type: object
Title: TargetProductSchemaOracle
The reference object to the schema and type of target product which is described by product specification
Match All
The reference object to the schema and type of target product which is described by product specification
The reference object to the schema and type of target product which is described by product specification
Show Source
Nested Schema : TimePeriod
Type: object
Title: TimePeriod
The period for which the productOffering is valid
Show Source
Nested Schema : CharValueObjectRefOracle
Type: object
Title: CharValueObjectRefOracle
The Reference of the resource referred in CharValue of custom profile specification
Show Source
Nested Schema : CustomProfileSpecRel
Type: object
Title: CustomProfileSpecRel
A migration, substitution, dependency or exclusivity relationship between/among custom profile specifications.
Show Source
Nested Schema : TimePeriodOracle
Type: object
Title: TimePeriodOracle
Validity period of the related party
Show Source
Nested Schema : RelatedParty
Type: object
Title: RelatedParty
RelatedParty reference. A related party defines party or party role linked to a specific entity.
Show Source
Nested Schema : TargetProductSchema
Type: object
Title: TargetProductSchema
The reference object to the schema and type of target product which is described by product specification
Show Source
Nested Schema : TargetProductSchemaOracle-allOf[1]
Type: object
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 examples show how to create a custom profile specification by submitting a POST request on the REST resource using cURL:
  • Creating custom profile specification using CHARGING_TERM
  • Creating custom profile specification using SUSPENSION_TERM
  • Creating custom profile specification of type Entity Profile
  • Extending Finance Plan in custom profile specification
  • Value Map Template for Custom Profile Specification
  • Standard Zone for Custom Profile Specification

Creating custom profile specification using CHARGING_TERM

cURL Command

curl  -u username:password -H POST https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ -H 'Content-Type: application/json' -D @post_customprofspec.json | json_pp

Example of Request Body

The following shows an example of the request body.

{
    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
    "name": "Basic Charging Term template 3",
   "version": "1.0",
    "lifecycleStatus": "In design",
    "created": "2022-07-01T11:15:57.000Z",
    "createdBy": "booth",
    "lastUpdate": "2022-07-05T19:36:52.038Z",
    "lastUpdatedBy": "booth",
    "@type": "CustomProfileSpecificationOracle",
    "validFor": {
        "startDateTime": "2022-07-05T00:00:00.000Z"
    },
    "project": {
        "id": "P-3815217701-1650979232417",
        "name": "Airtel Initiative",
        "version": "1.0"
    },
    "profileType": "CHARGING_TERM",
    "customProfileSpecChar": [
        {
            "name": "Align Cycle",
            "description": "The day the cycle charges apply and are applicable for recurring charges",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Activation Day",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Subscription Day",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Suspense  Day",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Apply Taxes for Recurring",
            "description": "Parameter that determines when tax need to be applied",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "At Billing",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "After computing charge",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "None",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Apply Taxes for Usage",
            "description": "Parameter that determines when tax need to be applied",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "At Billing",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "After computing charge",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "None",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Apply Taxes for one time",
            "description": "Parameter that determines when tax need to be applied",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "ONE_TIME",
            "customProfileSpecCharValue": [
                {
                    "value": "After computing charge",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "None",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "At suspense",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Bill Ahead Value",
            "description": "Bill Ahead Value",
            "valueType": "DECIMAL",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "allowedUnits": [
                "DAYS",
                "MONTHS"
            ]
        },
        {
            "name": "Cancel Pro-ration",
            "description": "Cancel Pro-ration applicable for recurring charges",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Prorate",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Do not prorate",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount For Part Of Cycle for Cycle",
            "description": "Application of discount When discount is Valid for part of cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply from Validity start to validity end",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount For Part Of Cycle for Usage",
            "description": "Application of discount When discount is Valid for part of cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply from Validity start to validity end",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount From Mid Cycle for Cycle",
            "description": "Application of discount When discount is Valid from Mid-cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply from Validity start",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount From Mid Cycle for Usage",
            "description": "Application of discount When discount is Valid from Mid-cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply from Validity start",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount Validity proration for Cycle",
            "description": "Application of discount based on the discount validity",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharRel": [
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount to Mid Cycle for Cycle",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount For Part Of Cycle for Cycle",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount From Mid Cycle for Cycle",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                }
            ]
        },
        {
            "name": "Discount Validity proration for Usage",
            "description": "Application of discount based on the discount validity",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharRel": [
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount From Mid Cycle for Usage",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount to Mid Cycle for Usage",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount For Part Of Cycle for Usage",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                }
            ]
        },
        {
            "name": "Discount to Mid Cycle for Cycle",
            "description": "Application of discount When discount is Valid to Mid-cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply to Validity end",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount to Mid Cycle for Usage",
            "description": "Application of discount When discount is Valid to Mid-cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply to Validity end",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "In Advance Suspense",
            "description": "Determines the unit of number of cycles for which the charges will be calculated and payment collected on order of a new subscription.",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "No Advance suspense",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Charge Ahead/ Value/Unit",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Increment Quantity",
            "description": "Select the increment that is used to determine the charge",
            "valueType": "DECIMAL",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE"
        },
        {
            "name": "Minimum Quantity",
            "description": "Enter the minimum quantity of the event that results in a fee",
            "valueType": "DECIMAL",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE"
        },
        {
            "name": "Purchase Pro-ration",
            "description": "Purchase Pro-ration applicable for recurring charges",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Prorate",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Do not prorate",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Quantity Treatment",
            "description": "Define the Quantity of units based on which charging should be done",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharRel": [
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Rounding Increment Units",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Minimum Quantity",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Increment Quantity",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Rounding Mode",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                }
            ]
        },
        {
            "name": "Rounding Increment Units",
            "description": "The units to which the rounding should be done",
            "valueType": "DECIMAL",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "characteristicType": "USAGE"
        },
        {
            "name": "Rounding Mode",
            "description": "Select how the Usage event quantity is rounded",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "To the Nearest",
                    "valueType": "STRING",
                    "unitOfMeasure": "NONE",
                    "isDefault": true
                },
                {
                    "value": "Up",
                    "valueType": "STRING",
                    "unitOfMeasure": "NONE",
                    "isDefault": false
                },
                {
                    "value": "Down",
                    "valueType": "STRING",
                    "unitOfMeasure": "NONE",
                    "isDefault": false
                }
            ]
        }
    ]
}

Example of Response Body

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

{
    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
    "name": "Basic Charging Term template 3",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ATC_BASIC_CHARG_TERM_TEMP_3",
    "version": "1.0",
    "lifecycleStatus": "In design",
    "created": "2022-07-06T06:14:00.000Z",
    "createdBy": "booth",
    "lastUpdate": "2022-07-06T06:14:09.615Z",
    "lastUpdatedBy": "booth",
    "@type": "CustomProfileSpecificationOracle",
    "validFor": {
        "startDateTime": "2022-07-05T00:00:00.000Z"
    },
    "project": {
        "id": "P-3815217701-1650979232417",
        "name": "Airtel Initiative",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/P-3815217701-1650979232417",
        "version": "1.0"
    },
    "profileType": "CHARGING_TERM",
    "customProfileSpecChar": [
        {
            "name": "Align Cycle",
            "description": "The day the cycle charges apply and are applicable for recurring charges",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Activation Day",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Subscription Day",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Suspense  Day",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Apply Taxes for Recurring",
            "description": "Parameter that determines when tax need to be applied",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "At Billing",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "After computing charge",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "None",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Apply Taxes for Usage",
            "description": "Parameter that determines when tax need to be applied",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "At Billing",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "After computing charge",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "None",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Apply Taxes for one time",
            "description": "Parameter that determines when tax need to be applied",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "ONE_TIME",
            "customProfileSpecCharValue": [
                {
                    "value": "After computing charge",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "None",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "At suspense",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Bill Ahead Value",
            "description": "Bill Ahead Value",
            "valueType": "DECIMAL",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "allowedUnits": [
                "DAYS",
                "MONTHS"
            ]
        },
        {
            "name": "Cancel Pro-ration",
            "description": "Cancel Pro-ration applicable for recurring charges",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Prorate",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Do not prorate",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount For Part Of Cycle for Cycle",
            "description": "Application of discount When discount is Valid for part of cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply from Validity start to validity end",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount For Part Of Cycle for Usage",
            "description": "Application of discount When discount is Valid for part of cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply from Validity start to validity end",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount From Mid Cycle for Cycle",
            "description": "Application of discount When discount is Valid from Mid-cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply from Validity start",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount From Mid Cycle for Usage",
            "description": "Application of discount When discount is Valid from Mid-cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply from Validity start",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount Validity proration for Cycle",
            "description": "Application of discount based on the discount validity",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharRel": [
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount to Mid Cycle for Cycle",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount For Part Of Cycle for Cycle",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount From Mid Cycle for Cycle",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                }
            ]
        },
        {
            "name": "Discount Validity proration for Usage",
            "description": "Application of discount based on the discount validity",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharRel": [
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount From Mid Cycle for Usage",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount to Mid Cycle for Usage",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Discount For Part Of Cycle for Usage",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                }
            ]
        },
        {
            "name": "Discount to Mid Cycle for Cycle",
            "description": "Application of discount When discount is Valid to Mid-cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply to Validity end",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Discount to Mid Cycle for Usage",
            "description": "Application of discount When discount is Valid to Mid-cycle",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "Apply to Validity end",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Apply to full cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Dont apply to this cycle",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Not applicable",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "In Advance Suspense",
            "description": "Determines the unit of number of cycles for which the charges will be calculated and payment collected on order of a new subscription.",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "No Advance suspense",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Charge Ahead/ Value/Unit",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Increment Quantity",
            "description": "Select the increment that is used to determine the charge",
            "valueType": "DECIMAL",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE"
        },
        {
            "name": "Minimum Quantity",
            "description": "Enter the minimum quantity of the event that results in a fee",
            "valueType": "DECIMAL",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE"
        },
        {
            "name": "Purchase Pro-ration",
            "description": "Purchase Pro-ration applicable for recurring charges",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "RECURRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Prorate",
                    "valueType": "STRING",
                    "isDefault": true,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                },
                {
                    "value": "Do not prorate",
                    "valueType": "STRING",
                    "isDefault": false,
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    }
                }
            ]
        },
        {
            "name": "Quantity Treatment",
            "description": "Define the Quantity of units based on which charging should be done",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "validFor": {
                "startDateTime": "2022-07-05T00:00:00.000Z"
            },
            "characteristicType": "USAGE",
            "customProfileSpecCharRel": [
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Rounding Increment Units",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Minimum Quantity",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Increment Quantity",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                },
                {
                    "id": "ATC_BASIC_CHARG_TERM_TEMP_3",
                    "name": "Rounding Mode",
                    "relationshipType": "AGGREGATION",
                    "validFor": {
                        "startDateTime": "2022-07-05T00:00:00.000Z"
                    },
                    "charSpecSeq": 0
                }
            ]
        },
        {
            "name": "Rounding Increment Units",
            "description": "The units to which the rounding should be done",
            "valueType": "DECIMAL",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "characteristicType": "USAGE"
        },
        {
            "name": "Rounding Mode",
            "description": "Select how the Usage event quantity is rounded",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "characteristicType": "USAGE",
            "customProfileSpecCharValue": [
                {
                    "value": "To the Nearest",
                    "valueType": "STRING",
                    "unitOfMeasure": "NONE",
                    "isDefault": true
                },
                {
                    "value": "Up",
                    "valueType": "STRING",
                    "unitOfMeasure": "NONE",
                    "isDefault": false
                },
                {
                    "value": "Down",
                    "valueType": "STRING",
                    "unitOfMeasure": "NONE",
                    "isDefault": false
                }
            ]
        }
    ]
}

Creating custom profile specification using SUSPENSION_TERM

cURL Command

curl  -u username:password -H POST \
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ \
 -H 'Content-Type: application/json' -D @post_customerprofspecsuspensionterm.json | json_pp

Example of Request Body

The following shows an example of the request body.

{
   "id": "ATC_SUSPENSION_TERM_TEMP",
   "name": "PSP Suspension Term template",
   "version": "1.0",
   "lifecycleStatus": "In design",
   "@type": "CustomProfileSpecificationOracle",
   "profileType": "SUSPENSION_TERM",
   "customProfileSpecChar": [
       {
           "name": "Contract Duration",
           "description": "The impact to contract duration due to suspension",
           "valueType": "STRING",
           "configurable": true,
           "minCardinality": 0,
           "maxCardinality": 1,
           "customProfileSpecCharValue": [
               {
                   "value": "Original Duration",
                   "valueType": "STRING",
                   "isDefault": true
               },
               {
                   "value": "Extended Duration",
                   "valueType": "STRING",
                   "isDefault": false
               }
           ]
       },
       {
           "name": "Duration",
           "description": "Duration of suspension",
           "valueType": "NUMBER",
           "configurable": true,
           "minCardinality": 0,
           "maxCardinality": 1,
           "allowedUnits": [
               "DAYS",
               "MONTHS"
           ]
       },
       {
           "name": "Duration Of Suspension",
           "description": "Define the suspension duration",
           "configurable": true,
           "minCardinality": 0,
           "maxCardinality": 1,
           "customProfileSpecCharRel": [
               {
                   "id": "ATC_SUSPENSION_TERM_TEMP",
                   "name": "Duration",
                   "charSpecSeq": 1,
                   "relationshipType": "AGGREGATION"
               },
               {
                   "id": "ATC_SUSPENSION_TERM_TEMP",
                   "name": "Contract Duration",
                   "charSpecSeq": 2,
                   "relationshipType": "AGGREGATION"
               },
               {
                   "id": "ATC_SUSPENSION_TERM_TEMP",
                   "name": "Upgrade Eligibility Duration",
                   "charSpecSeq": 3,
                   "relationshipType": "AGGREGATION"
               }
           ]
       },
       {
           "name": "Maximum Number Of Bill Suspensions",
           "description": "Number of Bill suspensions allowed",
           "valueType": "NUMBER",
           "configurable": true,
           "minCardinality": 0,
           "maxCardinality": 1
       },
       {
           "name": "Suspend Resume Terms",
           "description": "Terms to resume suspension",
           "valueType": "STRING",
           "configurable": true,
           "minCardinality": 0,
           "maxCardinality": 1,
           "customProfileSpecCharValue": [
               {
                   "value": "Suspense At Regular Rate",
                   "valueType": "STRING",
                   "isDefault": true
               },
               {
                   "value": "No Suspense",
                   "valueType": "STRING",
                   "isDefault": false
               },
               {
                   "value": "Suspense At Reduced Rate",
                   "valueType": "STRING",
                   "isDefault": false
               }
           ]
       },
       {
           "name": "Upgrade Eligibility Duration",
           "description": "The impact to upgrade eligibility duration due to suspension",
           "valueType": "STRING",
           "configurable": true,
           "minCardinality": 0,
           "maxCardinality": 1,
           "customProfileSpecCharValue": [
               {
                   "value": "Original Contract Duration",
                   "valueType": "STRING",
                   "isDefault": true
               },
               {
                   "value": "Extended Duration",
                   "valueType": "STRING",
                   "isDefault": false
               }
           ]
       }
   ]
}

Example of Response Body

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

{
    "id": "ATC_SUSPENSION_TERM_TEMP",
    "name": "PSP Suspension Term template",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ATC_SUSPENSION_TERM_TEMP",
    "version": "1.0",
    "lifecycleStatus": "In design",
    "created": "2021-10-05T01:48:35.000Z",
    "createdBy": "booth",
    "lastUpdate": "2021-10-05T01:48:38.363Z",
    "lastUpdatedBy": "booth",
    "@type": "CustomProfileSpecificationOracle",
    "profileType": "SUSPENSION_TERM",
    "customProfileSpecChar": [
        {
            "name": "Contract Duration",
            "description": "The impact to contract duration due to suspension",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "customProfileSpecCharValue": [
                {
                    "value": "Original Duration",
                    "valueType": "STRING",
                    "isDefault": true
                },
                {
                    "value": "Extended Duration",
                    "valueType": "STRING",
                    "isDefault": false
                }
            ]
        },
        {
            "name": "Duration",
            "description": "Duration of suspension",
            "valueType": "NUMBER",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "allowedUnits": [
                "DAYS",
                "MONTHS"
            ]
        },
        {
            "name": "Duration Of Suspension",
            "description": "Define the suspension duration",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "customProfileSpecCharRel": [
                {
                    "id": "ATC_SUSPENSION_TERM_TEMP",
                    "name": "Duration",
                    "charSpecSeq": 1,
                    "relationshipType": "AGGREGATION"
                },
                {
                    "id": "ATC_SUSPENSION_TERM_TEMP",
                    "name": "Contract Duration",
                    "charSpecSeq": 2,
                    "relationshipType": "AGGREGATION"
                },
                {
                    "id": "ATC_SUSPENSION_TERM_TEMP",
                    "name": "Upgrade Eligibility Duration",
                    "charSpecSeq": 3,
                    "relationshipType": "AGGREGATION"
                }
            ]
        },
        {
            "name": "Maximum Number Of Bill Suspensions",
            "description": "Number of Bill suspensions allowed",
            "valueType": "NUMBER",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1
        },
        {
            "name": "Suspend Resume Terms",
            "description": "Terms to resume suspension",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "customProfileSpecCharValue": [
                {
                    "value": "Suspense At Regular Rate",
                    "valueType": "STRING",
                    "isDefault": true
                },
                {
                    "value": "No Suspense",
                    "valueType": "STRING",
                    "isDefault": false
                },
                {
                    "value": "Suspense At Reduced Rate",
                    "valueType": "STRING",
                    "isDefault": false
                }
            ]
        },
        {
            "name": "Upgrade Eligibility Duration",
            "description": "The impact to upgrade eligibility duration due to suspension",
            "valueType": "STRING",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "customProfileSpecCharValue": [
                {
                    "value": "Original Contract Duration",
                    "valueType": "STRING",
                    "isDefault": true
                },
                {
                    "value": "Extended Duration",
                    "valueType": "STRING",
                    "isDefault": false
                }
            ]
        }
    ]
}

Creating custom profile specification of type Entity Profile

You could then set modeling rules for design-time features available for a service provider, ensuring the design-time application follows the applied restrictions resulting in an error-free publishing to runtime applications. Such restrictions are based on the service provider's ecosystem and not on individual runtime applications. Which means, there could only be one restriction for the ecosystem and not for each runtime application. You can achieve this by setting up an entity profile.

The following examples show how to create a custom profile specification of type entity profile. This example has a rule that restricts only one commitment term for Product Offering entity of the type package.

cURL Command

curl  -u username:password -H POST \
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ \
 -H 'Content-Type: application/json' -D @post_customerprofspecsuspensionterm.json | json_pp

Example of Request Body

The following shows an example of the request body.

{
    "id": "ProductOfferingOracle",
    "name": "Product Offering",
     "version": "1.0",
    "lifecycleStatus": "In design",
    "@type": "CustomProfileSpecificationOracle",
    "profileType": "ENTITY_PROFILE",
    "targetProductSchema": {
        "@type": "ProductOfferingOracle",
        "@schemaLocation": "ProductOfferingOracle.yml"
    },
    "customProfileSpecChar": [
        {
           "name": "condition_productType_bundle_package",
           "characteristicType": "ATTRIBUTE",
            "attributeName": "productOfferingInfo.productType",
            "customProfileSpecCharValue": [
                {
                    "value": "PACKAGE"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "ProductOfferingOracle",
                    "name": "requires_term_type_commitmentTerm",
                    "relationshipType": "REQUIRES"
                }
            ]
        },
        {
            "name": "requires_term_type_commitmentTerm",
            "minCardinality": 1,
            "maxCardinality": 1,
            "characteristicType": "ATTRIBUTE",
            "attributeName": "productOfferingTerm[@type=='CommitmentTermOracle']"
        },
        {
            "name": "rule 1",
            "description": "package offerings + commitment term = 1",
            "validFor": {
                "startDateTime": "2022-11-15T05:32:47.143Z"
            },
            "characteristicType": "RULE",
            "customProfileSpecCharRel": [
                {
                    "id": "ProductOfferingOracle",
                    "name": "rule 1_info_productType_bundle",
                    "relationshipType": "AGGREGATION"
                }
            ]
        },
        {
            "name": "rule 1_info_productType_bundle",
            "characteristicType": "FEATURE",
            "attributeName": "productOfferingInfo.productType",
            "customProfileSpecCharRel": [
               {
                    "id": "ProductOfferingOracle",
                    "name": "condition_productType_bundle_package",
                    "relationshipType": "CONDITION"
                }
            ]
        }
    ],
    "applicationName": "ALL"
}

Example of Response Body

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

{
    "id": "ATC_SUSPENSION_TERM_TEMP",
    "name": "PSP Suspension Term template",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ATC_SUSPENSION_TERM_TEMP",
    "version": "1.0",
    "lifecycleStatus": "In design",
    "created": "2021-10-05T01:48:35.000Z",
    "createdBy": "booth",
    "lastUpdate": "2021-10-05T01:48:38.363Z",
    "lastUpdatedBy": "booth",
    "@type": "CustomProfileSpecificationOracle",
    "profileType": "SUSPENSION_TERM",
    "customProfileSpecChar":[
        {
            "name": "condition_productType_bundle_package",
            "characteristicType": "ATTRIBUTE",
            "attributeName": "productOfferingInfo.productType",
            "customProfileSpecCharValue": [
                {
                    "value": "PACKAGE"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "ProductOfferingOracle",
                    "name": "requires_term_type_commitmentTerm",
                    "relationshipType": "REQUIRES"
                }
            ]
        },
        {
            "name": "requires_term_type_commitmentTerm",
            "minCardinality": 1,
            "maxCardinality": 1,
            "characteristicType": "ATTRIBUTE",
            "attributeName": "productOfferingTerm[commitmentTermType=='SERVICE']"
        },
        {
            "name": "rule 1",
            "description": "package offerings + commitment term = 1",
            "validFor": {
                "startDateTime": "2022-11-15T05:32:47.143Z"
            },
            "characteristicType": "RULE",
            "customProfileSpecCharRel": [
                {
                    "id": "ProductOfferingOracle",
                    "name": "rule 1_info_productType_bundle",
                    "relationshipType": "AGGREGATION"
                }
            ]
        },
        {
            "name": "rule 1_info_productType_bundle",
            "characteristicType": "FEATURE",
            "attributeName": "productOfferingInfo.productType",
            "customProfileSpecCharRel": [
                {
                    "id": "ProductOfferingOracle",
                    "name": "condition_productType_bundle_package",
                    "relationshipType": "CONDITION"
                }
            ]
        }
    ] 
}

Extending Finance Plan in custom profile specification

cURL Command

curl  -u username:password -H POST https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ -H 'Content-Type: application/json' -D @post_customprofspecfinance.json | json_pp

Example of Request Body

The following shows an example of the request body.

{
        "id": "GlobalFinancePlan",
        "name": "GlobalFinancePlan",
        "description": "The Global Finance Plan sets the amortization details for interest based installment plans ",
        "version": "1.0",
        "lifecycleStatus": "In design",
        "created": "2023-02-19T08:44:12.000Z",
        "createdBy": "booth",
        "lastUpdate": "2023-03-30T16:51:06.004Z",
        "lastUpdatedBy": "booth",
        "@type": "CustomProfileSpecificationOracle",
        "project": {
            "id": "P-3815217701-1650979232417",
            "name": "RetailsIntiative",
            "versionState": 0
        },
        "versionState": 0,
        "profileType": "FINANCE_PLAN",
        "customProfileSpecChar": [
            {
                "name": "INTEREST_TYPE",
                "displayText" : "Interest Type",
                "valueType": "STRING",
                "characteristicType" : "LOOKUP"
            },
            {
                "name": "PATTERN_TYPE",
                "displayText" : "Pattern Type",
                "valueType": "STRING",
                "characteristicType" : "LOOKUP"
            },
            {
                "name": "FINANCE_TERM_PERIOD",
                "displayText" : "Duration",
                "valueType": "STRING",
                "characteristicType" : "LOOKUP"
            },
            {
                "name": "interestDetails",
                "displayText" : "Interest Details",
                "valueType": "DECIMAL",
                "customProfileSpecCharValue": [
                    {
                        "valueTo": "1",
                        "value": 1.0,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    },
                    {
                        "valueTo": "2",
                        "value": 0.5,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    },
                    {
                        "valueTo": "3",
                        "value": 0.357,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    }
                ]
            },
            {
                "name": "InterestConcession",
                "customProfileSpecCharValue": [
                    {
                        "valueTo": "1",
                        "value":4.0,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    },
                    {
                        "valueTo": "2",
                        "value":3.0,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    },
                    {
                        "valueTo": "3",
                        "value": 5.0,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    }
                ],
                 "customProfileSpecCharRel": [
                    {
                        "charSpecSeq": 1,
                        "id": "GlobalFinancePlan",
                        "relationshipType": "PARENT",
                        "name": "interestDetails"
                    }
                ]
            }
             
        ]
    }

Example of Response Body

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

{
        "id": "GlobalFinancePlan",
        "name": "GlobalFinancePlan",
        "description": "The Global Finance Plan sets the amortization details for interest based installment plans ",
        "version": "1.0",
        "lifecycleStatus": "In design",
        "created": "2023-02-19T08:44:12.000Z",
        "createdBy": "booth",
        "lastUpdate": "2023-03-30T16:51:06.004Z",
        "lastUpdatedBy": "booth",
        "@type": "CustomProfileSpecificationOracle",
        "project": {
            "id": "P-3815217701-1650979232417",
            "name": "RetailsIntiative",
            "versionState": 0
        },
        "versionState": 0,
        "profileType": "FINANCE_PLAN",
        "customProfileSpecChar": [
            {
                "name": "INTEREST_TYPE",
                "displayText" : "Interest Type",
                "valueType": "STRING",
                "characteristicType" : "LOOKUP"
            },
            {
                "name": "PATTERN_TYPE",
                "displayText" : "Pattern Type",
                "valueType": "STRING",
                "characteristicType" : "LOOKUP"
            },
            {
                "name": "FINANCE_TERM_PERIOD",
                "displayText" : "Duration",
                "valueType": "STRING",
                "characteristicType" : "LOOKUP"
            },
            {
                "name": "PRORATION TERM",
                "description": "If the prorartion  annually,half yearly or quarterly",
                "valueType": "STRING",
                "active": true
            },
            {
                "name": "InterestDetails",
                "displayText" : "Interest Details",
                "valueType": "DECIMAL",
                "customProfileSpecCharValue": [
                    {
                        "valueTo": "1",
                        "value": 1.0,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    },
                    {
                        "valueTo": "2",
                        "value": 0.5,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    },
                    {
                        "valueTo": "3",
                        "value": 0.357,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    }
                ]
            },
            {
                "name": "InterestConcession",
                "customProfileSpecCharValue": [
                    {
                        "valueTo": "1",
                        "value":4.0,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    },
                    {
                        "valueTo": "2",
                        "value":3.0,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    },
                    {
                        "valueTo": "3",
                        "value": 5.0,
                        "valueType": "DECIMAL",
                        "isDefault": false
                    }
                ],
                 "customProfileSpecCharRel": [
                    {
                        "charSpecSeq": 1,
                        "id": "GlobalFinancePlan",
                        "relationshipType": "PARENT",
                        "name": "InterestDetails"
                    }
                ]
            }
             
        ]
    }

Value Map Template for Custom Profile Specification

cURL Command

curl  -u username:password -H POST https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ -H 'Content-Type: application/json' -D @post_customprofspecvaluemap.json | json_pp

Example of Request Body

The following shows an example of the request body.

{
        "id": "Europe_Value_Map",
        "name": "Europe Value Map",
        "description": "This describes zones for Europe Value Map",
        "href": "https://fa-wsdc-pintlabfadev.fa.ocs.oc-test.com:443/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/Europe_Value_Map",
        "version": "1.0",
        "lifecycleStatus": "In design",
        "created": "2024-03-05T06:05:29.000Z",
        "createdBy": "booth",
        "lastUpdate": "2024-03-29T05:10:55.341Z",
        "lastUpdatedBy": "booth",
        "@type": "CustomProfileSpecificationOracle",
        "project": {
            "id": "Inititive_A",
            "name": "Europe Initiative",
            "href": "https://fa-wsdc-pintlabfadev.fa.ocs.oc-test.com/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/Inititive_A",
            "versionState": 0
        },
        "versionState": 0,
        "profileType": "ZONE_VALUE_MAP",
        "customProfileSpecChar": [
            {
                "name": "*",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "*",
                "active": true,
                "characteristicType": "STRING"
            },
            {
                "name": "213",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "213",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Germany",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "214",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "214",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Austria",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "707",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "707",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Onnet",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "765",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "765",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Fixed",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "786",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "786",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Offnet",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Austria",
                "valueType": "STRING",
                "displayText": "Austria",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Fixed",
                "valueType": "STRING",
                "displayText": "Fixed",
                "active": true,
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Germany",
                "valueType": "STRING",
                "displayText": "Germany",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Latvia",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "Latvia",
                "active": true,
                "characteristicType": "STRING"
            },
            {
                "name": "Offnet",
                "valueType": "STRING",
                "displayText": "Offnet",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Onnet",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "Onnet",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            }
        ]
    }

Example of Response Body

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

{
        "id": "Europe_Value_Map",
        "name": "Europe Value Map",
        "description": "This describes zones for Europe Value Map",
        "href": "https://fa-wsdc-pintlabfadev.fa.ocs.oc-test.com:443/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/Europe_Value_Map",
        "version": "1.0",
        "lifecycleStatus": "In design",
        "created": "2024-03-05T06:05:29.000Z",
        "createdBy": "booth",
        "lastUpdate": "2024-03-29T05:10:55.341Z",
        "lastUpdatedBy": "booth",
        "@type": "CustomProfileSpecificationOracle",
        "project": {
            "id": "Inititive_A",
            "name": "Europe Initiative",
            "href": "https://fa-wsdc-pintlabfadev.fa.ocs.oc-test.com/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/Inititive_A",
            "versionState": 0
        },
        "versionState": 0,
        "profileType": "ZONE_VALUE_MAP",
        "customProfileSpecChar": [
            {
                "name": "*",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "*",
                "active": true,
                "characteristicType": "STRING"
            },
            {
                "name": "213",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "213",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Germany",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "214",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "214",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Austria",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "707",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "707",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Onnet",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "765",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "765",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Fixed",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "786",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "786",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Offnet",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Austria",
                "valueType": "STRING",
                "displayText": "Austria",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Fixed",
                "valueType": "STRING",
                "displayText": "Fixed",
                "active": true,
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Germany",
                "valueType": "STRING",
                "displayText": "Germany",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Latvia",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "Latvia",
                "active": true,
                "characteristicType": "STRING"
            },
            {
                "name": "Offnet",
                "valueType": "STRING",
                "displayText": "Offnet",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            },
            {
                "name": "Onnet",
                "valueType": "STRING",
                "extensible": true,
                "displayText": "Onnet",
                "active": true,
                "characteristicType": "STRING",
                "customProfileSpecCharRel": [
                    {
                        "id": "Europe_Value_Map",
                        "name": "Latvia",
                        "relationshipType": "PARENT",
                        "charSpecSeq": 1
                    }
                ]
            }
        ]
    }

Standard Zone for Custom Profile Specification

cURL Command

curl  -u username:password -H POST https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ -H 'Content-Type: application/json' -D @post_customprofspecstandardzone.json | json_pp

Example of Request Body

The following shows an example of the request body.

{
    "id": "UKStandardZone",
    "name": "UKStandardZone",
    "href": "https://fa-xaws-pintlabfadev.fa.ocs.oc-test.com:443/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/UKStandardZone",
    "version": "1.0",
    "lifecycleStatus": "In design",
    "created": "2024-06-11T05:08:21.000Z",
    "createdBy": "booth",
    "lastUpdate": "2024-06-19T04:38:02.004Z",
    "lastUpdatedBy": "booth",
    "@type": "CustomProfileSpecificationOracle",
    "project": {
        "id": "P-2916199872-1718860192278",
        "href": "https://fa-wsdc-pintlabfadev.fa.ocs.oc-test.com:443/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/P-2916199872-1718860192278",
        "name": "Demo-STANZONE",
        "version": "1.0"
    },
    "versionState": 0,
    "profileType": "STANDARD_ZONE",
    "customProfileSpecChar": [
        {
            "name": "IC_Global",
            "description": "IC_Global",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule1",
                    "valueTo": "156",
                    "valueFrom": "801",
                    "valueType": "STRING",
                    "valueReferenceId": "All",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_Bhutan",
            "description": "IC_Bhutan",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule2",
                    "valueTo": "15",
                    "valueFrom": "801",
                    "valueType": "STRING",
                    "valueReferenceId": "All",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_EEU",
            "description": "IC_EEU",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule9",
                    "valueTo": "820.0",
                    "valueFrom": "311.0",
                    "valueType": "STRING",
                    "valueReferenceId": "ServiceSpecGprs",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_International",
            "description": "IC_International",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule2",
                    "valueTo": "321.0",
                    "valueFrom": "913.0",
                    "valueType": "STRING",
                    "valueReferenceId": "ServiceSpecGsm",
                    "valueReferenceType": "SERVICE_SPEC"
                },
                {
                    "value": "Rule1",
                    "valueTo": "891.0",
                    "valueFrom": "945.0",
                    "valueReferenceId": "ServiceSpecGprs",
                    "valueReferenceType": "SERVICE_SPEC"
                },
                {
                    "value": "Rule3",
                    "valueTo": "563.0",
                    "valueFrom": "256.0",
                    "valueReferenceId": "All",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_National",
            "description": "IC_National",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule3",
                    "valueTo": "567.0",
                    "valueFrom": "913.0",
                    "valueType": "STRING",
                    "valueReferenceId": "ServiceSpecGsm",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_RegionY",
            "description": "IC_RegionY",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule7",
                    "valueTo": "520.0",
                    "valueFrom": "911.0",
                    "valueType": "STRING",
                    "valueReferenceId": "ServiceSpecGsm",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IMPACT_CATEGORY",
            "valueType": "STRING",
            "displayText": "Impact Category",
            "active": true,
            "characteristicType": "STRING"
        }
    ],
    "charValueObject": [
        {
            "id": "ServiceSpecGprs",
            "name": "TelcoGprs",
            "version": "1.0",
            "@referredType": "ServiceSpecificationOracle",
            "@baseType": "ServiceSpecificationOracle",
            "resourceType": "SERVICE_SPEC"
        },
        {
            "id": "ServiceSpecGsm",
            "name": "TelcoGsm",
            "version": "1.0",
            "@referredType": "ServiceSpecificationOracle",
            "@baseType": "ServiceSpecificationOracle",
            "resourceType": "SERVICE_SPEC"
        }
    ]
}

Example of Response Body

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

{
    "id": "UKStandardZone",
    "name": "UKStandardZone",
    "href": "https://fa-xaws-pintlabfadev.fa.ocs.oc-test.com:443/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/UKStandardZone",
    "version": "1.0",
    "lifecycleStatus": "In design",
    "created": "2024-06-11T05:08:21.000Z",
    "createdBy": "booth",
    "lastUpdate": "2024-06-19T04:38:02.004Z",
    "lastUpdatedBy": "booth",
    "@type": "CustomProfileSpecificationOracle",
    "project": {
        "id": "P-2916199872-1718860192278",
        "href": "https://fa-wsdc-pintlabfadev.fa.ocs.oc-test.com:443/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/P-2916199872-1718860192278",
        "name": "Demo-STANZONE",
        "version": "1.0"
    },
    "versionState": 0,
    "profileType": "STANDARD_ZONE",
    "customProfileSpecChar": [
        {
            "name": "IC_Global",
            "description": "IC_Global",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule1",
                    "valueTo": "156",
                    "valueFrom": "801",
                    "valueType": "STRING",
                    "valueReferenceId": "All",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_Bhutan",
            "description": "IC_Bhutan",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule2",
                    "valueTo": "15",
                    "valueFrom": "801",
                    "valueType": "STRING",
                    "valueReferenceId": "All",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_EEU",
            "description": "IC_EEU",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule9",
                    "valueTo": "820.0",
                    "valueFrom": "311.0",
                    "valueType": "STRING",
                    "valueReferenceId": "ServiceSpecGprs",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_International",
            "description": "IC_International",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule2",
                    "valueTo": "321.0",
                    "valueFrom": "913.0",
                    "valueType": "STRING",
                    "valueReferenceId": "ServiceSpecGsm",
                    "valueReferenceType": "SERVICE_SPEC"
                },
                {
                    "value": "Rule1",
                    "valueTo": "891.0",
                    "valueFrom": "945.0",
                    "valueReferenceId": "ServiceSpecGprs",
                    "valueReferenceType": "SERVICE_SPEC"
                },
                {
                    "value": "Rule3",
                    "valueTo": "563.0",
                    "valueFrom": "256.0",
                    "valueReferenceId": "All",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_National",
            "description": "IC_National",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule3",
                    "valueTo": "567.0",
                    "valueFrom": "913.0",
                    "valueType": "STRING",
                    "valueReferenceId": "ServiceSpecGsm",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IC_RegionY",
            "description": "IC_RegionY",
            "valueType": "STRING",
            "active": true,
            "characteristicType": "STRING",
            "customProfileSpecCharValue": [
                {
                    "value": "Rule7",
                    "valueTo": "520.0",
                    "valueFrom": "911.0",
                    "valueType": "STRING",
                    "valueReferenceId": "ServiceSpecGsm",
                    "valueReferenceType": "SERVICE_SPEC"
                }
            ],
            "customProfileSpecCharRel": [
                {
                    "id": "UKStandardZone",
                    "name": "IMPACT_CATEGORY",
                    "relationshipType": "PARENT",
                    "charSpecSeq": 1
                }
            ]
        },
        {
            "name": "IMPACT_CATEGORY",
            "valueType": "STRING",
            "displayText": "Impact Category",
            "active": true,
            "characteristicType": "STRING"
        }
    ],
    "charValueObject": [
        {
            "id": "ServiceSpecGprs",
            "name": "TelcoGprs",
            "version": "1.0",
            "@referredType": "ServiceSpecificationOracle",
            "@baseType": "ServiceSpecificationOracle",
            "resourceType": "SERVICE_SPEC"
        },
        {
            "id": "ServiceSpecGsm",
            "name": "TelcoGsm",
            "version": "1.0",
            "@referredType": "ServiceSpecificationOracle",
            "@baseType": "ServiceSpecificationOracle",
            "resourceType": "SERVICE_SPEC"
        }
    ]
}
Back to Top