chelnak
5/4/2017 - 10:53 AM

o11n-gateway-service API execute action example

o11n-gateway-service API execute action example

$Body = @"
{
    "entries":  [
        {
            "key":  "name",
            "value": {
                "type":  "string",
                "value":  "craig"
            }
        }
    ]
}
"@

$TenantId = "Tenant01"
$CategoryName = "test"
$ActionName = "testAction"
$URI = "/o11n-gateway-service/api/tenants/$($TenantId)/actions/$($CategoryName)/$($ActionName)/execute"

Invoke-vRARestMethod -Method POST -URI $URI -Body $Body