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
- 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
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
brand: string
Refers to the product specification's manufacturer or trademark.
-
bundledProductSpecification: array
bundledProductSpecification
A type of product specification that belongs to a grouping of product specifications made available to the market.
-
description: string
A brief description of the product specification.
-
href: string
Refers to the product specification.
-
id: string
The product specification's unique ID.
-
isBundle: boolean
Whether a product specification represents a single specification (true) or multiple specifications (false).
-
lastUpdate: string
(date-time)
Date and time of the last update.
-
lifecycleStatus: string
Indicates the current lifecycle status.
-
name: string
Name of the product specification.
-
productNumber: string
An identification number assigned to uniquely identify the specification.
-
productSpecCharacteristic: array
productSpecCharacteristic
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.
-
productSpecificationRelationship: array
productSpecificationRelationship
A migration, substitution, dependency or exclusivity relationship between or among product specifications.
- relatedParty: array relatedParty
-
resourceSpecification: array
resourceSpecification
Required to realize a product specification.
-
serviceSpecification: array
serviceSpecification
Required to realize a product specification.
-
targetProductSchema: object
TargetProductSchema
The reference object to the schema and type of target product which is described by product specification.
-
validFor: object
TimePeriod
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
-
version: string
Version of the product specification.
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
-
Array of:
object BundledProductSpecification
A type of product specification that belongs to a grouping of product specifications made available to the market.
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
-
Array of:
object 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
-
Array of:
object ProductSpecificationRelationship
A migration, substitution, dependency or exclusivity relationship between or among product specifications.
Nested Schema : resourceSpecification
Type:
array
Required to realize a product specification.
Show Source
-
Array of:
object 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
-
Array of:
object ServiceSpecificationRef
Contains the service specifications required to realize a product specification.
Nested Schema : TargetProductSchema
Type:
object
The reference object to the schema and type of target product which is described by product specification.
Show Source
-
@schemaLocation(required): string
(uri)
Provides a link to the schema describing the target product.
-
@type(required): string
Class type of the target product.
Nested Schema : TimePeriod
Type:
object
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
Show Source
-
endDateTime: string
(date-time)
End of the time period, using IETC-RFC-3339 format.Example:
1985-04-12T23:20:50.52Z
-
startDateTime: string
(date-time)
Start of the time period, using IETC-RFC-3339 format.Example:
1985-04-12T23:20:50.52Z
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
The unique resource URL used to get the product specification.
-
id: string
The unique ID for the product specification, such as ChargeOfferExample.
-
lifecycleStatus: string
Indicates the current lifecycle status.
-
name: string
Name of the product specification.
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
@valueSchemaLocation: string
An optional field that provides a link to the schema describing the value type.
-
configurable: boolean
Indicates if the target Characteristic is configurable (true) or not (false).
-
description: string
A brief description of the characteristic specification.
-
extensible: boolean
An indicator that specifies if the values for the characteristic can be extended by adding new values when instantiating a characteristic for a resource.
-
id: string
The unique ID for the characteristic.
-
isUnique: boolean
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"
-
maxCardinality: integer
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.
-
minCardinality: integer
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.
-
name: string
A word, term, or phrase by which this characteristic specification is known and distinguished from other characteristic specifications.
-
productSpecCharacteristicValue: array
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: array
productSpecCharRelationship
An aggregation, migration, substitution, dependency or exclusivity relationship between or among specification characteristics.
-
regex: string
A rule or principle represented in regular expression used to derive the value of a characteristic value.
-
validFor: object
TimePeriod
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
-
valueType: string
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
-
Array of:
object CharacteristicValueSpecification
The specification of a value (number, text or an object) that can be assigned to a characteristic.
Nested Schema : productSpecCharRelationship
Type:
array
An aggregation, migration, substitution, dependency or exclusivity relationship between or among specification characteristics.
Show Source
-
Array of:
object ProductSpecificationCharacteristicRelationship
An aggregation, migration, substitution, dependency or exclusivity relationship between/among product specification characteristics.
Nested Schema : CharacteristicValueSpecification
Type:
object
The specification of a value (number, text or an object) that can be assigned to a characteristic.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class Extensible name while sub-classing.
-
isDefault: boolean
If true, the boolean Indicates if the value is the default value for a characteristic.
-
rangeInterval: string
An indicator that specifies the inclusion or exclusion of the valueFrom and valueTo attributes. Possible values are "open", "closed", "closedBottom" and "closedTop".
-
regex: string
A regular expression constraint for given value.
-
unitOfMeasure: string
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.
-
validFor: object
TimePeriod
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
-
valueFrom: integer
The low range value that a characteristic can take on.
-
valueTo: integer
The upper range value that a characteristic can take on.
-
valueType: string
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
charSpecSeq: integer
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.
-
href: string
Refers to the hyperlink to the target product specification.
-
id: string
The identifier of the associated product specification.
-
name: string
Name of the target product specification characteristic.
-
relationshipType: string
Type of relationship such as aggregation, migration, substitution, dependency, exclusivity.
-
validFor: object
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
(uri)
Refers to the hyperlink.
-
id: string
Refers to the unique ID.
-
name: string
Name of the related entity.
-
relationshipType: string
Type of relationship such as migration, substitution, dependency, exclusivity.
-
validFor: object
TimePeriod
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
Nested Schema : RelatedParty
Type:
object
Defines party or party role linked to a specific entity.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@referredType(required): string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
(uri)
Refers to the hyperlink.
-
id(required): string
Refers to the unique ID.
-
name: string
Name of the related entity.
-
role: string
Role played by the related party.
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
(uri)
Refers to the hyperlink.
-
id(required): string
Refers to the unique ID.
-
name: string
Name of the related entity.
-
version: string
The version of the resource specification.
Nested Schema : ServiceSpecificationRef
Type:
object
Contains the service specifications required to realize a product specification.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
(uri)
Refers to the hyperlink.
-
id(required): string
Refers to the unique ID.
-
name: string
Name of the related entity.
-
version: string
Version of the service specification.
Response
Supported Media Types
- application/json
201 Response
The product specification was created successfully.
Root Schema : schema
Type:
Show Source
array
-
Array of:
object 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
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
brand: string
Refers to the product specification's manufacturer or trademark.
-
bundledProductSpecification: array
bundledProductSpecification
A type of product specification that belongs to a grouping of product specifications made available to the market.
-
description: string
A brief description of the product specification.
-
href: string
Refers to the product specification.
-
id: string
The product specification's unique ID.
-
isBundle: boolean
Whether a product specification represents a single specification (true) or multiple specifications (false).
-
lastUpdate: string
(date-time)
Date and time of the last update.
-
lifecycleStatus: string
Indicates the current lifecycle status.
-
name: string
Name of the product specification.
-
productNumber: string
An identification number assigned to uniquely identify the specification.
-
productSpecCharacteristic: array
productSpecCharacteristic
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.
-
productSpecificationRelationship: array
productSpecificationRelationship
A migration, substitution, dependency or exclusivity relationship between or among product specifications.
- relatedParty: array relatedParty
-
resourceSpecification: array
resourceSpecification
Required to realize a product specification.
-
serviceSpecification: array
serviceSpecification
Required to realize a product specification.
-
targetProductSchema: object
TargetProductSchema
The reference object to the schema and type of target product which is described by product specification.
-
validFor: object
TimePeriod
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
-
version: string
Version of the product specification.
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
-
Array of:
object BundledProductSpecification
A type of product specification that belongs to a grouping of product specifications made available to the market.
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
-
Array of:
object 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
-
Array of:
object ProductSpecificationRelationship
A migration, substitution, dependency or exclusivity relationship between or among product specifications.
Nested Schema : resourceSpecification
Type:
array
Required to realize a product specification.
Show Source
-
Array of:
object 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
-
Array of:
object ServiceSpecificationRef
Contains the service specifications required to realize a product specification.
Nested Schema : TargetProductSchema
Type:
object
The reference object to the schema and type of target product which is described by product specification.
Show Source
-
@schemaLocation(required): string
(uri)
Provides a link to the schema describing the target product.
-
@type(required): string
Class type of the target product.
Nested Schema : TimePeriod
Type:
object
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
Show Source
-
endDateTime: string
(date-time)
End of the time period, using IETC-RFC-3339 format.Example:
1985-04-12T23:20:50.52Z
-
startDateTime: string
(date-time)
Start of the time period, using IETC-RFC-3339 format.Example:
1985-04-12T23:20:50.52Z
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
The unique resource URL used to get the product specification.
-
id: string
The unique ID for the product specification, such as ChargeOfferExample.
-
lifecycleStatus: string
Indicates the current lifecycle status.
-
name: string
Name of the product specification.
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
@valueSchemaLocation: string
An optional field that provides a link to the schema describing the value type.
-
configurable: boolean
Indicates if the target Characteristic is configurable (true) or not (false).
-
description: string
A brief description of the characteristic specification.
-
extensible: boolean
An indicator that specifies if the values for the characteristic can be extended by adding new values when instantiating a characteristic for a resource.
-
id: string
The unique ID for the characteristic.
-
isUnique: boolean
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"
-
maxCardinality: integer
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.
-
minCardinality: integer
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.
-
name: string
A word, term, or phrase by which this characteristic specification is known and distinguished from other characteristic specifications.
-
productSpecCharacteristicValue: array
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: array
productSpecCharRelationship
An aggregation, migration, substitution, dependency or exclusivity relationship between or among specification characteristics.
-
regex: string
A rule or principle represented in regular expression used to derive the value of a characteristic value.
-
validFor: object
TimePeriod
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
-
valueType: string
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
-
Array of:
object CharacteristicValueSpecification
The specification of a value (number, text or an object) that can be assigned to a characteristic.
Nested Schema : productSpecCharRelationship
Type:
array
An aggregation, migration, substitution, dependency or exclusivity relationship between or among specification characteristics.
Show Source
-
Array of:
object ProductSpecificationCharacteristicRelationship
An aggregation, migration, substitution, dependency or exclusivity relationship between/among product specification characteristics.
Nested Schema : CharacteristicValueSpecification
Type:
object
The specification of a value (number, text or an object) that can be assigned to a characteristic.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class Extensible name while sub-classing.
-
isDefault: boolean
If true, the boolean Indicates if the value is the default value for a characteristic.
-
rangeInterval: string
An indicator that specifies the inclusion or exclusion of the valueFrom and valueTo attributes. Possible values are "open", "closed", "closedBottom" and "closedTop".
-
regex: string
A regular expression constraint for given value.
-
unitOfMeasure: string
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.
-
validFor: object
TimePeriod
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
-
valueFrom: integer
The low range value that a characteristic can take on.
-
valueTo: integer
The upper range value that a characteristic can take on.
-
valueType: string
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
charSpecSeq: integer
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.
-
href: string
Refers to the hyperlink to the target product specification.
-
id: string
The identifier of the associated product specification.
-
name: string
Name of the target product specification characteristic.
-
relationshipType: string
Type of relationship such as aggregation, migration, substitution, dependency, exclusivity.
-
validFor: object
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
(uri)
Refers to the hyperlink.
-
id: string
Refers to the unique ID.
-
name: string
Name of the related entity.
-
relationshipType: string
Type of relationship such as migration, substitution, dependency, exclusivity.
-
validFor: object
TimePeriod
A period of time, either as a deadline (endDateTime only), a startDateTime only, or both.
Nested Schema : RelatedParty
Type:
object
Defines party or party role linked to a specific entity.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@referredType(required): string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
(uri)
Refers to the hyperlink.
-
id(required): string
Refers to the unique ID.
-
name: string
Name of the related entity.
-
role: string
Role played by the related party.
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
-
@baseType: string
Defines the super-class while sub-classing.
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
(uri)
Refers to the hyperlink.
-
id(required): string
Refers to the unique ID.
-
name: string
Name of the related entity.
-
version: string
The version of the resource specification.
Nested Schema : ServiceSpecificationRef
Type:
object
Contains the service specifications required to realize a product specification.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class extensible name while sub-classing.
-
href: string
(uri)
Refers to the hyperlink.
-
id(required): string
Refers to the unique ID.
-
name: string
Name of the related entity.
-
version: string
Version of the service specification.
400 Response
The server cannot process the request due to a client error.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
401 Response
The user's authentication credentials for the target resource are invalid.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
404 Response
The requested resource was not found, but it could be accessible in the future. Subsequent client requests are permitted.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
405 Response
The requested resource does not support the particular request method.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
500 Response
When an unexpected condition is identified and no specific message is appropriate, this generic error message is displayed.
Root Schema : Error
Type:
object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
-
@baseType: string
Defines the super-class while sub-classing.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
Defines the sub-class entity name while sub-classing.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP error code extension.
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" } ] }