Create a Product Specification

post

http://host:port/productCatalogManagement/v4/productSpecification

Creates a product specification.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Describes a tangible or intangible object made available externally in the form of a product offering to customers or other parties playing a party role.
Show Source
Nested Schema : bundledProductSpecification
Type: array
A type of product specification that belongs to a grouping of product specifications made available to the market.
Show Source
Nested Schema : productSpecCharacteristic
Type: array
A characteristic quality or distinctive feature of a product specification. The characteristic can be take on a discrete value, such as color, and can take on a range of values. (For example, sensitivity of 100-240 mV), or can be derived from a formula (for example, usage time (hrs) = 30 - talk time *3). Certain characteristics, such as color, may be configured during the ordering or other other processes.
Show Source
  • ProductSpecificationCharacteristic
    A characteristic quality or distinctive feature of a product specification. The characteristic can be take on a discrete value, such as color, a range of values, (for example, sensitivity of 100-240 mV), or can be derived from a formula (for example, usage time (hrs) = 30 - talk time *3). Certain characteristics, such as color, may be configured during ordering or other processes.
Nested Schema : productSpecificationRelationship
Type: array
A migration, substitution, dependency or exclusivity relationship between or among product specifications.
Show Source
Nested Schema : relatedParty
Type: array
Defines a party or party role linked to a specific entity.
Show Source
Nested Schema : resourceSpecification
Type: array
Required to realize a product specification.
Show Source
  • ResourceSpecificationRef
    Resources are physical or non-physical components (or some combination of these) within an enterprise's infrastructure or inventory. They are typically consumed or used by services (for example a physical port assigned to a service) or contribute to the realization of a Product (for example, a SIM card). They can be drawn from the Application, Computing and Network domains, and include, for example, Network Elements, software, IT systems, content and information, and technology components. A resource specification is an abstract base class for representing a generic means for implementing a particular type of resource. In essence, a resource specification defines the common attributes and relationships of a set of related resources, while resource defines a specific instance that is based on a particular resource specification.
Nested Schema : serviceSpecification
Type: array
Required to realize a product specification.
Show Source
Nested Schema : TargetProductSchema
Type: object
The reference object to the schema and type of target product which is described by product specification.
Show Source
Nested Schema : TimePeriod
Type: object
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
Show Source
Nested Schema : BundledProductSpecification
Type: object
A type of product specification that belongs to a grouping of product specifications made available to the market.
Show Source
Nested Schema : ProductSpecificationCharacteristic
Type: object
A characteristic quality or distinctive feature of a product specification. The characteristic can be take on a discrete value, such as color, a range of values, (for example, sensitivity of 100-240 mV), or can be derived from a formula (for example, usage time (hrs) = 30 - talk time *3). Certain characteristics, such as color, may be configured during ordering or other processes.
Show Source
  • Defines the super-class while sub-classing.
  • A URI to a JSON-Schema file that defines additional attributes and relationships.
  • Defines the sub-class extensible name while sub-classing.
  • An optional field that provides a link to the schema describing the value type.
  • Indicates if the target Characteristic is configurable (true) or not (false).
  • A brief description of the characteristic specification.
  • An indicator that specifies if the values for the characteristic can be extended by adding new values when instantiating a characteristic for a resource.
  • The unique ID for the characteristic.
  • An indicator that specifies if a value is unique for the specification. Possible values may be "unique while value is in effect" and "unique whether value is in effect or not"
  • The maximum number of instances a characteristic value can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
  • The minimum number of instances a characteristic value can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
  • A word, term, or phrase by which this characteristic specification is known and distinguished from other characteristic specifications.
  • productSpecCharacteristicValue
    Defines a set of attributes, each of which can be assigned to a corresponding set of attributes in a product specification characteristic object. The values of the attributes in the product specification characteristic value object describe the values of the attributes that a corresponding product specification characteristic object can take on.
  • productSpecCharRelationship
    An aggregation, migration, substitution, dependency or exclusivity relationship between or among specification characteristics.
  • A rule or principle represented in regular expression used to derive the value of a characteristic value.
  • TimePeriod
    A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
  • A kind of value that the characteristic can take on, such as numeric, text etc.
Nested Schema : productSpecCharacteristicValue
Type: array
Defines a set of attributes, each of which can be assigned to a corresponding set of attributes in a product specification characteristic object. The values of the attributes in the product specification characteristic value object describe the values of the attributes that a corresponding product specification characteristic object can take on.
Show Source
Nested Schema : productSpecCharRelationship
Type: array
An aggregation, migration, substitution, dependency or exclusivity relationship between or among specification characteristics.
Show Source
Nested Schema : CharacteristicValueSpecification
Type: object
The specification of a value (number, text or an object) that can be assigned to a characteristic.
Show Source
  • Defines the super-class while sub-classing.
  • A URI to a JSON-Schema file that defines additional attributes and relationships.
  • Defines the sub-class Extensible name while sub-classing.
  • If true, the boolean Indicates if the value is the default value for a characteristic.
  • An indicator that specifies the inclusion or exclusion of the valueFrom and valueTo attributes. Possible values are "open", "closed", "closedBottom" and "closedTop".
  • A regular expression constraint for given value.
  • A determinate quantity or magnitude of the kind designated, taken as a standard of comparison for others of the same kind, in assigning to them numerical values, such as 1 foot, 1 yard, 1 mile, 1 square foot. Thie could be length, surface, volume, dry measure, liquid measure, money, weight, time etc.
  • TimePeriod
    A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
  • The low range value that a characteristic can take on.
  • The upper range value that a characteristic can take on.
  • A kind of value that the characteristic value can take on, such as numeric, text etc.
Nested Schema : ProductSpecificationCharacteristicRelationship
Type: object
An aggregation, migration, substitution, dependency or exclusivity relationship between/among product specification characteristics.
Show Source
  • Defines the super-class while sub-classing.
  • A URI to a JSON-Schema file that defines additional attributes and relationships.
  • Defines the sub-class extensible name while sub-classing.
  • The order in which a characteristic specification appears within another characteristic specification that defines a grouping of characteristic specifications. For example, a grouping may represent the name of an individual. The given name is first, the middle name is second, and the last name is third.
  • Refers to the hyperlink to the target product specification.
  • The identifier of the associated product specification.
  • Name of the target product specification characteristic.
  • Type of relationship such as aggregation, migration, substitution, dependency, exclusivity.
  • TimePeriod
    A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
Nested Schema : ProductSpecificationRelationship
Type: object
A migration, substitution, dependency or exclusivity relationship between or among product specifications.
Show Source
Nested Schema : RelatedParty
Type: object
Defines party or party role linked to a specific entity.
Show Source
Nested Schema : ResourceSpecificationRef
Type: object
Resources are physical or non-physical components (or some combination of these) within an enterprise's infrastructure or inventory. They are typically consumed or used by services (for example a physical port assigned to a service) or contribute to the realization of a Product (for example, a SIM card). They can be drawn from the Application, Computing and Network domains, and include, for example, Network Elements, software, IT systems, content and information, and technology components. A resource specification is an abstract base class for representing a generic means for implementing a particular type of resource. In essence, a resource specification defines the common attributes and relationships of a set of related resources, while resource defines a specific instance that is based on a particular resource specification.
Show Source
Nested Schema : ServiceSpecificationRef
Type: object
Contains the service specifications required to realize a product specification.
Show Source
Back to Top

Response

Supported Media Types

201 Response

The product specification was created successfully.
Body ()
Root Schema : schema
Type: array
Show Source
  • schema
    Describes a tangible or intangible object made available externally in the form of a product offering to customers or other parties playing a party role.
Nested Schema : schema
Type: object
Describes a tangible or intangible object made available externally in the form of a product offering to customers or other parties playing a party role.
Show Source
Nested Schema : bundledProductSpecification
Type: array
A type of product specification that belongs to a grouping of product specifications made available to the market.
Show Source
Nested Schema : productSpecCharacteristic
Type: array
A characteristic quality or distinctive feature of a product specification. The characteristic can be take on a discrete value, such as color, and can take on a range of values. (For example, sensitivity of 100-240 mV), or can be derived from a formula (for example, usage time (hrs) = 30 - talk time *3). Certain characteristics, such as color, may be configured during the ordering or other other processes.
Show Source
  • ProductSpecificationCharacteristic
    A characteristic quality or distinctive feature of a product specification. The characteristic can be take on a discrete value, such as color, a range of values, (for example, sensitivity of 100-240 mV), or can be derived from a formula (for example, usage time (hrs) = 30 - talk time *3). Certain characteristics, such as color, may be configured during ordering or other processes.
Nested Schema : productSpecificationRelationship
Type: array
A migration, substitution, dependency or exclusivity relationship between or among product specifications.
Show Source
Nested Schema : relatedParty
Type: array
Defines a party or party role linked to a specific entity.
Show Source
Nested Schema : resourceSpecification
Type: array
Required to realize a product specification.
Show Source
  • ResourceSpecificationRef
    Resources are physical or non-physical components (or some combination of these) within an enterprise's infrastructure or inventory. They are typically consumed or used by services (for example a physical port assigned to a service) or contribute to the realization of a Product (for example, a SIM card). They can be drawn from the Application, Computing and Network domains, and include, for example, Network Elements, software, IT systems, content and information, and technology components. A resource specification is an abstract base class for representing a generic means for implementing a particular type of resource. In essence, a resource specification defines the common attributes and relationships of a set of related resources, while resource defines a specific instance that is based on a particular resource specification.
Nested Schema : serviceSpecification
Type: array
Required to realize a product specification.
Show Source
Nested Schema : TargetProductSchema
Type: object
The reference object to the schema and type of target product which is described by product specification.
Show Source
Nested Schema : TimePeriod
Type: object
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
Show Source
Nested Schema : BundledProductSpecification
Type: object
A type of product specification that belongs to a grouping of product specifications made available to the market.
Show Source
Nested Schema : ProductSpecificationCharacteristic
Type: object
A characteristic quality or distinctive feature of a product specification. The characteristic can be take on a discrete value, such as color, a range of values, (for example, sensitivity of 100-240 mV), or can be derived from a formula (for example, usage time (hrs) = 30 - talk time *3). Certain characteristics, such as color, may be configured during ordering or other processes.
Show Source
  • Defines the super-class while sub-classing.
  • A URI to a JSON-Schema file that defines additional attributes and relationships.
  • Defines the sub-class extensible name while sub-classing.
  • An optional field that provides a link to the schema describing the value type.
  • Indicates if the target Characteristic is configurable (true) or not (false).
  • A brief description of the characteristic specification.
  • An indicator that specifies if the values for the characteristic can be extended by adding new values when instantiating a characteristic for a resource.
  • The unique ID for the characteristic.
  • An indicator that specifies if a value is unique for the specification. Possible values may be "unique while value is in effect" and "unique whether value is in effect or not"
  • The maximum number of instances a characteristic value can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality.
  • The minimum number of instances a characteristic value can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality.
  • A word, term, or phrase by which this characteristic specification is known and distinguished from other characteristic specifications.
  • productSpecCharacteristicValue
    Defines a set of attributes, each of which can be assigned to a corresponding set of attributes in a product specification characteristic object. The values of the attributes in the product specification characteristic value object describe the values of the attributes that a corresponding product specification characteristic object can take on.
  • productSpecCharRelationship
    An aggregation, migration, substitution, dependency or exclusivity relationship between or among specification characteristics.
  • A rule or principle represented in regular expression used to derive the value of a characteristic value.
  • TimePeriod
    A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
  • A kind of value that the characteristic can take on, such as numeric, text etc.
Nested Schema : productSpecCharacteristicValue
Type: array
Defines a set of attributes, each of which can be assigned to a corresponding set of attributes in a product specification characteristic object. The values of the attributes in the product specification characteristic value object describe the values of the attributes that a corresponding product specification characteristic object can take on.
Show Source
Nested Schema : productSpecCharRelationship
Type: array
An aggregation, migration, substitution, dependency or exclusivity relationship between or among specification characteristics.
Show Source
Nested Schema : CharacteristicValueSpecification
Type: object
The specification of a value (number, text or an object) that can be assigned to a characteristic.
Show Source
  • Defines the super-class while sub-classing.
  • A URI to a JSON-Schema file that defines additional attributes and relationships.
  • Defines the sub-class Extensible name while sub-classing.
  • If true, the boolean Indicates if the value is the default value for a characteristic.
  • An indicator that specifies the inclusion or exclusion of the valueFrom and valueTo attributes. Possible values are "open", "closed", "closedBottom" and "closedTop".
  • A regular expression constraint for given value.
  • A determinate quantity or magnitude of the kind designated, taken as a standard of comparison for others of the same kind, in assigning to them numerical values, such as 1 foot, 1 yard, 1 mile, 1 square foot. Thie could be length, surface, volume, dry measure, liquid measure, money, weight, time etc.
  • TimePeriod
    A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
  • The low range value that a characteristic can take on.
  • The upper range value that a characteristic can take on.
  • A kind of value that the characteristic value can take on, such as numeric, text etc.
Nested Schema : ProductSpecificationCharacteristicRelationship
Type: object
An aggregation, migration, substitution, dependency or exclusivity relationship between/among product specification characteristics.
Show Source
  • Defines the super-class while sub-classing.
  • A URI to a JSON-Schema file that defines additional attributes and relationships.
  • Defines the sub-class extensible name while sub-classing.
  • The order in which a characteristic specification appears within another characteristic specification that defines a grouping of characteristic specifications. For example, a grouping may represent the name of an individual. The given name is first, the middle name is second, and the last name is third.
  • Refers to the hyperlink to the target product specification.
  • The identifier of the associated product specification.
  • Name of the target product specification characteristic.
  • Type of relationship such as aggregation, migration, substitution, dependency, exclusivity.
  • TimePeriod
    A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
Nested Schema : ProductSpecificationRelationship
Type: object
A migration, substitution, dependency or exclusivity relationship between or among product specifications.
Show Source
Nested Schema : RelatedParty
Type: object
Defines party or party role linked to a specific entity.
Show Source
Nested Schema : ResourceSpecificationRef
Type: object
Resources are physical or non-physical components (or some combination of these) within an enterprise's infrastructure or inventory. They are typically consumed or used by services (for example a physical port assigned to a service) or contribute to the realization of a Product (for example, a SIM card). They can be drawn from the Application, Computing and Network domains, and include, for example, Network Elements, software, IT systems, content and information, and technology components. A resource specification is an abstract base class for representing a generic means for implementing a particular type of resource. In essence, a resource specification defines the common attributes and relationships of a set of related resources, while resource defines a specific instance that is based on a particular resource specification.
Show Source
Nested Schema : ServiceSpecificationRef
Type: object
Contains the service specifications required to realize a product specification.
Show Source

400 Response

The server cannot process the request due to a client error.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source

401 Response

The user's authentication credentials for the target resource are invalid.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source

404 Response

The requested resource was not found, but it could be accessible in the future. Subsequent client requests are permitted.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source

405 Response

The requested resource does not support the particular request method.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source

500 Response

When an unexpected condition is identified and no specific message is appropriate, this generic error message is displayed.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
Back to Top

Examples

The following example shows how to create a product specification for a charge offering by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL.

The -d option specifies the file to attach as the request body.

curl -X POST 'http://host:port/productCatalogManagement/v4/productSpecification' -d @sampleProductSpecification.json

Example of Request Body

The following is an example of the contents of the sampleProductSpecification.json file sent as the request body.

{
    "@type": "ProductSpecificationOracle",
    "description": "ProductSpecDetails",
    "id":"Charge-offer-PSC-Template",
    "name": "Charge-offer-PSC-Template",
    "href":"/productCatalogManagement/v4/productSpecification/Charge-offer-PSC-Template",
    "lifecycleStatus":"Active",
    "lastUpdate": "2023-06-05T14:10:23.696+05:30",
    "pricingType": "CHARGE_OFFERING",
    "productSpecCharacteristic": [
        {
            "@type": "ProductSpecificationCharacteristicOracle",
            "name": "Type",
            "valueType": "ANY",
            "productSpecCharacteristicValue": [
                {
                    "values": "Max"
                },
                {
                    "values": "Basic"
                }
            ],
            "cardinality": "MULTIPLE"
        },
        {
            "@type": "ProductSpecificationCharacteristicOracle",
            "name": "Effective Date",
            "valueType": "DATE",
            "productSpecCharacteristicValue": [
                 
            ],
            "cardinality": "SINGLE"
        },
        {
            "@type": "ProductSpecificationCharacteristicOracle",
            "name": "Allowed Locations",
            "valueType": "ANY",
            "productSpecCharacteristicValue": [
                {
                    "values": "ASIA"
                },
                {
                    "values": "USA"
                },
                {
                    "values": "Africa"
                },
                {
                    "values":"Pakistan"
                }
            ],
            "cardinality": "MULTIPLE"
        }
    ]
}

Example of Response Body

The following is an example of the response body in JSON format.

{
    "@type": "ProductSpecificationOracle",
    "description": "ProductSpecDetails",
    "id":"Charge-offer-PSC-Template",
    "name": "Charge-offer-PSC-Template",
    "href":"/productCatalogManagement/v4/productSpecification/Charge-offer-PSC-Template",
    "lifecycleStatus":"Active",
    "lastUpdate": "2023-06-05T14:10:23.696+05:30",
    "pricingType": "CHARGE_OFFERING",
    "productSpecCharacteristic": [
        {
            "@type": "ProductSpecificationCharacteristicOracle",
            "name": "Type",
            "valueType": "ANY",
            "productSpecCharacteristicValue": [
                {
                    "values": "Max"
                },
                {
                    "values": "Basic"
                }
            ],
            "cardinality": "MULTIPLE"
        },
        {
            "@type": "ProductSpecificationCharacteristicOracle",
            "name": "Effective Date",
            "valueType": "DATE",
            "productSpecCharacteristicValue": [
                 
            ],
            "cardinality": "SINGLE"
        },
        {
            "@type": "ProductSpecificationCharacteristicOracle",
            "name": "Allowed Locations",
            "valueType": "ANY",
            "productSpecCharacteristicValue": [
                {
                    "values": "ASIA"
                },
                {
                    "values": "USA"
                },
                {
                    "values": "Africa"
                },
                {
                    "values":"Pakistan"
                }
            ],
            "cardinality": "MULTIPLE"
        }
    ]
}
Back to Top