Delete Data Definition

DELETE /ws/rest/service/v1/ds/data-def

Version: 20.11

Purpose:

Deletes data definition

Input:

All parameters should be URL encoded.

Both input & output in JSON format in the body

options: user has to specify the type of data definition, i.e Basic, Cost Codes, Data Picker.

Note: Type is case insensitive.

Delete Data Definition Input JSON

{

"options":{

"type": "Basic"

},

"data":{

"data_definitions": ["simple DD1", "simple DD2"]

}

}

Output:

JSON object containing 'status', 'data', 'message'

Delete Data Definition Output JSON

{

"data": [],

"message": [

{ data_definition: "Simple DD1","status": "1531","message":"You can not delete deployed definitions."} ,

{ data_definition: "Simple DD2","status": "200","message":"success"}

],

"status": 3000

}

Status codes are:

1> 200, for success

2> 3000, for partial delete

3> 1531, for cannot delete data definition.

4> 1532, for data definition does not exists.

5> 3002, for invalid JSON input.



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022