Jump to: navigation, search

Validate Rule

Method

GET

Syntax

 
/grs/v1/tenant/{tenantId}/package/{packageId}/validaterule/{ruleId}

Request Body

N/A

Response Body

 
{
"message": "Validation Failed",
  "errors": [
    {
      "message": "Validation error 1"
    },
    {
      "message": "Validation error 2"
    }
  ]
}

HTTP Status Codes

  • 204 No content—Rule validates successfully
  • 401 Unauthorized—APIToken not valid
  • 403 Forbidden—User does not have permission for the specified tenant ID, or does not have proper permission to perform this operation.
  • 404 Not Found—could not find specified rule ID.
  • 422 Unprocessable Entity—Rule does not validate
 
{
"message": "Validation Failed",
  "errors": [
    {
      "message": "Validation error 1"
    },
    {
      "message": "Validation error 2"
    }
  ]
}
  • 503—Service Unavailable

Notes

User must have RULE_VIEW permission.

This page was last edited on May 16, 2017, at 08:20.
Comments or questions about this documentation? Contact us for support!