Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Rosetta

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Rosetta
    3. Knowledge Articles
    4. Add a new FL to a REP with descriptive metadata via API

    Add a new FL to a REP with descriptive metadata via API

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    • Product: Rosetta
    • Product Version: 7

     

    Question

    How to add a new FL to a REP with descriptive metadata via API?

     

    Answer

    Use UpdateRepresentaion API ,

    and then use getRipStatus API to verify that update REP completed.

    (see https://developers.exlibrisgroup.com...iewebservices/)

     

    Example

    UpdateRepresentaion request

    clipboard_ed66e4f024671c08b2ac36b8ab47b0d9c.png

    <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">

        <Body>

            <updateRepresentation xmlns="http://dps.exlibris.com/">

                <iePid xmlns="">IE114892</iePid>

                <repPid xmlns="">REP634583</repPid>

                <submissionReason xmlns="">kahabali</submissionReason>

                <!-- Optional -->

                <representationContent xmlns="">

                    <fileOriginalPath>/somewhere</fileOriginalPath>

                    <!-- Optional -->

                    <fixity>

                        <algorithmType>MD5</algorithmType>

                        <value>69911d1f79f50eaabc621dfa588ed8b0</value>

                    </fixity>

                    <label>Colosseum</label>

                    <!-- Optional -->

                    <metadata>

                        <content><![CDATA[<dc:record xmlns:dc="http://purl.org/dc/elements/1.1/">

                <dc:title>כותרת מסמך</dc:title>

                </dc:record>]]>

     </content>

                        <subType>dc</subType>

                        <type>descriptive</type>

                    </metadata>

                    <newFile>/exlibris/dps/d4_1/profile/operational_shared/colosseum.jpg</newFile>

                    <operation>ADD</operation>

                </representationContent>

                <commit xmlns="">true</commit>

            </updateRepresentation>

        </Body>

    </Envelope>

     

    UpdateRepresentaion response

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

        <soap:Body>

            <ns2:updateRepresentationResponse xmlns:ns2="http://dps.exlibris.com/">

                <return>2074</return>

            </ns2:updateRepresentationResponse>

        </soap:Body>

    </soap:Envelope>

     

    then use getRipStatus API to verify that update REP completed:

     

    request:

    <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">

        <Body>

            <getRipStatus xmlns="http://dps.exlibris.com/">

                <ripID xmlns="">2074</ripID>

            </getRipStatus>

        </Body>

    </Envelope>

     

    response:

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

        <soap:Body>

            <ns2:getRipStatusResponse xmlns:ns2="http://dps.exlibris.com/">

                <getRipStatus>Finished</getRipStatus>

            </ns2:getRipStatusResponse>

        </soap:Body>

    </soap:Envelope>

     

    Known issue

    Encoding of Hebrew/special characters in descriptive (dc) tags is stored incorrectly:

    clipboard_e9efa31ead04ed696e3988d5300dfa23d.png

     

     


    • Article last edited: 05-Jul-2021
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Access Rights Policy based on IP Range
      • Add a New Metadata Field to an IE in Rosetta's Permanent Repository
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Knowledge Article
      Language
      English
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved