Vco Inventory Associate Existing Edge

Vco Inventory Associate Existing Edge

Associate existing logical Edge which doesn't have associated inventory Edge with inventory Edge which doesn't have associated logical Edge

Privileges required:

UPDATE INVENTORY

Request
URI
POST
https://{api_host}/portal/rest/vcoInventory/associateExistingEdge
COPY
Request Body

Show optional properties

{
    "edgeId": 0,
    "inventoryEdgeId": 0
}
{
    "enterpriseId": 0,
    "enterpriseProxyId": 0,
    "edgeId": 0,
    "inventoryEdgeId": 0
}
integer
enterpriseId
Optional

enterpriseId

integer
enterpriseProxyId
Optional

enterpriseProxyId

integer
edgeId
Required

edgeId

integer
inventoryEdgeId
Required

inventoryEdgeId

Responses
200

Request was successfully processed

{
    "success": false
}
boolean
success
Optional

success


400

Invalid Request: Please check your request schema

Returns generic_400 of type(s) application/json
{
    "error": {
        "code": -32600,
        "message": "An error occurred while processing your request",
        "data": {
            "valid": false,
            "error": [
                {
                    "code": "string",
                    "message": "string",
                    "path": "string"
                }
            ],
            "warning": [
                {
                    "code": "string",
                    "message": "string",
                    "path": "string"
                }
            ]
        }
    }
}

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"edgeId:"integer","inventoryEdgeId:"integer"}' https://{api_host}/portal/rest/vcoInventory/associateExistingEdge