Advertisement
Guest User

Untitled

a guest
Dec 4th, 2017
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.30 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: 3086
  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="12345678qQ"/>
  17.             </api:security>
  18.          </api:common>
  19.          <api:requestBulkUpsert>
  20.             <api:upsertRecordRequests entityName="R_MASTER" lastUpdateDate="2016-07-21T00:00:00.000" skipCleanse="false" bypassExtensionPoints="false">
  21.                <api:originRecord>
  22.                   <data:simpleAttribute name="R_SIMP_ATTR">
  23.                      <data:intValue>876601550</data:intValue>
  24.                   </data:simpleAttribute>
  25.                   <data:originKey externalId="876601668" sourceSystem="data_steward" entityName="R_MASTER"/>
  26.                </api:originRecord>
  27.             </api:upsertRecordRequests>
  28.             <api:upsertRecordRequests entityName="R_MASTER" lastUpdateDate="2016-07-21T00:00:00.000" skipCleanse="false" bypassExtensionPoints="false">
  29.                <api:originRecord>
  30.                   <data:simpleAttribute name="R_SIMP_ATTR">
  31.                      <data:intValue>876601938</data:intValue>
  32.                   </data:simpleAttribute>
  33.                   <data:originKey externalId="876601673" sourceSystem="data_steward" entityName="R_MASTER"/>
  34.                </api:originRecord>
  35.             </api:upsertRecordRequests>
  36.             <!--LOOKUP-->
  37.             <api:upsertRecordRequests entityName="OKOPF" lastUpdateDate="2016-07-21T00:00:00.000" skipCleanse="true" bypassExtensionPoints="false">
  38.                <api:originRecord>
  39.                   <data:codeAttribute name="KOD">
  40.                      <data:intValue>876601742</data:intValue>
  41.                   </data:codeAttribute>
  42.                   <data:simpleAttribute name="NAME">
  43.                      <data:stringValue>876601_________241</data:stringValue>
  44.                   </data:simpleAttribute>
  45.                   <data:originKey externalId="876601720" sourceSystem="data_steward" entityName="OKOPF"/>
  46.                </api:originRecord>
  47.             </api:upsertRecordRequests>
  48.             <api:upsertRecordRequests entityName="OKOPF" lastUpdateDate="2016-07-21T00:00:00.000" skipCleanse="true" bypassExtensionPoints="false">
  49.                <api:originRecord>
  50.                   <data:codeAttribute name="KOD">
  51.                      <data:intValue>876601414</data:intValue>
  52.                   </data:codeAttribute>
  53.                   <data:simpleAttribute name="NAME">
  54.                      <data:stringValue>876601_________493</data:stringValue>
  55.                   </data:simpleAttribute>
  56.                   <data:originKey externalId="87660196" sourceSystem="data_steward" entityName="OKOPF"/>
  57.                </api:originRecord>
  58.             </api:upsertRecordRequests>
  59.          </api:requestBulkUpsert>
  60.       </api:apiRequestBody>
  61.    </soapenv:Body>
  62. </soapenv:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement