webMethods, OneData, and Terracotta  10.2 | Managing Master Data with webMethods OneData | Developing for webMethods OneData | REST Web Services | REST URL Parameters | objectNamePrefixedInXSD
 
objectNamePrefixedInXSD
Overrides the default global setting configured in onedata.webservice.rest.objectNamePrefixedInXSD.
For details of the global configuration properties, see Administering webMethods OneData.
Format of the XML request:
http://[hostname]:<port>/<context>/rest/<repository>/<project>/<DO/CO/RO>/<object name>
? objectNamePrefixedInXSD=0
Possible values are:
*0. Generates XSDs and handles REST XMLs (GET and POST operations) without a prefix to the column names. This enables backward compatibility with objects created in OneData versions 9.7.x and earlier.
Example of the XML request:
http://vmrxrx03.knx.ad.ss:9898/onedata/rest/Crisis23/Standard%20Project/DO/TestObj1
?objectNamePrefixedInXSD=0
Example of the XML response:
<TestObj1_XML>
<datarow>
<Col1>1</Col1>
<COL2>A1</COL2>
<COL3>Yes</COL3>
<COL4>2015-01-21</COL4>
</datarow>
</TestObj1_XML>
*1. Prefixes the XML Element Name defined for an object to the column names in XSDs and REST GET output generated, and expects the prefix in the REST POST input, by default. If you do not define an XML Element Name for an object, OneData uses the physical table name as the column name prefix.
*Example of the XML response:
http://vmrxrx03.knx.ad.ss:9898/onedata/rest/Crisis23/Standard%20Project/DO/TestObj1
?objectNamePrefixedInXSD=1
Example of the XML response:
<TestObj1_XML>
<datarow>
<TestObj1_XML.Col1>1</TestObj1_XML.Col1>
<TestObj1_XML.COL2>A1</TestObj1_XML.COL2>
<TestObj1_XML.COL3>Yes</TestObj1_XML.COL3>
<TestObj1_XML.COL4>2015-01-21</TestObj1_XML.COL4>
</datarow>
</TestObj1_XML>

Copyright © 2011-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release