POST /ws/rest/service/v1/ds/ddsdata
Version: 20.10
Purpose:
To create data set for a given Dynamic Data Set
Input:
All parameters should be URL encoded.
Both input & output in JSON format in the body
Create DDS Data input JSON
{ "data": {
"dds_name": "mydds",
"data_set": [{
"masterDE":"value2",
"value_set": {
"valueDE1": "value1",
"valueDE2": "value2"
},
"behavior_set": {
"behavede1": "disabled"
}
},
{ "masterDE":"value1",
"value_set": {
"valueDE1": "value1",
"valueDE2": "value3"
},
"behavior_set": {
"behavede1": "Required"
}
}
]
}
}
Input JSON field description:
- Required Fields:
- dds_name(Required): specify the dynamic data set for which the data needs to be created
- value set(Required if configured): specify the values for the DEs defined as value
- Non Required Fields:
- behavior set(required if configured): specify the value for the DEs defined as behavior
Output:
JSON object containing 'status', 'data', 'message'
Create DDS data output JSON
{
"data": {
"dds_name": "mydds",
"data_set": [{
"id": 710,
"masterDE":"value1",
"value_set": {
"dename1": "value",
"dename2": "value"
},
"behavior_set": {
"dename3": "disabled"
}
},
{
"id": 711,
"masterDE":"value2",
"value_set": {
"dename1": "value",
"dename2": "value"
},
"behavior_set": {
"dename3": "disabled"
}
}
]
},
"message": "success" ,
"status": 200
}
Status codes are:
1> 200 , for success
2> 3002, for invalid JSON input
3> 1101, for Empty or Invalid JSON data