Update a Connectivity

patch

/connectivity/{connectivityIdentifier}

Updates the Connectivity that matches the specified connectivityIdentifier or id. Update can be performed either using merge-patch or json-patch, each of which accepts a different request content-type. Kindly note that only below attributes can be updated and all other non-editable attributes must not be provided in the PATCH requests:
  • description
  • consumablePercent
  • connectivityDesign
  • resourceCharacteristic.name

Merge Patch:

All attributes provided in the request will be updated with the given values.

JSON Patch:

This operation performs sequential updates on individual attributes.

Attribute selection is enabled for all first-level attributes.

Optionally, use the expand parameter to specify resource relationships (resourceRelationship.INVOLVE) that you want to see details for. By default, you'll just see links for these.

Optionally, use the depth parameter to expand the level of referenced entities. If depth=0, all referenced entities in RootEntity objects will contain only the ID, HREF, and @type. If depth=N, it expands reference objects of related entities recursively, and the last level contains only the references. The default is depth=0.


NOTE: {connectivityIdentifier} in path parameter can be connectivityIdentifier or Id of the connectivity.

Request

Path Parameters
Query Parameters
Supported Media Types
Request Body - application/json-patch+json ()
The connectivity to be updated.
Root Schema : schema
Type: array
Show Source
Nested Schema : PatchDocument
Type: object
A JSON PATCH document.
Show Source
Nested Schema : value
Type: object
The value to use with the operation.
Request Body - application/merge-patch+json ()
The connectivity to be updated.
Root Schema : schema
A Connectivity resource.
Match All
Show Source
Nested Schema : schema
A pipe resource.
Match All
Show Source
Nested Schema : LogicalResource
Type: object
The base class for logical resources.
Match All
Show Source
Nested Schema : Discriminator: @type
Type: object
A base resource Class.
Show Source
Nested Schema : LogicalResource-allOf[1]
Type: object
Nested Schema : type
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : CapacityConsumed
Type: object
Consumed capacity of pipe.
Show Source
Nested Schema : CapacityProvided
Type: object
A capacity provided.
Show Source
Nested Schema : CapacityRequired
Type: object
Required capacity of pipe.
Show Source
Nested Schema : pipeDirectionalityRef
Type: array
The list of pipe directionalities.
Show Source
Nested Schema : PipeEnablement
Type: object
Segment details that are enabling current Connectivity.
Show Source
Nested Schema : roles
Type: array
The list of pipe inventory roles.
Show Source
Nested Schema : PipeDirectionality
Type: object
A Pipe Directionality .
Show Source
Nested Schema : pipeSegmentRef
Type: array
The list of pipe segments.
Show Source
Nested Schema : Segment
Type: object
Segment details that are enabling current Connectivity.
Show Source
Nested Schema : flowIdentifiers
Type: array
Show Source
Nested Schema : segmentRef
Match One Schema
Show Source
Nested Schema : schema
A flow identifier.
Match All
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : schema
A network address domain.
Match All
Show Source
Nested Schema : type
Type: object
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 : PlaceRef
Type: object
A place to associate with the resource/service.
Show Source
Nested Schema : ConnectivityDesign
Type: object
Gives the details of latest connectivity design version.
Show Source
Nested Schema : asideFlowIdentifiers
Type: array
Show Source
Nested Schema : paths
Type: array
Show Source
Nested Schema : zsideFlowIdentifiers
Type: array
Show Source
Nested Schema : ConnectivityPath
Type: object
Paths that are enabling current Connectivity.
Show Source
Nested Schema : segments
Type: array
Show Source
Nested Schema : Role
Type: object
A role.
Show Source
Back to Top

Response

Supported Media Types

200 Response

The connectivity was updated successfully.
Body ()
Root Schema : schema
A Connectivity resource.
Match All
Show Source
Nested Schema : schema
A pipe resource.
Match All
Show Source
Nested Schema : LogicalResource
Type: object
The base class for logical resources.
Match All
Show Source
Nested Schema : Discriminator: @type
Type: object
A base resource Class.
Show Source
Nested Schema : LogicalResource-allOf[1]
Type: object
Nested Schema : type
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : CapacityConsumed
Type: object
Consumed capacity of pipe.
Show Source
Nested Schema : CapacityProvided
Type: object
A capacity provided.
Show Source
Nested Schema : CapacityRequired
Type: object
Required capacity of pipe.
Show Source
Nested Schema : pipeDirectionalityRef
Type: array
The list of pipe directionalities.
Show Source
Nested Schema : PipeEnablement
Type: object
Segment details that are enabling current Connectivity.
Show Source
Nested Schema : roles
Type: array
The list of pipe inventory roles.
Show Source
Nested Schema : PipeDirectionality
Type: object
A Pipe Directionality .
Show Source
Nested Schema : pipeSegmentRef
Type: array
The list of pipe segments.
Show Source
Nested Schema : Segment
Type: object
Segment details that are enabling current Connectivity.
Show Source
Nested Schema : flowIdentifiers
Type: array
Show Source
Nested Schema : segmentRef
Match One Schema
Show Source
Nested Schema : schema
A flow identifier.
Match All
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : schema
A network address domain.
Match All
Show Source
Nested Schema : type
Type: object
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 : PlaceRef
Type: object
A place to associate with the resource/service.
Show Source
Nested Schema : ConnectivityDesign
Type: object
Gives the details of latest connectivity design version.
Show Source
Nested Schema : asideFlowIdentifiers
Type: array
Show Source
Nested Schema : paths
Type: array
Show Source
Nested Schema : zsideFlowIdentifiers
Type: array
Show Source
Nested Schema : ConnectivityPath
Type: object
Paths that are enabling current Connectivity.
Show Source
Nested Schema : segments
Type: array
Show Source
Nested Schema : Role
Type: object
A role.
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", "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
    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", "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
    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", "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
    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", "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
    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 update the details of a connectivity of a given ID by submitting a PATCH request on the REST resource using cURL. For more information about cURL, see "Install and Use cURL".

cURL Command

curl -X PATCH "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/version/connectivity/ID" -H credentials @connectivityPatch.json

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.
  • ID is the ID of the connectivity to be updated.
  • connectivityPatch.json is the JSON file with updated values.

Terminate at Media Interface on A and Z sides of Connectivity

Example of Request Body

This shows an example of the contents of the connectivityPatch.json file sent as the request body for the MERGE patch.

Note:

The MERGE patch requests should not have any non-editable attributes in the requests such as technology, aendlocation, function, and so on, as they cannot be updated. The asideInterface and zsideInterface attributes can be provided at a time for MERGE patch.

Example for MERGE patch

{
        "@type": "Connectivity",
        "connectivityDesign": {
            "asideInterface" : {
                "id": "20-10GigE-75001-1",
                "@type": "DeviceInterface"
            }
        }
}

Example for JSON Patch

This shows an example of the contents of the connectivityPatch.json file sent as the request body for the JSON patch.

Note:

For JSON patch, only one sideInterface can be provided at a time.

[
	{
        "op": "add",
	    "path": "/connectivityDesign",
	    "value": {
	    	"asideInterface" : {
		    	"id":"20-10GigE-75001-1",
			    "@type": "DeviceInterface"
		    }	
	    }
    }
]

Example of Response Body

This example shows the contents of the response body in JSON format. It shows the connectivity details for a given ID.

{
        "id": "31-600001",
        "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/31-600001",
        "@type": "Connectivity",
        "@baseType": "LogicalResource",
        "description": "merged description from apiisisiiii",
        "resourceVersion": "1",
        "lifecycleState": "INSTALLED",
        "lifecycleSubState": "UNASSIGNED",
        "startOperatingDate": "2022-04-18T17:48:53.897Z",
        "endOperatingDate": "2038-01-19T08:44:07.000Z",
        "resourceRelationship": [
            {
                "relationshipType": "INVOLVE",
                "resourceRef": {
                    "id": "12-1125009",
                    "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/12-1125009",
                    "@type": "CustomObject"
                }
            }
        ],
        "resourceCharacteristic": [],
        "resourceSpecification": {
            "id": "AccessSiteConn",
            "href": "http://hostname:port/InventoryRSOpenAPI/specification/AccessSiteConn",
            "name": "AccessSiteConn",
            "version": "1",
            "entityType": "Pipe",
            "startDate": "2021-09-10T00:00:01.000Z",
            "endDate": "2038-01-19T08:44:07.000Z"
        },
        "connectivityIdentifier": "BANGLORE / HYD / 10GigE / GE10 / 2",
        "technology": "Ethernet",
        "identificationFormat": "LOCATION_BASED",
        "aendLocation": {
            "id": "HYD",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/HYD",
            "name": "HYD",
            "@referredType": "PropertyLocation"
        },
        "zendLocation": {
            "id": "BANGLORE",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/BANGLORE",
            "name": "STREET 9 BANGLORE IN",
            "@referredType": "PropertyLocation"
        },
        "rateCode": "10GigE",
        "function": "GE10",
        "serialNumber": 2,
        "consumablePercent": 64,
        "bitRate": "10000 Mbps",
        "isServiceMultiplexing": false,
        "isBundling": true,
        "isAllToOneBundling": false,
        "isVlanBased": false,
        "maxPacketVirtualNetworkCount": 0,
        "connectivityDesign": {
            "connectivityDesignVersion": 1,
            "startDate": "2022-03-31T22:48:18.586Z",
            "status": "COMPLETED",
            "asideTerminationPointId": "600002",
            "zsideTerminationPointId": "600001",
            "aendLocation": {
                "id": "HYD",
                "href": "http://hostname:port/InventoryRSOpenAPI/place/HYD",
                "name": "HYD",
                "@referredType": "PropertyLocation"
            },
            "zendLocation": {
                "id": "BANGLORE",
                "href": "http://hostname:port/InventoryRSOpenAPI/place/BANGLORE",
                "name": "STREET 9 BANGLORE IN",
                "@referredType": "PropertyLocation"
            },
            "asideInterface": {
                "id": "20-10GigE-75001-1",
                "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-10GigE-75001-1",
                "@type": "DeviceInterface"
            },
            "paths": [
                {
                    "label": "Path 1",
                    "segments": [
                        {
                            "segmentNumber": "1",
                            "isGap": true,
                            "gapAccepted": true
                        }
                    ]
                }
            ]
        }
    }

Terminate at Flow Interface on A and Z sides of Connectivity

Example of Request Body

MERGE patch:

{
    "@type": "Connectivity",
    "connectivityDesign": {
         "terminateAtFlowInterface":true,
          "asideInterface": {
            "id": "20-1GigE-225005-1",
            "@type": "DeviceInterface"
        }
    }
}

JSON patch:

[
    {
        "op": "add",
        "path": "/connectivityDesign",
        "value": {
            "asideInterface": {
                "id": "20-1GigE-225005-1",
                "@type": "DeviceInterface"
            },
            "terminateAtFlowInterface":"true"
        }
    }
]

Example for Response Body

This example shows the contents of the response body in JSON format. It shows the connectivity details for a given ID after performing a patch.

{
        "id": "31-750007",
        "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/31-750007",
        "@type": "Connectivity",
        "@baseType": "LogicalResource",
        "resourceVersion": "1",
        "lifecycleState": "INSTALLED",
        "lifecycleSubState": "PENDING_ASSIGN",
        "startOperatingDate": "2022-04-05T10:05:06.858Z",
        "endOperatingDate": "2038-01-19T08:44:07.000Z",
        "resourceRelationship": [],
        "resourceCharacteristic": [
            {
                "name": "isCeVlanCosPreservation",
                "valueType": "BOOLEAN",
                "value": "true",
                "characteristicRelationship": []
            },
            {
                "name": "isCeVlanIdPreservation",
                "valueType": "BOOLEAN",
                "value": "true",
                "characteristicRelationship": []
            },
            {
                "name": "macLayer",
                "valueType": "ALPHANUMERIC",
                "value": "IEEE 802.3-2005",
                "characteristicRelationship": []
            },
            {
                "name": "uniType",
                "valueType": "ALPHANUMERIC",
                "value": "Type 1.1",
                "characteristicRelationship": []
            },
            {
                "name": "numberOfLinks",
                "valueType": "ALPHANUMERIC",
                "value": "1",
                "characteristicRelationship": []
            }
        ],
        "resourceSpecification": {
            "id": "UNI Connectivity",
            "href": "http://hostname:port/InventoryRSOpenAPI/specification/UNI%20Connectivity",
            "name": "UNI Connectivity",
            "version": "1",
            "entityType": "Pipe",
            "startDate": "2021-12-22T00:00:01.000Z",
            "endDate": "2038-01-19T08:44:07.000Z"
        },
        "connectivityIdentifier": "BAT01HYDB_12.001 / BAT01HYDB_HDFC2 HYDERABAD IN / 1GigE / GE1 / 1",
        "technology": "Ethernet",
        "identificationFormat": "LOCATION_BASED",
        "aendLocation": {
            "id": "BAT01HYDB_HDFC2 HYDERABAD IN",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01HYDB_HDFC2 HYDERABAD IN",
            "name": "BAT01HYDB_HDFC2 HYDERABAD IN",
            "@referredType": "PropertyLocation"
        },
        "zendLocation": {
            "id": "BAT01HYDB_12.001",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01HYDB_12.001",
            "name": "BAT01HYDB_12.001",
            "@referredType": "NetworkEntityCode"
        },
        "rateCode": "1GigE",
        "function": "GE1",
        "serialNumber": 1,
        "consumablePercent": 100,
        "bitRate": "1000 Mbps",
        "isServiceMultiplexing": false,
        "isBundling": false,
        "isAllToOneBundling": false,
        "isVlanBased": false,
        "maxPacketVirtualNetworkCount": 1,
        "connectivityDesign": {
            "connectivityDesignVersion": 1,
            "startDate": "2022-04-05T10:05:07.160Z",
            "status": "IN_PROGRESS",
            "asideTerminationPointId": "750013",
            "zsideTerminationPointId": "750014",
            "aendLocation": {
                "id": "BAT01HYDB_HDFC2 HYDERABAD IN",
                "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01HYDB_HDFC2 HYDERABAD IN",
                "name": "BAT01HYDB_HDFC2 HYDERABAD IN",
                "@referredType": "PropertyLocation"
            },
            "zendLocation": {
                "id": "BAT01HYDB_12.001",
                "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01HYDB_12.001",
                "name": "BAT01HYDB_12.001",
                "@referredType": "NetworkEntityCode"
            },
            "asideInterface": {
                "id": "20-1GigE-225005-1-1",
                "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-1GigE-225005-1-1",
                "@type": "DeviceInterface"
            }
            "paths": [
                {
                    "label": "Path 1",
                    "segments": [
                        {
                            "segmentNumber": "1",
                            "isGap": true,
                            "gapAccepted": false
                        }
                    ]
                }
            ]
        }
    }

Assign FlowIdentifiers on A and Z side on Connectivity Design Version

Example of Request Body

Merge patch:

{
    "@type": "Connectivity",
    "connectivityDesign": {
        "asideFlowIdentifiers": [
                {
                    "id": "28-FI_Domain#SP-VLAN#20",
                    "@type": "FlowIdentifier"
                }
            ] 
    }
}

JSON patch:

[
    {
        "op": "add",
        "path": "/connectivityDesign",
        "value": {
            "asideFlowIdentifiers": {
                "id": "28-FI_Domain#SP-VLAN#20",
                "@type": "FlowIdentifier"
            }
        }
    }
]

Example of Response Body

This example shows the contents of the response body in JSON format. It shows the connectivity details for a given ID after performing a patch.

{
        "id": "31-750007",
        "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/31-750007",
        "@type": "Connectivity",
        "@baseType": "LogicalResource",
        "resourceVersion": "1",
        "lifecycleState": "INSTALLED",
        "lifecycleSubState": "PENDING_ASSIGN",
        "startOperatingDate": "2022-04-05T10:05:06.858Z",
        "endOperatingDate": "2038-01-19T08:44:07.000Z",
        "resourceRelationship": [],
        "resourceCharacteristic": [
            {
                "name": "isCeVlanCosPreservation",
                "valueType": "BOOLEAN",
                "value": "true",
                "characteristicRelationship": []
            },
            {
                "name": "isCeVlanIdPreservation",
                "valueType": "BOOLEAN",
                "value": "true",
                "characteristicRelationship": []
            },
            {
                "name": "macLayer",
                "valueType": "ALPHANUMERIC",
                "value": "IEEE 802.3-2005",
                "characteristicRelationship": []
            },
            {
                "name": "uniType",
                "valueType": "ALPHANUMERIC",
                "value": "Type 1.1",
                "characteristicRelationship": []
            },
            {
                "name": "numberOfLinks",
                "valueType": "ALPHANUMERIC",
                "value": "1",
                "characteristicRelationship": []
            }
        ],
        "resourceSpecification": {
            "id": "UNI Connectivity",
            "href": "http://hostname:port/InventoryRSOpenAPI/specification/UNI%20Connectivity",
            "name": "UNI Connectivity",
            "version": "1",
            "entityType": "Pipe",
            "startDate": "2021-12-22T00:00:01.000Z",
            "endDate": "2038-01-19T08:44:07.000Z"
        },
        "connectivityIdentifier": "BAT01HYDB_12.001 / BAT01HYDB_HDFC2 HYDERABAD IN / 1GigE / GE1 / 1",
        "technology": "Ethernet",
        "identificationFormat": "LOCATION_BASED",
        "aendLocation": {
            "id": "BAT01HYDB_HDFC2 HYDERABAD IN",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01HYDB_HDFC2 HYDERABAD IN",
            "name": "BAT01HYDB_HDFC2 HYDERABAD IN",
            "@referredType": "PropertyLocation"
        },
        "zendLocation": {
            "id": "BAT01HYDB_12.001",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01HYDB_12.001",
            "name": "BAT01HYDB_12.001",
            "@referredType": "NetworkEntityCode"
        },
        "rateCode": "1GigE",
        "function": "GE1",
        "serialNumber": 1,
        "consumablePercent": 100,
        "bitRate": "1000 Mbps",
        "isServiceMultiplexing": false,
        "isBundling": false,
        "isAllToOneBundling": false,
        "isVlanBased": false,
        "maxPacketVirtualNetworkCount": 1,
        "connectivityDesign": {
            "connectivityDesignVersion": 1,
            "startDate": "2022-04-05T10:05:07.160Z",
            "status": "IN_PROGRESS",
            "asideTerminationPointId": "750013",
            "zsideTerminationPointId": "750014",
            "aendLocation": {
                "id": "BAT01HYDB_HDFC2 HYDERABAD IN",
                "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01HYDB_HDFC2 HYDERABAD IN",
                "name": "BAT01HYDB_HDFC2 HYDERABAD IN",
                "@referredType": "PropertyLocation"
            },
            "zendLocation": {
                "id": "BAT01HYDB_12.001",
                "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01HYDB_12.001",
                "name": "BAT01HYDB_12.001",
                "@referredType": "NetworkEntityCode"
            },
            "asideInterface": {
                "id": "20-1GigE-225005-1-1",
                "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-1GigE-225005-1-1",
                "@type": "DeviceInterface"
            },
            "zsideInterface": {
                "id": "20-1GigE-225011-1-1",
                "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-1GigE-225011-1-1",
                "@type": "DeviceInterface"
            },
            "asideFlowIdentifiers": [
                {
                    "id": "28-FI_Domain#SP-VLAN#20",
                    "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/28-FI_Domain%23SP-VLAN%2320",
                    "@type": "FlowIdentifier"
                }
            ]
            "paths": [
                {
                    "label": "Path 1",
                    "segments": [
                        {
                            "segmentNumber": "1",
                            "isGap": true,
                            "gapAccepted": false
                        }
                    ]
                }
            ]
        }
    }

Assign Connectivity Segment for connectivity enablement in Connectivity Design Version

Example of Request Body

Merge patch:

{
        "@type": "Connectivity",
        "connectivityDesign": {
             "paths": [
            {
                "label": "Path 1",
                "segments": [
                    {
                        "segmentNumber": "1",
                        "segmentRef": {
                            "id": "31-750007",
                            "@type": "Connectivity"
                        }
                    }
                ]
            }
        ]
        }      
}

JSON patch:

[
    {
        "op": "add",
        "path": "/connectivityDesign",
        "value": {
            "paths": [
                {
                    "label": "Path 1",
                    "segments": [
                        {
                            "segmentNumber": "1",
                            "segmentRef": {
                                "id": "31-750007",
                                "@type": "Connectivity"
                            }
                        }
                    ]
                }
            ]
        }
    }
]

Example of Response Body

This example shows the contents of the response body in JSON format. It shows the connectivity details for a given ID after performing a patch.

{
        "id": "31-750002",
        "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/31-750002",
        "@type": "Connectivity",
        "@baseType": "LogicalResource",
        "resourceVersion": "1",
        "lifecycleState": "INSTALLED",
        "lifecycleSubState": "UNASSIGNED",
        "startOperatingDate": "2022-04-05T09:58:43.307Z",
        "endOperatingDate": "2038-01-19T08:44:07.000Z",
        "resourceRelationship": [],
        "resourceCharacteristic": [
            {
                "name": "uniType",
                "valueType": "ALPHANUMERIC",
                "value": "Type 1.1",
                "characteristicRelationship": []
            },
            {
                "name": "numberOfLinks",
                "valueType": "ALPHANUMERIC",
                "value": "1",
                "characteristicRelationship": []
            },
            {
                "name": "isCeVlanCosPreservation",
                "valueType": "BOOLEAN",
                "value": "true",
                "characteristicRelationship": []
            },
            {
                "name": "isCeVlanIdPreservation",
                "valueType": "BOOLEAN",
                "value": "true",
                "characteristicRelationship": []
            },
            {
                "name": "macLayer",
                "valueType": "ALPHANUMERIC",
                "value": "IEEE 802.3-2005",
                "characteristicRelationship": []
            }
        ],
        "resourceSpecification": {
            "id": "UNI Connectivity",
            "href": "http://hostname:port/InventoryRSOpenAPI/specification/UNI%20Connectivity",
            "name": "UNI Connectivity",
            "version": "1",
            "entityType": "Pipe",
            "startDate": "2021-12-22T00:00:01.000Z",
            "endDate": "2038-01-19T08:44:07.000Z"
        },
        "connectivityIdentifier": "BAT01BANG_12.001 / BAT01BANG_HDFC1 BANGLORE IN / 1GigE / GE1 / 1",
        "technology": "Ethernet",
        "identificationFormat": "LOCATION_BASED",
        "aendLocation": {
            "id": "BAT01BANG_HDFC1 BANGLORE IN",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01BANG_HDFC1 BANGLORE IN",
            "name": "BAT01BANG_HDFC1 BANGLORE IN",
            "@referredType": "PropertyLocation"
        },
        "zendLocation": {
            "id": "BAT01BANG_12.001",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01BANG_12.001",
            "name": "BAT01BANG_12.001",
            "@referredType": "NetworkEntityCode"
        },
        "rateCode": "1GigE",
        "function": "GE1",
        "serialNumber": 1,
        "consumablePercent": 100,
        "bitRate": "1000 Mbps",
        "isServiceMultiplexing": false,
        "isBundling": false,
        "isAllToOneBundling": false,
        "isVlanBased": false,
        "maxPacketVirtualNetworkCount": 1,
        "connectivityDesign": {
            "connectivityDesignVersion": 1,
            "startDate": "2022-04-05T09:58:44.181Z",
            "status": "IN_PROGRESS",
            "asideTerminationPointId": "750004",
            "zsideTerminationPointId": "750003",
            "aendLocation": {
                "id": "BAT01BANG_HDFC1 BANGLORE IN",
                "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01BANG_HDFC1 BANGLORE IN",
                "name": "BAT01BANG_HDFC1 BANGLORE IN",
                "@referredType": "PropertyLocation"
            },
            "zendLocation": {
                "id": "BAT01BANG_12.001",
                "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01BANG_12.001",
                "name": "BAT01BANG_12.001",
                "@referredType": "NetworkEntityCode"
            },
            "zsideInterface": {
                "id": "20-1GigE-225008-1-1",
                "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-1GigE-225008-1-1",
                "@type": "DeviceInterface"
            },
            "zsideFlowIdentifiers": [
                {
                    "id": "28-FI_Domain#SP-VLAN#23",
                    "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/28-FI_Domain%23SP-VLAN%2323",
                    "@type": "FlowIdentifier"
                }
            ],
            "paths": [
                {
                    "label": "Path 1",
                    "segments": [
                        {
                            "segmentNumber": "1",
                            "isGap": true,
                            "gapAccepted": false
                        },
                        {
                            "segmentNumber": "2",
                            "asideInterface": {
                                "id": "20-1GigE-225005-1-1",
                                "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-1GigE-225005-1-1",
                                "@type": "DeviceInterface"
                            },
                            "segmentRef": {
                                "id": "31-750007",
                                "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/31-750007",
                                "@type": "Connectivity",
                                "connectivityIdentifier": "BAT01HYDB_12.001 / BAT01HYDB_HDFC2 HYDERABAD IN / 1GigE / GE1 / 1"
                            },
                            "zsideInterface": {
                                "id": "20-1GigE-225011-1-1",
                                "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-1GigE-225011-1-1",
                                "@type": "DeviceInterface"
                            }
                        },
                        {
                            "segmentNumber": "3",
                            "isGap": true,
                            "gapAccepted": false
                        }
                    ]
                }
            ]
        }
    }

Assign Pipe Segment for connectivity enablement in Connectivity Design Version

Example of Request Body

Merge patch:

{
        "@type": "Connectivity",
        "connectivityDesign": {
            "terminateAtFlowInterface":true,
             "paths": [
            {
                "label": "Path 1",
                "segments": [
                    {
                        "segmentNumber": "1",
                        "segmentRef": {
                            "id": "30-PipeDWDM-01",
                            "@type": "Pipe"
                        }
                    }
                ]
            }
        ]
        }

}

JSON patch:

[
    {
        "op": "add",
        "path": "/connectivityDesign",
        "value": {
            "paths": [
                {
                    "label": "Path 1",
                    "segments": [
                        {
                            "segmentNumber": "1",
                            "segmentRef": {
                                "id": "30-PipeDWDM-01",
                                "@type": "Pipe"
                            }
                        }
                    ]
                }
            ]
        }
    }
]

Example of Response Body

This example shows the contents of the response body in JSON format. It shows the connectivity details for a given ID after performing a patch.

{
    "id": "31-750002",
    "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/31-750002",
    "@type": "Connectivity",
    "@baseType": "LogicalResource",
    "resourceVersion": "1",
    "lifecycleState": "INSTALLED",
    "lifecycleSubState": "UNASSIGNED",
    "startOperatingDate": "2022-04-05T09:58:43.307Z",
    "endOperatingDate": "2038-01-19T08:44:07.000Z",
    "resourceRelationship": [],
    "resourceCharacteristic": [
        {
            "name": "uniType",
            "valueType": "ALPHANUMERIC",
            "value": "Type 1.1",
            "characteristicRelationship": []
        },
        {
            "name": "numberOfLinks",
            "valueType": "ALPHANUMERIC",
            "value": "1",
            "characteristicRelationship": []
        },
        {
            "name": "isCeVlanCosPreservation",
            "valueType": "BOOLEAN",
            "value": "true",
            "characteristicRelationship": []
        },
        {
            "name": "isCeVlanIdPreservation",
            "valueType": "BOOLEAN",
            "value": "true",
            "characteristicRelationship": []
        },
        {
            "name": "macLayer",
            "valueType": "ALPHANUMERIC",
            "value": "IEEE 802.3-2005",
            "characteristicRelationship": []
        }
    ],
    "resourceSpecification": {
        "id": "UNI Connectivity",
        "href": "http://hostname:port/InventoryRSOpenAPI/specification/UNI%20Connectivity",
        "name": "UNI Connectivity",
        "version": "1",
        "entityType": "Pipe",
        "startDate": "2021-12-22T00:00:01.000Z",
        "endDate": "2038-01-19T08:44:07.000Z"
    },
    "connectivityIdentifier": "BAT01BANG_12.001 / BAT01BANG_HDFC1 BANGLORE IN / 1GigE / GE1 / 1",
    "technology": "Ethernet",
    "identificationFormat": "LOCATION_BASED",
    "aendLocation": {
        "id": "BAT01BANG_HDFC1 BANGLORE IN",
        "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01BANG_HDFC1 BANGLORE IN",
        "name": "BAT01BANG_HDFC1 BANGLORE IN",
        "@referredType": "PropertyLocation"
    },
    "zendLocation": {
        "id": "BAT01BANG_12.001",
        "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01BANG_12.001",
        "name": "BAT01BANG_12.001",
        "@referredType": "NetworkEntityCode"
    },
    "rateCode": "1GigE",
    "function": "GE1",
    "serialNumber": 1,
    "consumablePercent": 100,
    "bitRate": "1000 Mbps",
    "isServiceMultiplexing": false,
    "isBundling": false,
    "isAllToOneBundling": false,
    "isVlanBased": false,
    "maxPacketVirtualNetworkCount": 1,
    "connectivityDesign": {
        "connectivityDesignVersion": 1,
        "startDate": "2022-04-05T09:58:44.181Z",
        "status": "IN_PROGRESS",
        "asideTerminationPointId": "750004",
        "zsideTerminationPointId": "750003",
        "aendLocation": {
            "id": "BAT01BANG_HDFC1 BANGLORE IN",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01BANG_HDFC1 BANGLORE IN",
            "name": "BAT01BANG_HDFC1 BANGLORE IN",
            "@referredType": "PropertyLocation"
        },
        "zendLocation": {
            "id": "BAT01BANG_12.001",
            "href": "http://hostname:port/InventoryRSOpenAPI/place/BAT01BANG_12.001",
            "name": "BAT01BANG_12.001",
            "@referredType": "NetworkEntityCode"
        },
        "zsideInterface": {
            "id": "20-1GigE-225008-1-1",
            "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-1GigE-225008-1-1",
            "@type": "DeviceInterface"
        },
        "zsideFlowIdentifiers": [
            {
                "id": "28-FI_Domain#SP-VLAN#23",
                "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/28-FI_Domain%23SP-VLAN%2323",
                "@type": "FlowIdentifier"
            }
        ],
        "paths": [
            {
                "label": "Path 1",
                "segments": [
                    {
                        "segmentNumber": "1",
                        "isGap": true,
                        "gapAccepted": false
                    },
                    {
                        "segmentNumber": "2",
                        "segmentRef": {
                            "id": "30-PipeDWDM-01",
                            "href": "http://hostname:port/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/30-PipeDWDM-01",
                            "@type": "Pipe"
                        }
                    },
                    {
                        "segmentNumber": "3",
                        "isGap": true,
                        "gapAccepted": false
                    }
                ]
            }
        ]
    }
}

Accept Gap to enable connectivity in Connectivity Design Version

Example of Request Body

Merge patch:

{
    "@type": "Connectivity",
    "connectivityDesign": {
        "paths": [
            {
                "label": "Path 1",
                "segments": [
                    {
                        "segmentNumber": "1",
                        "isGap": true,
                        "gapAccepted": true
                    }
                ]
            }
        ]
    }
}

JSON patch:

[
    {
        "op": "add",
        "path": "/connectivityDesign",
        "value": {
            "paths": [
                {
                    "label": "Path 1",
                    "segments": [
                        {
                            "segmentNumber": "1",
                            "isGap": true,
                            "gapAccepted": true
                        }
                    ]
                }
            ]
        }
    }
]

Example of Response Body

This example shows the contents of the response body in JSON format. It shows the connectivity details for a given ID after performing a patch.

{
    "id": "31-225007",
    "href": "http://localhost:7001/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/31-225007",
    "@type": "Connectivity",
    "@baseType": "LogicalResource",
    "resourceVersion": "1",
    "lifecycleState": "INSTALLED",
    "lifecycleSubState": "UNASSIGNED",
    "startOperatingDate": "2022-02-18T14:35:51.152Z",
    "endOperatingDate": "2038-01-19T08:44:07.000Z",
    "resourceRelationship": [],
    "resourceCharacteristic": [],
    "resourceSpecification": {
        "id": "Channelized Facility",
        "href": "http://localhost:7001/InventoryRSOpenAPI/specification/Channelized%20Facility",
        "name": "Channelized Facility",
        "version": "1",
        "entityType": "Pipe",
        "startDate": "2021-12-22T00:00:01.000Z",
        "endDate": "2038-01-19T08:44:07.000Z"
    },
    "transmissionSignalType": "OPTICAL",
    "connectivityIdentifier": "DEL.D1 / MUMB.M1 / STM4 / SM04 / 1",
    "technology": "SDH",
    "identificationFormat": "LOCATION_BASED",
    "aendLocation": {
        "id": "DEL.D1",
        "href": "http://localhost:7001/InventoryRSOpenAPI/place/DEL.D1",
        "name": "DEL.D1",
        "@referredType": "NetworkEntityCode"
    },
    "zendLocation": {
        "id": "MUMB.M1",
        "href": "http://localhost:7001/InventoryRSOpenAPI/place/MUMB.M1",
        "name": "MUMB.M1",
        "@referredType": "NetworkEntityCode"
    },
    "rateCode": "STM4",
    "function": "SM04",
    "serialNumber": 1,
    "bitRate": "622.08 Mbps",
    "connectivityDesign": {
        "connectivityDesignVersion": 1,
        "startDate": "2022-02-18T14:35:51.548Z",
        "status": "IN_PROGRESS",
        "asideTerminationPointId": "225013",
        "zsideTerminationPointId": "225014",
        "aendLocation": {
            "id": "DEL.D1",
            "href": "http://localhost:7001/InventoryRSOpenAPI/place/DEL.D1",
            "name": "DEL.D1",
            "@referredType": "NetworkEntityCode"
        },
        "zendLocation": {
            "id": "MUMB.M1",
            "href": "http://localhost:7001/InventoryRSOpenAPI/place/MUMB.M1",
            "name": "MUMB.M1",
            "@referredType": "NetworkEntityCode"
        },
        "asideInterface": {
            "id": "20-STM4-1-1",
            "href": "http://localhost:7001/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-STM4-1-1",
            "@type": "DeviceInterface"
        },
        "zsideInterface": {
            "id": "20-STM4-25-1",
            "href": "http://localhost:7001/InventoryRSOpenAPI/resourceInventoryManagement/v3/resource/20-STM4-25-1",
            "@type": "DeviceInterface"
        },
        "paths": [
            {
                "label": "Path 1",
                "segments": [
                    {
                        "segmentNumber": "1",
                        "isGap": true,
                        "gapAccepted": true
                    }
                ]
            }
        ]
    }
}
Back to Top