Get Object List

Modified on Mon, 23 Jun at 3:57 PM

Description

This API will return Object List. 


API Endpoint: 

/ws/RepositoryManagement

 

Method: 

POST

 

Header: 

 

Field

Value

SOAPAction

/ws/repositoryManagement.wsdl

 

Request:


XML Element

Type

Value

<wsse:Username>

String

Smarten username

<wsse:Password>

String

Smarten user password

<repfolderId>

String

Smarten folder id


Request Example: 


<soapenv:Envelope xmlns:rep="http://www.elegantjbi.com/ws/RepositoryManagement" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

   <soapenv:Header>

      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

         <wsse:UsernameToken wsu:Id="UsernameToken-91BBA648BD9FD2AB6F169270637401211">

            <wsse:Username>username</wsse:Username>

            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>

         </wsse:UsernameToken>

      </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

      <rep:getObjectListRequest>

         <rep:folderId>folderId</rep:folderId>

         <rep:userName>username</rep:userName>

      </rep:getObjectListRequest>

   </soapenv:Body>

</soapenv:Envelope>

 

Response:  

 

Return a response with SOAP XML as object. 

 

XML Element 

Type

Value

<ns2:statusCode>

String

Return the API status response

<ns2:objectId>

String

Id of the Object

<ns2:objectName>

String

Object name

<ns2:objectType>

String

Object type

<ns2:folderId>

String

Folder Id

<ns2:folderPath>

String

Folder Path 

<ns2:datasetId>

String

Dataset Id

<ns2:datasetName>

String

Dataset Name

 

Response Example: 

 

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

    <SOAP-ENV:Header>

        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" SOAP-ENV:mustUnderstand="1">

            <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1747337693638-1069532304">

                <wsse:Username>user</wsse:Username>

                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">QFRDyYG/0YYkoGQnnEez7j48Lkk=</wsse:Password>

                <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">tjNgaTSqEEu+TinucfISrfcb</wsse:Nonce>

                <wsu:Created>2025-06-02T11:50:05.253Z</wsu:Created>

            </wsse:UsernameToken>

        </wsse:Security>

    </SOAP-ENV:Header>

    <SOAP-ENV:Body>

        <ns2:getObjectListResponse xmlns:ns2="http://www.elegantjbi.com/ws/RepositoryManagement">

            <ns2:objects>

                <ns2:objectId>objectid.als</ns2:objectId>

                <ns2:objectName>objectName</ns2:objectName>

                <ns2:objectType>objectType</ns2:objectType>

                <ns2:folderId>folderId</ns2:folderId>

                <ns2:folderPath>folderPath</ns2:folderPath>

                <ns2:datasetId>datasetId</ns2:datasetId>

            <ns2:datasetName>datasetName</ns2:datasetName>

            </ns2:objects>

            <ns2:status>

                <ns2:statusCode>Success</ns2:statusCode>

            </ns2:status>

        </ns2:getObjectListResponse>

    </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

Postman Example: 

 

You can import the example below into Postman. 

 

curl --location 'https://<SMARTENURL>/smarten/ws/repositoryManagement.wsdl' \

--header 'Content-Type: text/xml' \

--data '<soapenv:Envelope xmlns:rep="http://www.elegantjbi.com/ws/RepositoryManagement" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

   <soapenv:Header>

      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

         <wsse:UsernameToken wsu:Id="UsernameToken-91BBA648BD9FD2AB6F169270637401211">

            <wsse:Username>username</wsse:Username>

            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>

         </wsse:UsernameToken>

      </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

      <rep:getObjectListRequest>

         <rep:folderId>folderId</rep:folderId>

         <rep:userName>username</rep:userName>

      </rep:getObjectListRequest>

   </soapenv:Body>

</soapenv:Envelope>'


Tags: SOAP-based web services, SOAP API, cURL, Repository Management, get Object List,

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article