Update a custom profile specification

patch

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

Request

Path Parameters
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 : partyOrPartyRole
Type: array
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

200 Response

OK
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 : partyOrPartyRole
Type: array
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 example shows how to update a custom profile specification by submitting a PATCH request on the REST resource using cURL

curl  -H 'Authorization: Bearer <accessToken> -H PATCH https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/id  -H "Content-Type: application/json" -D @update_customprofilespec.json | json_pp

Example of Request Body

The following shows an example of the request body.

{
    "description" : "Suspension Term Template 1",
    "validFor": {
        "startDateTime": "2024-08-09T00:00:00.000Z",
        "endDateTime": "2028-08-09T00:00:00.000Z"
    }
}

Example of Response Body

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

{
    "id": "ATC_SUSPENSION_TERM_TEMP",
    "name": "PSP Suspension Term template",
    "description": "Suspension Term Template 1",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/ATC_SUSPENSION_TERM_TEMP",
    "version": "1.0",
    "lifecycleStatus": "In design",
    "created": "2025-02-19T11:46:55.000Z",
    "createdBy": "booth",
    "lastUpdate": "2025-03-10T09:36:45.220Z",
    "lastUpdatedBy": "booth",
    "@type": "CustomProfileSpecificationOracle",
    "validFor": {
        "startDateTime": "2024-08-09T00:00:00.000Z",
        "endDateTime": "2028-08-09T00:00:00.000Z"
    },
    "profileType": "SUSPENSION_TERM",
    "customProfileSpecChar": [
        {
            "name": "Contract Duration",
            "description": "The impact to contract duration due to suspension",
            "valueType": "STRING",
            "@type": "CustomProfileSpecChar",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "active": true,
            "customProfileSpecCharValue": [
                {
                    "value": "Original Duration",
                    "valueType": "STRING",
                    "isDefault": true,
                    "@type": "CustomProfileSpecCharValue"
                },
                {
                    "value": "Extended Duration",
                    "valueType": "STRING",
                    "isDefault": false,
                    "@type": "CustomProfileSpecCharValue"
                }
            ]
        },
        {
            "name": "Duration",
            "description": "Duration of suspension",
            "valueType": "NUMBER",
            "@type": "CustomProfileSpecChar",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "active": true,
            "allowedUnits": [
                "DAYS",
                "MONTHS"
            ]
        },
        {
            "name": "Duration Of Suspension",
            "description": "Define the suspension duration",
            "@type": "CustomProfileSpecChar",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "active": true,
            "customProfileSpecCharRel": [
                {
                    "id": "ATC_SUSPENSION_TERM_TEMP",
                    "name": "Duration",
                    "relationshipType": "AGGREGATION",
                    "@type": "CustomProfileSpecCharRel",
                    "charSpecSeq": 1
                },
                {
                    "id": "ATC_SUSPENSION_TERM_TEMP",
                    "name": "Contract Duration",
                    "relationshipType": "AGGREGATION",
                    "@type": "CustomProfileSpecCharRel",
                    "charSpecSeq": 2
                },
                {
                    "id": "ATC_SUSPENSION_TERM_TEMP",
                    "name": "Upgrade Eligibility Duration",
                    "relationshipType": "AGGREGATION",
                    "@type": "CustomProfileSpecCharRel",
                    "charSpecSeq": 3
                }
            ]
        },
        {
            "name": "Maximum Number Of Bill Suspensions",
            "description": "Number of Bill suspensions allowed",
            "valueType": "NUMBER",
            "@type": "CustomProfileSpecChar",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "active": true
        },
        {
            "name": "Suspend Resume Terms",
            "description": "Terms to resume suspension",
            "valueType": "STRING",
            "@type": "CustomProfileSpecChar",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "active": true,
            "customProfileSpecCharValue": [
                {
                    "value": "No Suspense",
                    "valueType": "STRING",
                    "isDefault": false,
                    "@type": "CustomProfileSpecCharValue"
                },
                {
                    "value": "Suspense At Reduced Rate",
                    "valueType": "STRING",
                    "isDefault": false,
                    "@type": "CustomProfileSpecCharValue"
                },
                {
                    "value": "Suspense At Regular Rate",
                    "valueType": "STRING",
                    "isDefault": true,
                    "@type": "CustomProfileSpecCharValue"
                }
            ]
        },
        {
            "name": "Upgrade Eligibility Duration",
            "description": "The impact to upgrade eligibility duration due to suspension",
            "valueType": "STRING",
            "@type": "CustomProfileSpecChar",
            "configurable": true,
            "minCardinality": 0,
            "maxCardinality": 1,
            "active": true,
            "customProfileSpecCharValue": [
                {
                    "value": "Original Contract Duration",
                    "valueType": "STRING",
                    "isDefault": true,
                    "@type": "CustomProfileSpecCharValue"
                },
                {
                    "value": "Extended Duration",
                    "valueType": "STRING",
                    "isDefault": false,
                    "@type": "CustomProfileSpecCharValue"
                }
            ]
        }
    ]
}
Back to Top