Forum Stats

  • 3,851,946 Users
  • 2,264,053 Discussions
  • 7,904,914 Comments

Discussions

Endeca Server data ingest API to specify collections

2639546
2639546 Member Posts: 2
edited Sep 28, 2018 3:59AM in Endeca Information Discovery

Hi,

I am using endeca server data ingest API to add records to a data domain.

https://docs.oracle.com/cd/E40521_01/server.761/es_data_loading/toc.htm#Overview%20of%20the%20Data%20Ingest%20Web%20Service

I have 3 collections (data sets) and how do I specify the collection in the data ingest API. By default it goes to "base". But I want it to go to a different collection.

Any help is appreciated.

Thanks,

Lini

Answers

  • Vijay - Oracle-Oracle
    Vijay - Oracle-Oracle Member Posts: 18
    edited Sep 28, 2018 3:59AM

    You may want to try with following attributes..

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.endeca.com/MDEX/ingest/3/0" xmlns:ns1="http://www.endeca.com/MDEX/XQuery/2009/09">  <soapenv:Header/>  <soapenv:Body>      <ns:ingestChanges>        <!--Optional:-->        <ns:OuterTransactionId>?</ns:OuterTransactionId>        <!--Optional:-->        <ns:Language>en</ns:Language>        <!--Zero or more repetitions:-->        <ns:addRecords>            <ns:record>              <!--Zero or more repetitions:-->          <ns1:attribute name="mdex-collection_UniquePropertyKey" type="mdex:string">myuniquekey</attribute><ns1:attribute name="system-collection_Description" type="mdex:string">myCollectionDescription.</attribute><ns1:attribute name="mdex-collection_Key" type="mdex:string">myCollectionName</attribute><ns1:attribute name="system-collection_Prop_system-eid-ds_createDate" type="mdex:string">2018-07-27T07:26:59.904Z</attribute><ns1:attribute name="system-collection_DisplayName" type="mdex:string">myCollectionName</attribute>            </ns:record>        </ns:addRecords>      </ns:ingestChanges>  </soapenv:Body></soapenv:Envelope>

    - Vijay

This discussion has been closed.