Table of Contents

Search

  1. Preface
  2. RulePoint Interfaces
  3. RulePoint Services
  4. Custom Service API
  5. Java Adapter for REST API
  6. RulePoint REST API
  7. Sample XML and JSON Requests and Responses
  8. RulePoint Pluggable Authentication Module
  9. HTTP Request and Response Attributes

Developer Guide

Developer Guide

Undeploy Object

Undeploy Object

Use the POST method to undeploy an object in RulePoint.

POST Request in JSON Format

Generate a POST request. For example, the following POST request undeploys an object in a RulePoint application:
POST http://localhost:8080/rulepoint/api/projects/1/undeploy Content-Type: application/json Accept: application/json Cookie: JSESSIONID=<VALID_SESSION_ID>

POST Body in JSON Format

[ "d4dbfd17-4053-446c-83b8-dda9dc3f48c6" ]

POST Response in JSON Format

Returns the object and response code 200 OK. Returns the error object if an error occurs.
{ "successful": true, "txnId": 1353518029, "dpId": "ddd81f2d-9cf1-404e-9185-c34425726799" }
Response Code: 200 OK

POST Request in XML Format

Generate a POST request. For example, the following POST request undeploys an object in a RulePoint application:
POST http://localhost:8080/rulepoint/api/projects/1/undeploy Content-Type: application/xml Accept: application/xml Cookie: JSESSIONID=<VALID_SESSION_ID>

POST Body in XML Format

<stringList> <list>1fbafd49-d01e-44aa-9bdf-cc95fe2b4383</list> </stringList>

POST Body in XML Format

Returns the object and response code 200 OK. Returns the error object if an error occurs.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <deploymentResult> <dpId>09294cb1-97c8-413f-855d-f5531950b36c</dpId> <successful>true</successful> <txnId>-603283379</txnId> </deploymentResult>
Response Code: 200 OK

0 COMMENTS

We’d like to hear from you!