Vco Inventory Delete Rma Inventory Items

Vco Inventory Delete Rma Inventory Items

Delete RMAed inventory Edges if they have correct states

Privileges required:

DELETE INVENTORY

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

Show optional properties

{
    "serialNumbers": [
        {}
    ]
}
{
    "enterpriseId": "number",
    "enterpriseProxyId": "number",
    "serialNumbers": [
        "string"
    ],
    "force": false
}
number
enterpriseId
Optional

enterpriseId

number
enterpriseProxyId
Optional

enterpriseProxyId

array of string
serialNumbers
Required

serialNumbers

boolean
force
Optional

force

Responses
200

Request was successfully processed

{
    "rows": "number"
}
number
rows
Required

rows


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