Create compilation status for groovy script

post

/iam/governance/applicationmanagement/api/v1/applications/groovyscriptstatus

Test groovy script validity

Request

Supported Media Types
Body ()
Groovy Script
Root Schema : schema
Type: string
Back to Top

Response

Default Response

successful operation
Back to Top

Examples

This example demonstrates the ability for validating a sample groovy script. The information shown here is against a pseudo system and serves as a prototype.

cURL Example

curl  -H "Content-Type: application/json"  -H "X-Requested-By: <anyvalue>"  -X POST  -u username:password  -d @post.json https://pseudo.com/iam/governance/applicationmanagement/api/v1/applications/groovyscriptstatus	

Example of POST Request Body

The following example shows the contents of the request body in JSON format.

if(Organization == null || Organization == "") {
	Organization = "Server Technology"; 	
}
User_Id = User_Id.toString()+"@mydomain.com";
          

Example of POST Response Body

The following example shows the contents of the response body.

Script Compilation Successful
Back to Top