<?xml version="1.0" encoding="UTF-8"?>
<convert>
   <description>

Convert database entries to dbc script or sql statements  

</description>

   <sampleurls>
      <url source="OS" value="http://localhost:7001/maximo/oslc/convert?source=OS&amp;name=MXPO&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="PH" value="http://localhost:7001/maximo/oslc/convert?source=PH&amp;name=MXPOInterface&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;extsystem=EXTSYS1&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="ES" value="http://localhost:7001/maximo/oslc/convert?source=ES&amp;name=MXPOInterface&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;extsystem=EXTSYS1&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="EX" value="http://localhost:7001/maximo/oslc/convert?source=EX&amp;name=EXTSYS1&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="WS" value="http://localhost:7001/maximo/oslc/convert?source=WS&amp;name=MXPO&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="EP" value="http://localhost:7001/maximo/oslc/convert?source=EP&amp;name=MXXMLFILE&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="INT" value="http://localhost:7001/maximo/oslc/convert?source=INT&amp;name=INTNAME&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;addheader=0&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="TABLE" value="http://localhost:7001/maximo/oslc/convert?source=TABLE&amp;name=PO&amp;where=ponum='1000'&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="BYOS" value="http://localhost:7001/maximo/oslc/convert?source=BYOS&amp;name=MXPO&amp;where=ponum='1000'&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="JSONRES" value="http://localhost:7001/maximo/oslc/convert?source=JSONRES&amp;name=FORECAST&amp;filename=myname.dbc&amp;skiplangcode=1&amp;addresourcetype=1&amp;adddelete=1&amp;_lpwd=wilson&amp;_lid=wilson"/>
      <url source="OSLCJSON" value="http://localhost:7001/maximo/oslc/convert?source=OSLCRES&amp;name=JSONRES&amp;filename=myname.dbc&amp;skiplangcode=1&amp;adddelete=1&amp;_lpwd=wilson&amp;_lid=wilson"/>
   </sampleurls>

   <args>
      <arg name="source" hasValue="true" description="represents source. Valid values are" required="true">
		<source name="OS" hasValue="true" description="Object Structure"/>
		<source name="PH" hasValue="true" description="Publish Channel"/>
		<source name="ES" hasValue="true" description="Enterprise Service"/>
		<source name="IC" hasValue="true" description="Invocation Channel"/>
		<source name="WS" hasValue="true" description="Web Service Registry"/>
		<source name="EP" hasValue="true" description="End Point"/>
		<source name="EX" hasValue="true" description="External System"/>
		<source name="TABLE" hasValue="true" description="Table"/>
		<source name="BYOS" hasValue="true" description="All objects for the Object Structure (have to have same where clause)"/>
		<source name="INT" hasValue="true" description="Web Service Interaction (included all generated artifacts)"/>
		<source name="JSONRES" hasValue="true" description="JSON resource"/>
		<source name="OSLCRES" hasValue="true" description="OSLC resource"/>
	  </arg>
      <arg name="name" hasValue="true" description="Represents name (os name, es name, interaction name, table name ...). For multiple names use , separation" required="true"/>
      <arg name="filename" hasValue="true" description="Represents file name. Must end with .ora, .sqs, .db2, .sql, .dbc. For dbc scripts use .dbc" required="true"/>
      <arg name="where" hasValue="true" description="Represents where clause (for TABLE and BYOS source)" required="false"/>
      <arg name="extsystem" hasValue="true" description="Represents external system name (for ES and PH)." required="false"/>
	  <arg name="addheader" hasValue="true" description="represents use header. Do you want to create sigoption header. If multiple interaction for one application. Header need to be created only once" required="false"/>
	  <arg name="adddelete" hasValue="true" description="Represents if delete statement need to be added before insert." required="true"/>
	  <arg name="skiplangcode" hasValue="true" description="Represents if langcode need to be skipped (if language is not based we cannot use langcode='EN')" required="true"/>
	  <arg name="addresourcetype" hasValue="true" description="Represents if resource type need to be added" required="true"/>
   </args>
   
</convert>
