209d067d by Michael B. Mathews

Updated SLAM SurveyAPI

1 parent 3fb6b6b3
......@@ -93,10 +93,10 @@
</elem>
<elem name="email" multiplicity ="1" type="string" >
<comment>Contact email addres. Default is empty.</comment>
<comment>Contact email address.</comment>
</elem>
<elem name="phone" multiplicity ="1" type="string" >
<comment>Contact phone number. Default is empty.</comment>
<comment>Contact phone number.</comment>
</elem>
</struct>
......@@ -107,22 +107,22 @@
-->
<struct name="AddressInfo">
<elem name="address1" multiplicity ="1" type="string">
<comment>First line street address. Default is empty.</comment>
<comment>First line street address.</comment>
</elem>
<elem name="address2" multiplicity ="1" type="string">
<comment>Second line street address. Default is empty.</comment>
<elem name="address2" multiplicity ="0..1" type="string">
<comment>Second line street address.</comment>
</elem>
<elem name="City" multiplicity ="1" type="string">
<comment>Name of City. Default is empty.</comment>
<comment>Name of City.</comment>
</elem>
<elem name="StateRegion" multiplicity ="1" type="string">
<comment>State or region. Two character state definitions ok for U.S. addresses. Default is empty.</comment>
</elem>
<elem name="PostalCode" multiplicity ="1" type="string">
<comment>Postal code or zip code. Default is empty.</comment>
<comment>Postal code or zip code.</comment>
</elem>
<elem name="Country" multiplicity ="1" type="string">
<comment>Name of the country. Default is empty.</comment>
<comment>Name of the country.</comment>
</elem>
</struct>
......
......@@ -25,23 +25,23 @@
<using namespace="HPE"/>
<using namespace="Tensor"/>
<!--
*******************************************************
Survey Submission API
*******************************************************
-->
<interface name="Survey">
<comment>Interface for submitting data to ILP. </comment>
<comment>Interface for submitting SLAM compliant survey data.</comment>
<operation name="Submit">
<comment>
Interaction submits Survey data.
Interaction submits survey data and outputs submission result and UUID.
</comment>
<input name="input" type="ILP.InputBase" sid="0x1030">
<elem name="survey" multiplicity="1" type="SurveyData"></elem>
</input>
<output name="output" type="ILP.OutputBase" sid="0x1031">
<comment>Survey submission output returns status and UUID of the submitted survey.</comment>
<elem name="id" multiplicity="1" type="Tensor.UUID"/>
</output>
</operation>
......@@ -49,10 +49,16 @@
<operation name="Download">
<comment>Downloads survey data given id.</comment>
<input name="input" type="ILP.InputBase" sid="0x1032">
<elem name="id" multiplicity="1" type="Tensor.UUID"/>
<elem name="id" multiplicity="1" type="Tensor.UUID">
<comment>UUID of Survey set.</comment>
</elem>
<elem name="part" multiplicity="1" type="Tensor.int32" default="-1">
<comment>Survey part id of interest. Default value is -1, which will return </comment>
</elem>
</input>
<output name="output" type="ILP.OutputBase" sid="0x1033">
<elem name="survey" multiplicity="1" type="SurveyData"></elem>
<comment>Survey download output data structure contains a zero or more surveys.</comment>
<elem name="surveys" multiplicity="0..*" type="SurveyData"></elem>
</output>
</operation>
</interface>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!