Example - Refreshing a Document by Using a Query with a Search Pattern

The request body of the PUT call provides a query that specifies which values should be returned according to a pattern. It does not specify any answer value.

Request body (JSON):

{"parameters":{
    "parameter":{ 
        "id": "1",
        "answer":{
            "info":{
                "lov":{
                    "query":{"search":"20*11??"}
                    }
                }
            }
        }
    }
}

Response (JSON):

{"parameters":{
    "parameter":[
        {...},
        {"@optional":"false",
         "@type":"prompt",
         "@dpId":"DP0",
         "id":1,
         "technicalName":"Enter value(s)",
         "name":"Enter value(s)",
         "answer":{
             "@constrained":"false",
             "@type":"Numeric",
             "info":{
                 "@cardinality":"Multiple",
                 "lov":{
                     "@hierarchical":"false",
                     "@partial":"false",
                     "@refreshable":"false",
                     "@searchable":"true",
                     "@mandatorySearch":"true",
                     "id":"UNIVERSELOV_DS0.DO3",
                     "updated":"2014-12-24T12:51:26.000+01:00",
                     "intervals":{
                         "interval":[
                             {"@id":"0","value":[20121123,20051120]},
                             {"@id":"1","value":[20051121,20071110]},
                             {"@id":"2","value":[20071111,20081130]},
                             {"@id":"3","value":[20111117,20101129]},
                             {"@id":"4","value":[20101130,20091102]}]
                     },
                     "values":{
                         "value":[20121123,20121124,20121125,20121126,20121127,20121128,20121129,
                                  20121130,20121101,20121102,20121103,20121104,20121105,20121106,
                                  20121107,20121108,20121109,20121110,20121111,20121112,20121113,
                                  20121114,20121115,20121116,20121117,20121118,20121119,20121120,
                                  20121121,20121122,20051101,20051102,20051103,20051104,20051105,
                                  20051106,20051107,20051108,20051109,20051110,20051111,20051112,
                                  20051113,20051114,20051115,20051116,20051117,20051118,20051119,
                                  20051120]
                         },
                     "columns":{
                         "@mappingId":"0",
                         "column":{
                             "@id":"0",
                             "@type":"Numeric",
                             "$":"Time Key"
                         }
                     }
                },
                "previous":{
                    "value":20050101}
             },
         "values":{
             "value":20050101}
             }
        }]
    }
}