Get a Service by ID

get

/service/{id}

Gets the service entity that matches the specified ID.

Attribute selection is enabled for all first-level attributes.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The service was retrieved successfully.
Body ()
Root Schema : Service
Type: object
Service Class.
Show Source
Nested Schema : ExternalIdentity
Type: object
An external identity.
Show Source
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
Nested Schema : relatedParty
Type: array
A list of related party references (RelatedParty [1..*]). A related party defines party or party role linked to a specific entity.
Show Source
Nested Schema : serviceCharacteristic
Type: array
A list of characteristics that characterize this service (ServiceCharacteristic [*])
Show Source
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
Nested Schema : Specification
Type: object
A specification.
Show Source
Nested Schema : supportingResource
Type: array
A list of supporting resources (SupportingResource [*]).For CFS list includes all the supporting resources of RFS.
Show Source
Nested Schema : supportingService
Type: array
A list of supporting services (SupportingService [*]). A collection of services that support this service.
Show Source
Nested Schema : PlaceServiceRef
The place reference on a service.
Match All
Show Source
Nested Schema : PlaceRef
Type: object
A place to associate with the resource/service.
Show Source
Nested Schema : PlaceServiceRef-allOf[1]
Type: object
Show Source
  • Allowed Values: [ "PENDING_ASSIGN", "ASSIGNED", "PENDING_UNASSIGN", "UNASSIGNED", "DISCONNECTED", "TRANSITIONAL", "PORTED" ]
    The list of valid values for assignment state.
  • The name of the service consumer.
  • Allowed Values: [ "PENDING_REFERENCE", "REFERENCED", "PENDING_UNREFERENCE", "UNREFERENCED" ]
    The list of valid values for reference state.
  • Allowed Values: [ "Association", "Assignment", "Reference", "ResourceNetworkLocation", "ResourceAssociation" ]
    Valid values for the list of supported reference types.
  • The name of the resource on which place is associated. This will be populated when ReferenceType is set to 'ResourceNetworkLocation' or 'ResourceAssociation'.
Nested Schema : RelatedPartyServiceRef
The party reference on a service.
Match All
Show Source
Nested Schema : RelatedPartyRef
Type: object
A related party, which defines a party or party role linked to a specific entity.
Show Source
Nested Schema : RelatedPartyServiceRef-allOf[1]
Type: object
Show Source
Nested Schema : Characteristic
Type: object
A characteristic of an object or entity represented by a name-value pair.
Show Source
Nested Schema : value
Type: object
The value of the characteristic.
Nested Schema : ServiceRelationship
Type: object
Describes links with services of the same category (useful for bundled services).
Show Source
Nested Schema : ResourceServiceRef
The resource reference on a service.
Match All
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : ResourceServiceRef-allOf[1]
Type: object
Show Source

400 Response

The request isn't valid.
Body ()
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
  • The error code.
  • Allowed Values: [ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "InventoryGroup", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party", "ServiceConfigurationVersion" ]
    The list of valid values for an entity class.
  • message
    The text that provides more details about the error as well as corrective actions.
  • The short, user-friendly summary of the problem, which does not change for subsequent occurrences of the problem.
  • The URL pointing to the documentation that describes the error.
  • 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 aren't authorized to make this request.
Body ()
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
  • The error code.
  • Allowed Values: [ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "InventoryGroup", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party", "ServiceConfigurationVersion" ]
    The list of valid values for an entity class.
  • message
    The text that provides more details about the error as well as corrective actions.
  • The short, user-friendly summary of the problem, which does not change for subsequent occurrences of the problem.
  • The URL pointing to the documentation that describes the error.
  • 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.
Body ()
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
  • The error code.
  • Allowed Values: [ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "InventoryGroup", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party", "ServiceConfigurationVersion" ]
    The list of valid values for an entity class.
  • message
    The text that provides more details about the error as well as corrective actions.
  • The short, user-friendly summary of the problem, which does not change for subsequent occurrences of the problem.
  • The URL pointing to the documentation that describes the error.
  • 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

404 Response

The resources wasn't found.
Body ()
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
  • The error code.
  • Allowed Values: [ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "InventoryGroup", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party", "ServiceConfigurationVersion" ]
    The list of valid values for an entity class.
  • message
    The text that provides more details about the error as well as corrective actions.
  • The short, user-friendly summary of the problem, which does not change for subsequent occurrences of the problem.
  • The URL pointing to the documentation that describes the error.
  • 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.
Body ()
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
  • The error code.
  • Allowed Values: [ "CustomObject", "CustomNetworkAddress", "DeviceInterface", "Equipment", "EquipmentHolder", "FlowIdentifier", "GeographicLocation", "GeographicSite", "GeographicAddress", "InventoryGroup", "LogicalDevice", "LogicalDeviceAccount", "MediaStream", "Network", "PhysicalConnector", "PhysicalDevice", "PhysicalPort", "Pipe", "Service", "TelephoneNumber", "IPv4Address", "IPv6Address", "IPSubnet", "NetworkAddressDomain", "Connectivity", "Party", "ServiceConfigurationVersion" ]
    The list of valid values for an entity class.
  • message
    The text that provides more details about the error as well as corrective actions.
  • The short, user-friendly summary of the problem, which does not change for subsequent occurrences of the problem.
  • The URL pointing to the documentation that describes the error.
  • 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
Back to Top

Examples

This example shows how to get the details for a service with a given ID by submitting a GET request on the REST resource using cURL. For more information about cURL, see Install and Use cURL.

cURL Command

curl -X GET "http://hostname:port/InventoryRSOpenAPI/serviceInventoryManagement/version/service/ID" -H credentials

where:

  • hostname is the URL for the UIM REST server.
  • port is the port for the UIM REST server.
  • version is the version of the API you're using.
  • credentials is the base64 encoding of the user ID and password joined by a single colon (ID:password). See Authentication and Authorization.
  • ID is the ID of the service to get.

Example of Response Body

This example shows the contents of the response body in JSON format. It shows the full details for the service with ID 450001.
{
   "id": "450001",
   "href": "http://hostname:port/InventoryRSOpenAPI/serviceInventoryManagement/version/service/450001",
   "category": "CFS",
   "description": "CFS Broadband",
   "hasStarted": false,
   "isServiceEnabled": false,
   "name": "BroadbandCFS",
   "serviceDate": "2019-11-25T19:48:47.621Z",
   "supportingResource": [
      {
         "id": "1-675001",
         "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/version/resource/1-675001",
         "name": "DOCSIS LD",
         "@referredType": "LogicalDevice",
         "consumerName": "DOCSISRFS",
         "assignmentState": "PENDING_ASSIGN"
      },
      {
         "id": "1-675002",
         "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/version/resource/1-675002",
         "name": "CPE_Management_System_1",
         "@referredType": "LogicalDevice",
         "consumerName": "DOCSISRFS",
         "referenceState": "PENDING_REFERENCE"
      }
   ],
   "startDate": "2019-11-25T19:48:47.621Z",
   "relatedParty": [
      {
         "id": "225002",
         "href": "http://hostname:port/InventoryRSOpenAPI/party/225002",
         "name": "Snow White",
         "role": "Customer",
         "referenceType": "Association",
         "consumerName": "BroadbandCFS"
      },
      {
         "id": "225003",
         "href": "http://hostname:port/InventoryRSOpenAPI/party/225003",
         "name": "Warehouse_1",
         "referenceType": "Reference",
         "consumerName": "DOCSISRFS",
         "referenceState": "PENDING_REFERENCE"
      }
   ],
   "serviceCharacteristic": [
      {
         "name": "serviceRelType1",
         "valueType": "ALPHANUMERIC",
         "value": "relies-on",
         "serviceName": "BroadbandCFS"
      },
      {
         "name": "category",
         "valueType": "ALPHANUMERIC",
         "value": "CFS",
         "serviceName": "BroadbandCFS"
      },
      {
         "name": "serviceRel1",
         "valueType": "ALPHANUMERIC",
         "value": "EmaiLCFS",
         "serviceName": "BroadbandCFS"
      },
      {
         "name": "Config_Profile_ID",
         "valueType": "ALPHANUMERIC",
         "value": "Motorola",
         "serviceName": "DOCSISRFS"
      },
      {
         "name": "CPE_Enabled",
         "valueType": "BOOLEAN",
         "value": "true",
         "serviceName": "DOCSISRFS"
      },
      {
         "name": "MaxUpstream",
         "valueType": "ALPHANUMERIC",
         "value": "20 Mbps",
         "serviceName": "DOCSISRFS"
      },
      {
         "name": "MaxDownstream",
         "valueType": "ALPHANUMERIC",
         "value": "150 Mbps",
         "serviceName": "DOCSISRFS"
      }
   ],
   "serviceRelationship": [
      {
         "relationshipType": "relies-on",
         "service": {
            "id": "450005",
            "href": "http://hostname:port/InventoryRSOpenAPI/serviceInventoryManagement/version/service/450005"
         }
      }
   ],
   "supportingService": [
      {
         "id": "450002",
         "href": "http://hostname:port/InventoryRSOpenAPI/serviceInventoryManagement/version/service/450002",
         "name": "DOCSISRFS"
      }
   ],
   "serviceSpecification": {
      "id": "Broadband_Internet_Access_CFS",
      "href": "http://hostname:port/InventoryRSOpenAPI/specification/Broadband_Internet_Access_CFS",
      "name": "Broadband_Internet_Access_CFS",
      "version": "1",
      "entityType": "Service",
      "startDate": "2020-01-06T00:00:01.000Z",
      "endDate": "2038-01-19T08:44:07.000Z"
   },
   "state": "designed",
   "place": [
      {
         "id": "525001",
         "href": "http://hostname:port/InventoryRSOpenAPI/place/525001",
         "name": "75024 Plano 54489 Trent St.",
         "referenceType": "Reference",
         "consumerName": "BroadbandCFS",
         "referenceState": "PENDING_REFERENCE"
      },
      {
         "id": "525002",
         "href": "http://hostname:port/InventoryRSOpenAPI/place/525002",
         "name": "75024 Plano TX USA 54489 Trent St.",
         "referenceType": "Reference",
         "consumerName": "DOCSISRFS",
         "referenceState": "PENDING_REFERENCE"
      }
   ]
}
Back to Top