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

Redeploy Object

Redeploy Object

Use the POST method to redeploy an object in RulePoint.

POST Request in JSON Format

Generate a POST request. For example, the following POST request redeploys an object in a RulePoint application:
POST http://localhost:8080/rulepoint/api/projects/1/redeploy 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. 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 redeploys an object in a RulePoint application:
POST http://localhost:8080/rulepoint/api/projects/1/redeploy 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. Returns the error object if an error occurs.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <deploymentResult> <dpId>56a26fac-eabc-4a63-9184-139cdf7e55ec</dpId> <successful>true</successful> <txnId>-2040743049</txnId> </deploymentResult>
Response Code: 200 OK

0 COMMENTS

We’d like to hear from you!