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
}
integer
enterpriseProxyId
Optional

enterpriseProxyId

integer
enterpriseId
Optional

enterpriseId

Responses
200

Request was successfully processed

Returns Array of object of type(s) application/json
[
    {
        "id": "number",
        "serialNumber": "string",
        "edgeMappingId": "number",
        "owner": "string",
        "inventoryStatus": "string",
        "inventoryEdgeStatus": "string",
        "vcoId": "string",
        "enterpriseId": "string",
        "enterpriseProxyId": "string",
        "token": {
            "hmac": "string",
            "logicalId": "string"
        },
        "created": "string",
        "modified": "string",
        "model": "string"
    }
]

400
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"
                }
            ]
        }
    }
}
object
error
Required

error


500
Returns generic_500 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"
                }
            ]
        }
    }
}
object
error
Required

error