Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Set parameters via REST interface

0 Kudos
104
  • SAP Managed Tags:

I'm not succeeding in updating document parameters using REST API; here is what I'm using:

PUT .../raylight/v1/documents/33903/parameters/3 with payload:

{
"parameters":{
"parameter": {
"id": 3,
"answer": {
"values": {
"value": [
"2019/9"
]
}
}
}
}
}

The returned answer is instead:

{
"parameter": {
"@optional": "false",
"@type": "prompt",
...
"id": 3,
...
"answer": {
...
"info": {
...
"previous": {
"value": [
"2015\/12"
]
}
},
"values": {
"value": [
"2015\/12"
]
}
}
}
}

How can I properly set new prompt parameters?

0 REPLIES 0