Vco Inventory Get Pending Inventory

Vco Inventory Get Pending Inventory

Get pending Edge inventory from Maestro using Partner or Enterprise ID. The inventory is stored in DB with new state

Privileges required:

READ INVENTORY

Request
URI
POST
https://{api_host}/portal/rest/vcoInventory/getPendingInventory
COPY
Request Body
{
    "enterpriseProxyId": 0,
    "enterpriseId": 0,
    "serialNumber": "string"
}
integer
enterpriseProxyId
Optional

enterpriseProxyId

integer
enterpriseId
Optional

enterpriseId

string
serialNumber
Optional

serialNumber

Responses
200

Request was successfully processed

Returns Array of object of type(s) application/json
[
    {
        "id": "number",
        "serialNumber": "string",
        "inventoryStatus": "string",
        "inventoryEdgeStatus": "string",
        "created": "string",
        "modified": "string",
        "model": "string"
    }
]

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 '{}' https://{api_host}/portal/rest/vcoInventory/getPendingInventory