Reverse Update of Consumable Resource
post
/service/updateResource
Updates the existing resources of the services with new resources provided in the input. The services to be updated can be filtered using the
criteria.
Use the includeAll parameter to update all services, including CFS and RFS. The default includes only CFS.
The service filtering criteria can include the following properties:
- id
- filterAssignAndRefState
- filterServiceState
- filterConfigurationState
Request
Query Parameters
-
depth(optional): integer
The depth of the expansion.
-
expand(optional): string
The additional details to include in the response.
-
fields(optional): string
The fields to include in the response.
-
filterAssignAndRefState(optional): string
Filter on assignment and reference states with comma separated values. Valid values are ASSIGNED,PENDING_ASSIGN,REFERENCED,PENDING_REFERENCED. For example, if ASSIGNED,REFERENCED is provided in filter, only the resources with these assignment states are updated with the new resources. Default includes all the above mentioned states.
-
filterConfigurationState(optional): string
Filter on configuration state with comma separated values. Valid values are COMPLETED, IN_PROGRESS, DESIGNED, ISSUED. For example, if COMPLETED is provided in filter then only latest service configuration with these states are considered for updates.
-
filterServiceState(optional): string
Filter on service states with comma separated values. Valid values are ACTIVE, DESIGNED, INACTIVE. For example, if ACTIVE is provided in the filter then only services with these states are considered for the update. By default, the updates happen only for ACTIVE,DESIGNED,INACTIVE. Services with states TERMINATED,CANCELLED,PENDING_CANCEL, PENDING_DISCONNECT, and CANCELPENDINGDISCONNECT are not considered for updates.
-
id(optional): string
Optional Service IDs with comma separated values, on which the resource updates are required.
Supported Media Types
- application/json
The service that is to be created
Nested Schema : UpdateConsumableResource
Type:
Show Source
object
-
entityClass:
string
Allowed Values:
[ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "PropertyLocation", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party" ]
The list of valid values for an entity class. -
newResourceId:
string
-
oldResourceId:
string
Response
Supported Media Types
- application/json
200 Response
The services are updated successfully.
Nested Schema : Service
Type:
object
Service Class.
Show Source
-
category(optional):
string
Indicates if it is customer facing or resource facing service.
-
description(optional):
string
A free-text description for the service.
-
endDate(optional):
string(date-time)
The date and time when the service is no longer effective.
-
externalIdentity(optional):
object ExternalIdentity
An external identity.
-
hasStarted(optional):
boolean
Read Only:
true
Flag indicates that service is started. -
href(optional):
string
Read Only:
true
The URI for the service class. -
id(optional):
string
Read Only:
true
The ID of the service. -
isServiceEnabled(optional):
boolean
Read Only:
true
If FALSE, this particular Service has NOT been enabled for use -
name(optional):
string
The name of the service.
-
place(optional):
array place
The list of associated geographic places, list of assigned/referenced geographic places, list of associated places on supported resources.
- relatedParty(optional): array relatedParty
-
serviceCharacteristic(optional):
array serviceCharacteristic
A list of characteristics that characterize this service (ServiceCharacteristic [*])
-
serviceDate(optional):
string(date-time)
Read Only:
true
Date and time when the service was created (whatever its status). -
serviceRelationship(optional):
array serviceRelationship
A list of service relationships (ServiceRelationship [*]). Describes links with other service(s) in the inventory (useful for describing relies-on, relies-from between CFS for example).
-
serviceSpecification(optional):
object Specification
A specification.
-
startDate(optional):
string(date-time)
The date and time when the service is started.
-
state(optional):
string
Allowed Values:
[ "designed", "inactive", "active", "terminated", "pendingCancel", "cancelled", "pendingDisconnect", "cancelPendingDisconnect" ]
Valid values for the lifecycle state of the service. -
supportingResource(optional):
array supportingResource
A list of supporting resources (SupportingResource [*]).For CFS list includes all the supporting resources of RFS.
-
supportingService(optional):
array supportingService
A list of supporting services (SupportingService [*]). A collection of services that support this service.
Nested Schema : ExternalIdentity
Type:
object
An external identity.
Show Source
-
externalArrangement(optional):
string
Allowed Values:
[ "LEASED_IN", "FEDERATED", "LEASED_OUT", "SHARED" ]
The type of federation model between UIM and the external party for the given entity. -
externalManagementDomain(optional):
string
The external system, domain name, party, or participant in a federation solution.
-
externalName(optional):
string
The business-meaningful name of the business entity.
-
externalObjectId(optional):
string
The ID for a business entity.
Nested Schema : place
Type:
array
The list of associated geographic places, list of assigned/referenced geographic places, list of associated places on supported resources.
Show Source
-
Array of:
PlaceServiceRef
The place reference on a service.
Nested Schema : serviceCharacteristic
Type:
array
A list of characteristics that characterize this service (ServiceCharacteristic [*])
Show Source
-
Array of:
ServiceCharacteristic
The service characteristic details.
Nested Schema : serviceRelationship
Type:
array
A list of service relationships (ServiceRelationship [*]). Describes links with other service(s) in the inventory (useful for describing relies-on, relies-from between CFS for example).
Show Source
-
Array of:
object ServiceRelationship
Describes links with services of the same category (useful for bundled services).
Nested Schema : Specification
Type:
object
A specification.
Show Source
-
description(optional):
string
Details about the specification.
-
endDate(optional):
string(date-time)
The date and time when the specification ends.
-
entityType(optional):
string
Allowed Values:
[ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "PropertyLocation", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party" ]
The list of valid values for an entity class. -
href(optional):
string(uri)
The URI for the specification.
-
id:
string
The ID of the specification, which is the same as the name of the specification.
-
name(optional):
string
The name of the specification.
-
startDate(optional):
string(date-time)
The date and time when the specification starts.
-
version(optional):
string
The version of the specification, which is always 1.
Nested Schema : supportingResource
Type:
array
A list of supporting resources (SupportingResource [*]).For CFS list includes all the supporting resources of RFS.
Show Source
-
Array of:
ResourceServiceRef
The resource reference on a service.
Nested Schema : supportingService
Type:
array
A list of supporting services (SupportingService [*]). A collection of services that support this service.
Show Source
-
Array of:
object Service
Service Class.
Nested Schema : PlaceServiceRef
The place reference on a service.
Match All
Show Source
-
object
PlaceRef
A place to associate with the resource/service.
-
object
PlaceServiceRef-allOf[1]
Nested Schema : PlaceRef
Type:
object
A place to associate with the resource/service.
Show Source
-
@referredType(optional):
string
Allowed Values:
[ "GeographicAddress", "GeographicLocation", "GeographicSite", "PropertyLocation", "NetworkEntityCode" ]
The list of valid values for place referred type. -
href(optional):
string(uri)
The URI for the place.
-
id(optional):
string
The ID of the place.
-
name(optional):
string
The name of the place.
-
referrerRole(optional):
string
The role of the associated resource.
-
role(optional):
string
The role of the place.
Nested Schema : PlaceServiceRef-allOf[1]
Type:
Show Source
object
-
assignmentState(optional):
string
Allowed Values:
[ "PENDING_ASSIGN", "ASSIGNED", "PENDING_UNASSIGN", "UNASSIGNED", "DISCONNECTED", "TRANSITIONAL", "PORTED" ]
The list of valid values for assignment state. -
consumerName(optional):
string
The name of the service consumer.
-
latitude(optional):
string
Latitude of the place.
-
longitude(optional):
string
Longitude of the place.
-
placeCharacteristic(optional):
array placeCharacteristic
The list of characteristics for the place.
-
placeSpecification(optional):
object Specification
A specification.
-
referenceState(optional):
string
Allowed Values:
[ "PENDING_REFERENCE", "REFERENCED", "PENDING_UNREFERENCE", "UNREFERENCED" ]
The list of valid values for reference state. -
referenceType(optional):
string
Allowed Values:
[ "Association", "Assignment", "Reference", "ResourceNetworkLocation", "ResourceAssociation" ]
Valid values for the list of supported reference types. -
resourceName(optional):
string
The name of the resource on which place is associated. This will be populated when ReferenceType is set to 'ResourceNetworkLocation' or 'ResourceAssociation'.
Nested Schema : placeCharacteristic
Type:
array
The list of characteristics for the place.
Show Source
-
Array of:
object Characteristic
A characteristic of an object or entity represented by a name-value pair.
Nested Schema : Characteristic
Type:
object
A characteristic of an object or entity represented by a name-value pair.
Show Source
-
@schemaLocation(optional):
string(uri)
The URI for the JSON Schema file that defines additional attributes and relationships.
-
@type(optional):
string
The entity type of the object. This is useful for EntityLink characters and when the value is set with an actual object and the valueType is an object.
-
name:
string
The name of the characteristic.
-
value:
object value
The value of the characteristic.
-
valueType(optional):
string
Allowed Values:
[ "ALPHANUMERIC", "NUMERIC", "BOOLEAN", "DATE", "OBJECT", "URL" ]
The data type for the characteristics's value.
Nested Schema : value
Type:
object
The value of the characteristic.
Nested Schema : RelatedPartyServiceRef
The party reference on a service.
Match All
Show Source
-
object
RelatedPartyRef
A related party, which defines a party or party role linked to a specific entity.
-
object
RelatedPartyServiceRef-allOf[1]
Nested Schema : RelatedPartyRef
Type:
object
A related party, which defines a party or party role linked to a specific entity.
Show Source
-
@referredType(optional):
string
Concrete Type of the Party, in case of dis-ambiguity. Default is 'Party'.
-
href(optional):
string(uri)
The URI for the related party.
-
id(optional):
string
The ID of the related party.
-
name(optional):
string
The name of the related party.
-
role(optional):
string
The role of the related party.
Nested Schema : RelatedPartyServiceRef-allOf[1]
Type:
Show Source
object
-
consumerName(optional):
string
The name of the service consumer.
-
partyCharacteristic(optional):
array partyCharacteristic
The list of characteristics for the party.
-
partySpecification(optional):
object Specification
A specification.
-
referenceState(optional):
string
Allowed Values:
[ "PENDING_REFERENCE", "REFERENCED", "PENDING_UNREFERENCE", "UNREFERENCED" ]
The list of valid values for reference state. -
referenceType(optional):
string
Allowed Values:
[ "Association", "Assignment", "Reference", "ResourceNetworkLocation", "ResourceAssociation" ]
Valid values for the list of supported reference types.
Nested Schema : partyCharacteristic
Type:
array
The list of characteristics for the party.
Show Source
-
Array of:
object Characteristic
A characteristic of an object or entity represented by a name-value pair.
Nested Schema : ServiceCharacteristic
The service characteristic details.
Match All
Show Source
-
object
Characteristic
A characteristic of an object or entity represented by a name-value pair.
-
object
ServiceCharacteristic-allOf[1]
Nested Schema : ServiceCharacteristic-allOf[1]
Type:
Show Source
object
-
configItemDisplayName(optional):
string
The config item display name of the service characteristic which is editable from UI.
-
configItemName(optional):
string
The config item name of the service characteristic.
-
serviceName(optional):
string
The name of the service consumer.
-
serviceSpecName(optional):
string
The specification name of service.Required only for creation of the service.
Nested Schema : ServiceRelationship
Type:
object
Describes links with services of the same category (useful for bundled services).
Show Source
-
relationshipType:
string
The type of relationship (e.g. depends on, enables)
-
service:
object Service
Service Class.
Nested Schema : ResourceRef
Type:
Show Source
object
-
@referredType(optional):
string
Allowed Values:
[ "DeviceInterface", "Equipment", "EquipmentHolder", "LogicalDevice", "LogicalDeviceAccount", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "TelephoneNumber", "IPV4Address", "IPV6Address", "IPNetwork", "IPSubnet", "NetworkAddressDomain", "FlowIdentifier", "CustomObject", "CustomNetworkAddress" ]
The list of valid values for the resource type. -
href(optional):
string
Read Only:
true
Reference of the supporting resource. -
id(optional):
string
Unique identifier of the supporting resource.
-
name(optional):
string
Name of the resource supporting the service.
Nested Schema : ResourceServiceRef-allOf[1]
Type:
Show Source
object
-
assignmentState(optional):
string
Allowed Values:
[ "PENDING_ASSIGN", "ASSIGNED", "PENDING_UNASSIGN", "UNASSIGNED", "DISCONNECTED", "TRANSITIONAL", "PORTED" ]
The list of valid values for assignment state. -
consumerName(optional):
string
The name of the service consumer.
-
expandResource(optional):
object Discriminator: @type
Discriminator:
{ "propertyName":"@type" }
A base resource Class. -
referenceState(optional):
string
Allowed Values:
[ "PENDING_REFERENCE", "REFERENCED", "PENDING_UNREFERENCE", "UNREFERENCED" ]
The list of valid values for reference state.
Nested Schema : Discriminator: @type
Type:
object
A base resource Class.
Show Source
-
@baseType(optional):
string
Read Only:
true
Allowed Values:[ "PhysicalResource", "LogicalResource" ]
The list of valid values for the type of base resource. -
@type(optional):
string
Allowed Values:
[ "DeviceInterface", "Equipment", "EquipmentHolder", "LogicalDevice", "LogicalDeviceAccount", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "TelephoneNumber", "IPV4Address", "IPV6Address", "IPNetwork", "IPSubnet", "NetworkAddressDomain", "FlowIdentifier", "CustomObject", "CustomNetworkAddress" ]
The list of valid values for the resource type. -
category(optional):
string
The category of the concrete resource, such as Gold or Silver for a MSISDN concrete resource.
-
description(optional):
string
A free-text description for the resource.
-
endDate(optional):
string(date-time)
The date and time when the resource is no longer effective.
-
externalIdentity(optional):
object externalIdentity
Read Only:
true
The external identity details for the federated resource. -
href(optional):
string(uri)
Read Only:
true
The URI for the resource class. -
id(optional):
string
The ID of the resource.
-
lifecycleState(optional):
string
Allowed Values:
[ "END_OF_LIFE", "INSTALLED", "PENDING_INSTALL", "PENDING_REMOVE", "PENDING_UNAVAILABLE", "PENDING_AVAILABLE", "PLANNED", "UNAVAILABLE", "PENDING_DISCONNECT", "DISCONNECTED" ]
The list of valid values for inventory state. -
lifecycleSubState(optional):
string
Allowed Values:
[ "PENDING_ASSIGN", "ASSIGNED", "PENDING_UNASSIGN", "UNASSIGNED", "DISCONNECTED", "TRANSITIONAL", "PORTED" ]
The list of valid values for assignment state. -
name(optional):
string
The name of the resource.
-
place(optional):
array place
The list of associated geographic places.
-
resourceCharacteristic(optional):
array resourceCharacteristic
The list of characteristics for the resource.
-
resourceRelationship(optional):
array resourceRelationship
The list of all resources referenced with the current resource. For example, parent resource, associated resource, etc.
-
resourceSpecification(optional):
object Specification
A specification.
-
startDate(optional):
string(date-time)
Read Only:
true
The starting date and time when the resource becomes effective. -
version(optional):
string
Read Only:
true
A field that identifies the version of a resource instance.
Nested Schema : externalIdentity
Type:
object
Read Only:
true
The external identity details for the federated resource.
Match All
Show Source
-
object
ExternalIdentity
An external identity.
Nested Schema : place
Type:
array
The list of associated geographic places.
Show Source
-
Array of:
object PlaceRef
A place to associate with the resource/service.
Nested Schema : resourceCharacteristic
Type:
array
The list of characteristics for the resource.
Show Source
-
Array of:
object Characteristic
A characteristic of an object or entity represented by a name-value pair.
Nested Schema : resourceRelationship
Type:
array
The list of all resources referenced with the current resource. For example, parent resource, associated resource, etc.
Show Source
-
Array of:
object ResourceRelationship
A relationship to a resource.
Nested Schema : ResourceRelationship
Type:
object
A relationship to a resource.
Show Source
-
fromRole(optional):
string
The role name for the from-resource. Applies only to INVOLVE relationship types.
-
resourceRef(optional):
object Discriminator: @type
Discriminator:
{ "propertyName":"@type" }
A base resource Class. -
toRole(optional):
string
The role name for the to-resource. Applies only to INVOLVE relationship types.
-
type(optional):
string
Allowed Values:
[ "ASSOCIATES", "MAPPEDTO", "PARENT", "CHILD", "INVOLVE", "ASSIGN", "CONSUMER" ]
The list of valid values for relationship type. -
validFor(optional):
object validFor
Read Only:
true
The time period during which the relationship is valid.
Nested Schema : validFor
Type:
object
Read Only:
true
The time period during which the relationship is valid.
Match All
Show Source
-
object
TimePeriod
A time period.
Nested Schema : TimePeriod
Type:
object
A time period.
Show Source
-
endDate(optional):
string(date-time)
The date and time when the time period ends.
-
startDate(optional):
string(date-time)
The date and time when the time period starts.
400 Response
The request is not valid.
Root Schema : Error
Type:
object
Used when an API throws an error. This is typically used with HTTP error response codes (3xx, 4xx, 5xx).
Show Source
-
code(optional):
string
The error code.
-
entityType(optional):
string
Allowed Values:
[ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "PropertyLocation", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party" ]
The list of valid values for an entity class. -
message(optional):
array message
The text that provides more details about the error as well as corrective actions.
-
reason(optional):
string
The short, user-friendly summary of the problem, which does not change for subsequent occurrences of the problem.
-
referenceError(optional):
string
The URL pointing to the documentation that describes the error.
-
status(optional):
string
The HTTP error code extension, such as 400-2.
Nested Schema : message
Type:
array
The text that provides more details about the error as well as corrective actions.
Show Source
401 Response
You are not authorized to make this request.
Root Schema : Error
Type:
object
Used when an API throws an error. This is typically used with HTTP error response codes (3xx, 4xx, 5xx).
Show Source
-
code(optional):
string
The error code.
-
entityType(optional):
string
Allowed Values:
[ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "PropertyLocation", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party" ]
The list of valid values for an entity class. -
message(optional):
array message
The text that provides more details about the error as well as corrective actions.
-
reason(optional):
string
The short, user-friendly summary of the problem, which does not change for subsequent occurrences of the problem.
-
referenceError(optional):
string
The URL pointing to the documentation that describes the error.
-
status(optional):
string
The HTTP error code extension, such as 400-2.
Nested Schema : message
Type:
array
The text that provides more details about the error as well as corrective actions.
Show Source
403 Response
The request is forbidden.
Root Schema : Error
Type:
object
Used when an API throws an error. This is typically used with HTTP error response codes (3xx, 4xx, 5xx).
Show Source
-
code(optional):
string
The error code.
-
entityType(optional):
string
Allowed Values:
[ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "PropertyLocation", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party" ]
The list of valid values for an entity class. -
message(optional):
array message
The text that provides more details about the error as well as corrective actions.
-
reason(optional):
string
The short, user-friendly summary of the problem, which does not change for subsequent occurrences of the problem.
-
referenceError(optional):
string
The URL pointing to the documentation that describes the error.
-
status(optional):
string
The HTTP error code extension, such as 400-2.
Nested Schema : message
Type:
array
The text that provides more details about the error as well as corrective actions.
Show Source
500 Response
An internal server error occurred.
Root Schema : Error
Type:
object
Used when an API throws an error. This is typically used with HTTP error response codes (3xx, 4xx, 5xx).
Show Source
-
code(optional):
string
The error code.
-
entityType(optional):
string
Allowed Values:
[ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "PropertyLocation", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party" ]
The list of valid values for an entity class. -
message(optional):
array message
The text that provides more details about the error as well as corrective actions.
-
reason(optional):
string
The short, user-friendly summary of the problem, which does not change for subsequent occurrences of the problem.
-
referenceError(optional):
string
The URL pointing to the documentation that describes the error.
-
status(optional):
string
The HTTP error code extension, such as 400-2.
Nested Schema : message
Type:
array
The text that provides more details about the error as well as corrective actions.
Show Source