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.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on May 16, 2017, at 00:20.