Create or update an array of service specification
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/serviceSpecifications
Request
There are no request parameters for this operation.
- application/json
array150-
Array of:
ServiceSpecificationOracle
Title:
ServiceSpecificationOracle
ServiceSpecificationOracle-
object
ServiceSpecification
Title:
ServiceSpecificationDiscriminator:{ "propertyName":"@type", "mapping":{ "ServiceSpecification":"#/components/schemas/ServiceSpecification", "ServiceSpecificationOracle":"#/components/schemas/ServiceSpecificationOracle" } }ServiceSpecification is a class that offers characteristics to describe a type of service. Functionally, it acts as a template by which Services may be instantiated. By sharing the same specification, these services would therefore share the same set of characteristics. -
object
type
objectServiceSpecificationDiscriminator Values
-
@baseType: string
Immediate base (class) type of the Service Specification
-
@schemaLocation: string
A link to the schema describing this Service Specification
-
@type: string
Class type of the Service Specification
-
attachment: array
attachment
-
description: string
A string. A narrative that explains in detail what the service specification is.
-
href: string
A string. Reference of the service specification.
-
id: string
Maximum Length:
30A string. Unique identifier of the service specification. -
isBundle: boolean
A boolean. isBundle determines whether a ServiceSpecification represents a single ServiceSpecification (false), or a bundle of ServiceSpecification (true).
-
lastUpdate: string
(date-time)
A date time (DateTime). Date and time of the last update of the service specification.
-
lifecycleStatus: string
A string. Used to indicate the current lifecycle status of the service specification.
-
name(required): string
A string. Name of the service specification.
- relatedParty: array relatedParty
-
resourceSpecification: array
resourceSpecification
-
serviceLevelSpecification: array
serviceLevelSpecification
-
serviceSpecCharacteristic: array
serviceSpecCharacteristic
-
serviceSpecRelationship: array
serviceSpecRelationship
-
targetServiceSchema: object
TargetServiceSchema
Title:
TargetServiceSchemaThe reference object to the schema and type of target product which is described by product specification -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid -
version: string
A string. Service specification version.
object-
applicationName: string
name of the external application
-
created: string
(date-time)
Date and time of creation
-
createdBy: string
name of the person who created
-
externalId: string
id of the external application
-
lastUpdatedBy: string
name of the person who updated
-
project: object
ProjectRef
Title:
ProjectRefProject Reference -
serviceCode: string
Code to service specification
-
versionState: number
Version state of the Service Specification
objectProjectRef-
href: string
Unique reference of the project
-
id(required): string
Unique identifier of the project
-
name: string
Name of the project
-
version: string
Version of the project
Response
- application/json
200 Response
array-
Array of:
ServiceSpecificationOracle
Title:
ServiceSpecificationOracle
ServiceSpecificationOracle-
object
ServiceSpecification
Title:
ServiceSpecificationDiscriminator:{ "propertyName":"@type", "mapping":{ "ServiceSpecification":"#/components/schemas/ServiceSpecification", "ServiceSpecificationOracle":"#/components/schemas/ServiceSpecificationOracle" } }ServiceSpecification is a class that offers characteristics to describe a type of service. Functionally, it acts as a template by which Services may be instantiated. By sharing the same specification, these services would therefore share the same set of characteristics. -
object
type
objectServiceSpecificationDiscriminator Values
-
@baseType: string
Immediate base (class) type of the Service Specification
-
@schemaLocation: string
A link to the schema describing this Service Specification
-
@type: string
Class type of the Service Specification
-
attachment: array
attachment
-
description: string
A string. A narrative that explains in detail what the service specification is.
-
href: string
A string. Reference of the service specification.
-
id: string
Maximum Length:
30A string. Unique identifier of the service specification. -
isBundle: boolean
A boolean. isBundle determines whether a ServiceSpecification represents a single ServiceSpecification (false), or a bundle of ServiceSpecification (true).
-
lastUpdate: string
(date-time)
A date time (DateTime). Date and time of the last update of the service specification.
-
lifecycleStatus: string
A string. Used to indicate the current lifecycle status of the service specification.
-
name(required): string
A string. Name of the service specification.
- relatedParty: array relatedParty
-
resourceSpecification: array
resourceSpecification
-
serviceLevelSpecification: array
serviceLevelSpecification
-
serviceSpecCharacteristic: array
serviceSpecCharacteristic
-
serviceSpecRelationship: array
serviceSpecRelationship
-
targetServiceSchema: object
TargetServiceSchema
Title:
TargetServiceSchemaThe reference object to the schema and type of target product which is described by product specification -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid -
version: string
A string. Service specification version.
object-
applicationName: string
name of the external application
-
created: string
(date-time)
Date and time of creation
-
createdBy: string
name of the person who created
-
externalId: string
id of the external application
-
lastUpdatedBy: string
name of the person who updated
-
project: object
ProjectRef
Title:
ProjectRefProject Reference -
serviceCode: string
Code to service specification
-
versionState: number
Version state of the Service Specification
objectProjectRef-
href: string
Unique reference of the project
-
id(required): string
Unique identifier of the project
-
name: string
Name of the project
-
version: string
Version of the project
400 Response
array-
Array of:
object Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "Error":"#/components/schemas/Error", "BulkError":"#/components/schemas/BulkError" } }
401 Response
objectError-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
404 Response
objectError-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
405 Response
objectError-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
500 Response
objectError-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
Examples
The following example shows how to create or update an array of service specification by submitting a put request on the REST resource using cURL.
cURL Command
curl -u username:password -X PUT \
'https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/serviceSpecifications' -H 'Content-Type: application/json' -D @put_servicespecs.json | json_pp
Example of Request Body
The following shows an example of the request body.
[
{
"id": "TelcoGSM_Service_001",
"name": "TelcoGSM_Service_001",
"@type": "ServiceSpecificationOracle",
"lifecycleStatus": "In design",
"version": "1.0",
"description": "Service description22 pacth it",
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"project": {
"id": "BulkDocProject",
"name": "Bulk Doc Project"
},
"serviceSpecCharacteristic": [
{
"name": "ServiceSpecChar001",
"description": "Test for service char",
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"configurable": true,
"valueType": "STRING",
"extensible": false,
"minCardinality": 0,
"maxCardinality": 1,
"serviceSpecCharacteristicValue": [
{
"valueType": "STRING",
"isDefault": true,
"value": "Android Kitkat CATBURY",
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
}
}
]
}
]
},
{
"id": "TelcoGSM_Service_002",
"name": "TelcoGSM_Service_002",
"@type": "ServiceSpecificationOracle",
"lifecycleStatus": "In design",
"version": "1.0",
"description": "Service description22 pacth it",
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"project": {
"id": "BulkDocProject",
"name": "Bulk Doc Project"
},
"serviceSpecCharacteristic": [
{
"name": "ServiceSpecChar001",
"description": "Test for service char",
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"configurable": true,
"valueType": "STRING",
"extensible": false,
"minCardinality": 0,
"maxCardinality": 1,
"serviceSpecCharacteristicValue": [
{
"valueType": "STRING",
"isDefault": true,
"value": "Android Kitkat CATBURY",
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
}
}
]
}
]
}
]
Example of Response Body
The following shows an example of the response body.
[
{
"id": "TelcoGSM_Service_001",
"name": "TelcoGSM_Service_001",
"description": "Service description22 pacth it",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/serviceSpecifications/TelcoGSM_Service_001",
"version": "1.0",
"lifecycleStatus": "In design",
"isBundle": false,
"@type": "ServiceSpecificationOracle",
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"project": {
"id": "BulkDocProject",
"name": "Bulk Doc Project",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/BulkDocProject"
},
"serviceSpecCharacteristic": [
{
"name": "ServiceSpecChar001",
"description": "Test for service char",
"valueType": "STRING",
"extensible": false,
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"serviceSpecCharacteristicValue": [
{
"isDefault": true,
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"valueType": "STRING",
"value": "Android Kitkat CATBURY"
}
]
}
]
},
{
"id": "TelcoGSM_Service_002",
"name": "TelcoGSM_Service_002",
"description": "Service description22 pacth it",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/serviceSpecifications/TelcoGSM_Service_002",
"version": "1.0",
"lifecycleStatus": "In design",
"isBundle": false,
"@type": "ServiceSpecificationOracle",
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"project": {
"id": "BulkDocProject",
"name": "Bulk Doc Project",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/BulkDocProject"
},
"serviceSpecCharacteristic": [
{
"name": "ServiceSpecChar001",
"description": "Test for service char",
"valueType": "STRING",
"extensible": false,
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"serviceSpecCharacteristicValue": [
{
"isDefault": true,
"validFor": {
"startDateTime": "2019-06-19T16:42:23.0Z",
"endDateTime": "2022-08-19T16:42:23.0Z"
},
"valueType": "STRING",
"value": "Android Kitkat CATBURY"
}
]
}
]
}
]