RulePoint
- RulePoint 6.1.2
- All Products
PUT http://localhost:8080/rulepoint/api/projects/3/topics/4ee98dba-9043-4c1a-b088-226bf705146f Accept: application/json Content-Type: application/json Cookie: JSESSIONID=<VALID SESSION ID>
{ "name": "StockTopic", "description": "Test Topic", "expiresIn": 30000, "responderAccess": "ALL_PROPERTIES" }
{ "id": "4ee98dba-9043-4c1a-b088-226bf705146f", "name": "StockTopic", "valid": true, "self": { "rel": "self", "href": "api/projects/3/topics/4ee98dba-9043-4c1a-b088-226bf705146f", "title": "StockTopic", "id": "4ee98dba-9043-4c1a-b088-226bf705146f" }, "actions": [ { "rel": "update", "href": "api/projects/3/topics/4ee98dba-9043-4c1a-b088-226bf705146f", "type": "PUT", "title": "Edit" }, { "rel": "delete", "href": "api/projects/3/topics/4ee98dba-9043-4c1a-b088-226bf705146f", "type": "DELETE", "title": "Delete" } ], "acl": { "rel": "acl", "href": "api/projects/3/topics/4ee98dba-9043-4c1a-b088-226bf705146f/acl", "title": "acl" }, "links": {}, "owningProject": { "rel": "owningProject", "href": "api/projects/3", "title": "TestProject1", "id": "3" }, "description": "Test Topic", "type": "topics", "lastModifiedDate": "2013-07-30T06:39:22+05:30", "createDate": "2013-07-30T06:39:22+05:30", "createdBy": "Administrator", "predefined": false, "deployable": true, "deployState": "DRAFT", "force": false, "expiresIn": 30000, "responderAccess": "ALL_PROPERTIES", "properties": [], "rules": [], "responders": [], "templates": [] }
PUT http://localhost:8080/rulepoint/api/projects/98315/topics/4a4d8f29-be34-49eb-af22-a8cd7fdda085 Accept: application/xml Content-Type: application/xml Cookie: JSESSIONID=<VALID SESSION ID>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <topic> <name>StockTopic</name> <description>Sql Test Topic</description> <expiresIn>30000</expiresIn> <responderAccess>ALL_PROPERTIES</responderAccess> </topic>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <topic> <acl> <href>api/projects/98315/topics/4a4d8f29-be34-49eb-af22-a8cd7fdda085/acl</href> <rel>acl</rel> <title>acl</title> </acl> <actions> <action> <href>api/projects/98315/topics/4a4d8f29-be34-49eb-af22-a8cd7fdda085</href> <rel>update</rel> <title>Edit</title> <type>PUT</type> </action> <action> <href>api/projects/98315/topics/4a4d8f29-be34-49eb-af22-a8cd7fdda085</href> <rel>delete</rel> <title>Delete</title> <type>DELETE</type> </action> </actions> <id>4a4d8f29-be34-49eb-af22-a8cd7fdda085</id> <links/> <name>StockTopic</name> <owningProject> <href>api/projects/98315</href> <id>98315</id> <rel>owningProject</rel> <title>RT_TestProject1</title> </owningProject> <self> <href>api/projects/98315/topics/4a4d8f29-be34-49eb-af22-a8cd7fdda085</href> <id>4a4d8f29-be34-49eb-af22-a8cd7fdda085</id> <rel>self</rel> <title>StockTopic</title> </self> <valid>true</valid> <createDate/> <createdBy>Administrator</createdBy> <deployState>DRAFT</deployState> <deployable>true</deployable> <description>Sql Test Topic</description> <force>false</force> <lastModifiedDate/> <predefined>false</predefined> <type>topics</type> <expiresIn>0</expiresIn> <responderAccess>ALL_PROPERTIES</responderAccess> </topic>