Update a service specification
patch
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/serviceCatalogManagement/v3/serviceSpecification/{id}
Updates the service specification that matches the specified ID using the supplied request payload.
Request
Path Parameters
-
id(required): string
The ID of the resource item.
Supported Media Types
- application/json
Root Schema : ServiceSpecificationOracle
Title:
ServiceSpecificationOracleMatch All
Show Source
-
object
ServiceSpecification
Title:
ServiceSpecificationDiscriminator:{ "propertyName":"@type", "mapping":{ "ServiceSpecification":"#/components/schemas/ServiceSpecification", "ServiceSpecificationOracle":"#/components/schemas/ServiceSpecificationOracle" } }The 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
Nested Schema : ServiceSpecification
Type:
objectTitle:
ServiceSpecificationDiscriminator: @type
Discriminator Values
The 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.
Show Source
-
@baseType: string
The base type of the service specification.
-
@schemaLocation: string
The URI of the schema that defines the service specification.
-
@type(required): string
The class type of the service specification.
-
attachment: array
attachment
A list of attachments associated with the service specification.
-
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:
30The ID of the service specification. -
isBundle: boolean
A boolean value that determines whether a service specification represents a single service specification (false) or a bundle of service specifications (true).
-
lastUpdate: string
(date-time)
A date time (DateTime). Date and time of the last update of the service specification.
-
lifecycleStatus: string
Indicates the current lifecycle status of the service specification.
-
name(required): string
A string. Name of the service specification.
- relatedParty: array relatedParty
-
resourceSpecification: array
resourceSpecification
A list of resource specifications associated with the service specification.
-
serviceLevelSpecification: array
serviceLevelSpecification
A list of service level specifications associated with the service specification.
-
serviceSpecCharacteristic: array
serviceSpecCharacteristic
A list of service specification characteristics associated with the service specification.
-
serviceSpecRelationship: array
serviceSpecRelationship
A list of service specification relationships associated with the service specification.
-
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.
Nested Schema : type
Type:
Show Source
object-
applicationName: string
The name of the application associated with the service specification.
-
created: string
(date-time)
The date and time of creation.
-
createdBy: string
The name of the person who created.
-
externalId: string
The ID of the external associated with the service specification.
-
lastUpdatedBy: string
The name of the person who updated.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
serviceCode: string
The service code associated with the service specification.
-
versionState: number
The version state of the Service Specification.
Nested Schema : ProjectRef
Type:
objectTitle:
ProjectRefThe project reference resource.
Show Source
-
href: string
The hyperlink reference to the project reference.
-
id(required): string
The ID of the project reference.
-
name: string
The name of the project reference.
-
version: string
The version of the project.
Response
Supported Media Types
- application/json
200 Response
The service specification was updated successfully.
Root Schema : ServiceSpecificationOracle
Title:
ServiceSpecificationOracleMatch All
Show Source
-
object
ServiceSpecification
Title:
ServiceSpecificationDiscriminator:{ "propertyName":"@type", "mapping":{ "ServiceSpecification":"#/components/schemas/ServiceSpecification", "ServiceSpecificationOracle":"#/components/schemas/ServiceSpecificationOracle" } }The 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
Nested Schema : ServiceSpecification
Type:
objectTitle:
ServiceSpecificationDiscriminator: @type
Discriminator Values
The 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.
Show Source
-
@baseType: string
The base type of the service specification.
-
@schemaLocation: string
The URI of the schema that defines the service specification.
-
@type(required): string
The class type of the service specification.
-
attachment: array
attachment
A list of attachments associated with the service specification.
-
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:
30The ID of the service specification. -
isBundle: boolean
A boolean value that determines whether a service specification represents a single service specification (false) or a bundle of service specifications (true).
-
lastUpdate: string
(date-time)
A date time (DateTime). Date and time of the last update of the service specification.
-
lifecycleStatus: string
Indicates the current lifecycle status of the service specification.
-
name(required): string
A string. Name of the service specification.
- relatedParty: array relatedParty
-
resourceSpecification: array
resourceSpecification
A list of resource specifications associated with the service specification.
-
serviceLevelSpecification: array
serviceLevelSpecification
A list of service level specifications associated with the service specification.
-
serviceSpecCharacteristic: array
serviceSpecCharacteristic
A list of service specification characteristics associated with the service specification.
-
serviceSpecRelationship: array
serviceSpecRelationship
A list of service specification relationships associated with the service specification.
-
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.
Nested Schema : type
Type:
Show Source
object-
applicationName: string
The name of the application associated with the service specification.
-
created: string
(date-time)
The date and time of creation.
-
createdBy: string
The name of the person who created.
-
externalId: string
The ID of the external associated with the service specification.
-
lastUpdatedBy: string
The name of the person who updated.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
serviceCode: string
The service code associated with the service specification.
-
versionState: number
The version state of the Service Specification.
Nested Schema : ProjectRef
Type:
objectTitle:
ProjectRefThe project reference resource.
Show Source
-
href: string
The hyperlink reference to the project reference.
-
id(required): string
The ID of the project reference.
-
name: string
The name of the project reference.
-
version: string
The version of the project.
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.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@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
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
401 Response
Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@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
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
404 Response
The resource with the specified URI couldn't be found.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@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
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
405 Response
HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@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
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
500 Response
The server encountered something unexpected that prevented it from completing the request.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@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
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
Examples
The following example shows how to update a service specification by submitting a PATCH request on the REST resource using cURL. In this example, we will update the lifestyle status of the service specification to Rejected.
curl -u username:password -X PATCH \
'https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/serviceCatalogManagement/v3/serviceSpecification/
Example of Request Body
The following shows an example of the request body.
{
"description" : "Text Roaming Service Specification",
"validFor": {
"startDateTime": "2024-08-09T00:00:00.000Z",
"endDateTime": "2028-08-09T00:00:00.000Z"
}
}Example of Response Body
The following shows an example of the response body.
{
"id": "SS-TXT-ROAMING",
"name": "Text Roaming SS",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/serviceCatalogManagement/v3/serviceSpecification/SS-TXT-ROAMING",
"version": "1.0",
"lifecycleStatus": "In design",
"created": "2025-01-20T13:24:50.000Z",
"createdBy": "booth",
"lastUpdate": "2025-02-17T10:57:47.009Z",
"lastUpdatedBy": "booth",
"isBundle": false,
"@type": "ServiceSpecificationOracle",
"description" : "Text Roaming Service Specification",
"validFor": {
"startDateTime": "2024-08-09T00:00:00.000Z",
"endDateTime": "2028-08-09T00:00:00.000Z"
}
"project": {
"id": "DBE_RI_ProdModel_PreSeed_PSP",
"name": "DBE RI Product Model Preseed",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/DBE_RI_ProdModel_PreSeed_PSP",
"version": "1.0",
"@referredType": "ProjectOracle"
},
"serviceCode": "/service/telco/gsm/sms"
}