Vco Inventory Associate Edges

Vco Inventory Associate Edges

Associate Edge inventory from Maestro with Enterprise or MSP's Enterprise.

Privileges required:

CREATE EDGE

CREATE INVENTORY

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

Show optional properties

{
    "edges": [
        {
            "serialNumber": "string",
            "licenseId": "number",
            "configurationId": "number"
        }
    ]
}
{
    "enterpriseProxyId": 0,
    "enterpriseId": 0,
    "edges": [
        {
            "serialNumber": "string",
            "licenseId": "number",
            "configurationId": "number"
        }
    ]
}
integer
enterpriseProxyId
Optional

enterpriseProxyId

integer
enterpriseId
Optional

enterpriseId

array of object
edges
Required

edges

Responses
200

Request was successfully processed

{
    "success": false,
    "updatedEdges": [
        "string"
    ],
    "failedToUpdateEdges": [
        "string"
    ]
}
boolean
success
Optional

success

array of string
updatedEdges
Optional

updatedEdges

array of string
failedToUpdateEdges
Optional

failedToUpdateEdges


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 '{"edges:"array"}' https://{api_host}/portal/rest/vcoInventory/associateEdges