Edge Data Streaming
- Edge Data Streaming 2.5.0
- All Products
POST /api/dataflows/{dataflow-id}/transforms/{transform-entity-id} Content-Type: application/json Accept: application/json x-http-method-override: PUT
{ "name": "TestInsertTransformChanged", "type": "TRANSFORM", "pluginId": "_VDS_TRX_INSERT_STR", "runMode": "WITH_NEXT", "config": { "stringExpression": "#HOSTNAME#DATA#TIMESTAMP" }, "stats": [ {"name": "Events Received", "value": 10301, "type": 102}, {"name": "Bytes Received", "value": 10300, "type": 102 }, {"name": "Events Generated", "value": 10303, "type": 102 }, {"name": "Bytes Sent", "value": 10302, "type": 102 }, {"name": "Time Taken for Transformation (Milli Sec)", "value": 10304, "type": 102} ] }
{ "id": {transform-entity-id}, "name": "TestInsertTransformChanged", "type": "TRANSFORM", "pluginId": "_VDS_TRX_INSERT_STR", "runMode": "WITH_NEXT", "self": { "rel": "self", "href": "api/dataflows/{dataflow-id}/transforms/{transform-entity-id}", "title": "TestInsertTransformChanged", "id": {transform-entity-id} }, "dataflow": { "rel": "dataflow", "href": "api/dataflows/{dataflow-id}", "title": "TestDataflow", "id": {dataflow-id} }, "success": true, "valid": true, "createDate": "2015-07-07T15:38:48+05:30", "createdBy": "Administrator", "predefined": false, "deployable": true, "deploymentState": "DRAFT", "force": false, "schedulable": false, "config": { "stringExpression": "#HOSTNAME#DATA#TIMESTAMP" }, "stats": [ {"name": "Events Received", "value": 10301, "type": 102}, {"name": "Bytes Received", "value": 10300, "type": 102 }, {"name": "Events Generated", "value": 10303, "type": 102 }, {"name": "Bytes Sent", "value": 10302, "type": 102 }, {"name": "Time Taken for Transformation (Milli Sec)", "value": 10304, "type": 102} ] }
{ "success": false, "errors": [ { "code": DATAFLOW_NOT_FOUND, "parameters": [{dataflow-id}], "errorMessage": "Dataflow with Id: {dataflow-id} not found" } ] }
{ "success": false, "errors": [ { "code": TRANSFORM_ENTITY_NOT_FOUND, "parameters": [{transform-entity-id}], "errorMessage": "Transform Entity with Id: {transform-entity-id} not found" } ] }
{ "success": false, "errors": [ { "code": NAME_FIELD_MISSING, "parameters": null, "errorMessage": "'name' field is missing in request" } ] }
{ "success": false, "errors": [ { "code": INTERNAL_SERVER_ERROR, "parameters": [{error-message}], "errorMessage": "Failed to update transform. Exception: {error-message}" } ] }