Advertisement
Guest User

Untitled

a guest
Jun 8th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.75 KB | None | 0 0
  1. POST http://localhost:8080/unidata-backend/api/public/v4/UnidataService HTTP/1.1
  2. Accept-Encoding: gzip,deflate
  3. Content-Type: text/xml;charset=UTF-8
  4. SOAPAction: "apiCall"
  5. Content-Length: 1464
  6. Host: localhost:8080
  7. Connection: Keep-Alive
  8. User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
  9.  
  10. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.mdm.unidata.com/v4/" xmlns:data="http://data.mdm.unidata.com/v4/">
  11.    <soapenv:Header/>
  12.    <soapenv:Body>
  13.       <api:apiRequestBody>
  14.          <api:common storageId="1" operationId="1">
  15.             <api:security>
  16.                <api:credentials username="admin" password="1598415984qQ"/>
  17.             </api:security>
  18.          </api:common>
  19.          <api:requestUpsert entityName="R_MU" lastUpdateDate="2018-06-08T12:47:29.526" skipCleanse="false" bypassExtensionPoints="false">
  20.             <api:originRecord>
  21.                <data:simpleAttribute name="string_attr">   <data:stringValue>Тест единиц измерения 599635</data:stringValue>   </data:simpleAttribute>     <data:simpleAttribute name="num1_attr">   <data:measuredValue measurementValueId="2" measurementUnitId="55" value="97" /> </data:simpleAttribute>  <data:simpleAttribute name="num2_attr">   <data:measuredValue measurementValueId="1" measurementUnitId="39" value="98" /> </data:simpleAttribute>  <data:simpleAttribute name="num3_attr">   <data:measuredValue measurementValueId="4" measurementUnitId="214" value="99" /> </data:simpleAttribute>
  22.                <data:originKey externalId="599635" sourceSystem="data_steward" entityName="R_MU"/>
  23.             </api:originRecord>
  24.          </api:requestUpsert>
  25.       </api:apiRequestBody>
  26.    </soapenv:Body>
  27. </soapenv:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement