4 工程观测
<h5>请求URL</h5>
<ul>
<li><code>http://IP:端口号/staticData/observationSave</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<p>功能描述 工程观测_上传</p>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>位置</th>
<th>类型</th>
<th>必选</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>header</td>
<td>string</td>
<td>否</td>
<td>none</td>
</tr>
<tr>
<td>body</td>
<td>body</td>
<td><a href="#schemadestaticengineeringobservation">DeStaticEngineeringObservation</a></td>
<td>否</td>
<td>none</td>
</tr>
</tbody>
</table>
<h3>返回结果</h3>
<table>
<thead>
<tr>
<th>状态码</th>
<th>状态码含义</th>
<th>说明</th>
<th>数据模型</th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td><a href="https://tools.ietf.org/html/rfc7231#section-6.3.1">OK</a></td>
<td>成功</td>
<td>Inline</td>
</tr>
</tbody>
</table>
<h1>数据模型</h1>
<p><h2 id="tocS_R«Boolean»">R«Boolean»</h2></p>
<p><a id="schemar«boolean»"></a>
<a id="schema_R«Boolean»"></a>
<a id="tocSr«boolean»"></a>
<a id="tocsr«boolean»"></a></p>
<pre><code class="language-json">{
&quot;code&quot;: 0,
&quot;data&quot;: true,
&quot;msg&quot;: &quot;ok&quot;,
&quot;path&quot;: &quot;string&quot;,
&quot;extra&quot;: {
&quot;{}&quot;: {}
},
&quot;timestamp&quot;: &quot;System.currentTimeMillis()&quot;,
&quot;errorMsg&quot;: &quot;string&quot;
}
</code></pre>
<h3>属性</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>integer</td>
<td>false</td>
<td>none</td>
<td>调用是否成功标识,0:成功,-1:系统繁忙,此时请开发者稍候再试 详情见[ExceptionCode]<br />响应编码:0/200-请求处理成功</td>
</tr>
<tr>
<td>data</td>
<td>boolean</td>
<td>false</td>
<td>none</td>
<td>调用结果<br />响应数据</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>结果消息,如果调用成功,消息通常为空T<br />提示消息</td>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>请求路径</td>
</tr>
<tr>
<td>extra</td>
<td><a href="#schemamap%c2%abobject%c2%bb">Map«Object»</a></td>
<td>false</td>
<td>none</td>
<td>附加数据<br />附加数据</td>
</tr>
<tr>
<td>timestamp</td>
<td>integer</td>
<td>false</td>
<td>none</td>
<td>响应时间<br />响应时间戳</td>
</tr>
<tr>
<td>errorMsg</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>系统报错时,抛出的原生信息<br />异常消息</td>
</tr>
</tbody>
</table>
<p><h2 id="tocS_DeStaticEngineeringObservation">DeStaticEngineeringObservation</h2></p>
<p><a id="schemadestaticengineeringobservation"></a>
<a id="schema_DeStaticEngineeringObservation"></a>
<a id="tocSdestaticengineeringobservation"></a>
<a id="tocsdestaticengineeringobservation"></a></p>
<pre><code class="language-json">{
&quot;enCode&quot;: &quot;string&quot;,
&quot;areaCode&quot;: &quot;string&quot;,
&quot;observationNum&quot;: &quot;string&quot;,
&quot;normalNum&quot;: &quot;string&quot;,
&quot;gaugingPointType&quot;: &quot;string&quot;,
&quot;gaugingPointName&quot;: &quot;string&quot;,
&quot;gaugingPointFrequency&quot;: &quot;string&quot;,
&quot;gaugingPointUpper&quot;: 0,
&quot;gaugingPointLower&quot;: 0,
&quot;gaugingPointProblem&quot;: &quot;string&quot;,
&quot;yearReportUrl&quot;: &quot;string&quot;,
&quot;resultReportUrl&quot;: &quot;string&quot;
}
</code></pre>
<h3>属性</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>enCode</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>工程编码</td>
</tr>
<tr>
<td>areaCode</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>行政区划编码</td>
</tr>
<tr>
<td>observationNum</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>工程观测设施总数</td>
</tr>
<tr>
<td>normalNum</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>当前正常的观测设施总数</td>
</tr>
<tr>
<td>gaugingPointType</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>测点类别(01变形、02渗流、03压力、04应力、05应变、06温度)</td>
</tr>
<tr>
<td>gaugingPointName</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>测点名称</td>
</tr>
<tr>
<td>gaugingPointFrequency</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>测点观测频次</td>
</tr>
<tr>
<td>gaugingPointUpper</td>
<td>BigDecimal(18,2)</td>
<td>false</td>
<td>none</td>
<td>测点预警值上限(变形、应变单位为mm;压力、应力单位为Mpa;渗流量单位为L/s;温度单位为℃)</td>
</tr>
<tr>
<td>gaugingPointLower</td>
<td>BigDecimal(18,2)</td>
<td>false</td>
<td>none</td>
<td>测点预警值下限(变形、应变单位为mm;压力、应力单位为Mpa;渗流量单位为L/s;温度单位为℃)</td>
</tr>
<tr>
<td>gaugingPointProblem</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>工程观测成果分析报告中的问题及隐患数量</td>
</tr>
<tr>
<td>yearReportUrl</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>年度观测资料整编分析报告(文件)</td>
</tr>
<tr>
<td>resultReportUrl</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>工程观测成果分析报告(文件)</td>
</tr>
</tbody>
</table>